4
Answers

Publish vs Deploy

Dillon Goeda

Dillon Goeda

12y
3.5k
1
Hey Guys

I want to know what is the difference between publishing your app or creating a setup file??
In the setup file I can add EULA, which is cool, install it in C:/Program Files, or wherever you want to intsall it, but then I can't write to the text files, e.g. I use a text file to store customer information, but gets an error when want to do so, but if publish my app, it works perfectly.
Answers (4)
1
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 12y
The terms publish and deploy mean the same thing. So you might need to be more clear about what you mean. In other words, what do you mean by "setup file" and "publish my app"?

Also, what does "gets an error" mean? What error? My guess is that it is an access violation. If the file is put into the "Program Files" directory then that is the problem.

There are very many articles about how to do this.
0
Dillon Goeda

Dillon Goeda

NA 22 6.8k 12y
Thank you very much, I appreciate it
0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 12y
So yes, the access denied is due to installing the text file in the "Program Files" directory. You just need to read articles about creating a setup file that installs the text file in the user's Documents folder or someplace appropriate. I am sorry that I do not know the details and it would be worthwhile reading relevant articles.
0
Dillon Goeda

Dillon Goeda

NA 22 6.8k 12y
By publish I mean, Double click on properties in my solution then go to publish. By creating a setup file I mean go to file»New»Project»Setup Wizard. And the error get is "access denied" when it is installed in program files