sidwelle
asked on
Deploying apps developed in VS2010
Just tried to deploy my first app using the publish wizard in vs2010, but when it installed it created some ridiculously long path:
C:\Documents and Settings\%user%\Local Settings\Apps\2.0\TRQ7HJHP .ZJG\149TC OXR.KZ3\hl 7m..tion_2 a42f8d70bc c4e75_0001 .0000_0d82 12f83cbae7 fa\
What happened to just creating a folder under \Program Files\ ?
What went wrong ?
Any help is appreciated.
C:\Documents and Settings\%user%\Local Settings\Apps\2.0\TRQ7HJHP
What happened to just creating a folder under \Program Files\ ?
What went wrong ?
Any help is appreciated.
In short, it was installed per-user rather than per-machine. That's how non-privileged user can install it just for himself.
ASKER
I was never prompted for a option, it just blew through some stuff and started the app.
If the user who installs is non-admin, it won't show the options. If you want to know more details, produce detailed log and look inside, or post here. It will tell whether the installer has found the user privileged, and what it decided.
...another possibility is that per-user is specified in the properties of the installation project. Property "Install for all users".
ASKER
The 2nd is a better possibility, because I do have admin privileges on this PC.
I will check tonight.
I will check tonight.
> because I do have admin privileges on this PC.
since tightening security in Vista/7, the process of decision-making who is permitted to do what has become very complex. More than what could be reasonably predicted.
since tightening security in Vista/7, the process of decision-making who is permitted to do what has become very complex. More than what could be reasonably predicted.
ASKER
Where is the option set in VS, what Tab ?
Thanks
Thanks
ASKER
That all makes sense, Just Can't find a menu/form like that in 2010, any ideas where its set ?
You need to add Setup and Deployment Project to your solution.
http://msdn.microsoft.com/en-us/library/vstudio/19x10e5c%28v=vs.100%29.aspx
http://msdn.microsoft.com/en-us/library/vstudio/19x10e5c%28v=vs.100%29.aspx
ASKER
Thanks, give me a day to get it built and I will post back.
ASKER
Followed the directions, created a setup project, compiled it and copied setup file to target machine, ran it, completed, finished.
Nothing was installed, no evidence of the target folder it just stated that it was going to install in, searched the 'programs files' folder.
Removed and repeated the install 3 times and went to another target pc, still nothing.
What am I doing wrong ?
Thanks
Nothing was installed, no evidence of the target folder it just stated that it was going to install in, searched the 'programs files' folder.
Removed and repeated the install 3 times and went to another target pc, still nothing.
What am I doing wrong ?
Thanks
ASKER
No program folder or exe, I will look for the log this morning.
ASKER
No program folder or evidence that it tried to install anything.
and no log?
ASKER
Once again: please produce detailed log file of the installation, as described in http://support.microsoft.com/kb/223300 , and post here. It will tell what happened.
ASKER
The value voicewarmupx is set, but I don't see a log file in the Temp folder.
I went back into the setup project and made sure that both projects were checked under build and I added a folder ("MyApp") under the "Application Folder" and now it created that one folder and installed my ini file in that folder.
C:\Program Files\Default Company Name\Setup1\MyApp\
I expected the setup project to bring a default template and include all my apps files and try to install a icon in the programs folder ?
Do I have to do all this manually ?
I went back into the setup project and made sure that both projects were checked under build and I added a folder ("MyApp") under the "Application Folder" and now it created that one folder and installed my ini file in that folder.
C:\Program Files\Default Company Name\Setup1\MyApp\
I expected the setup project to bring a default template and include all my apps files and try to install a icon in the programs folder ?
Do I have to do all this manually ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I think your pics helped the most. It's still pretty cryptic, but I have a working install. I just added my exe and config file to the the Setup project, not sure if thats the correct method.
"voicewarmupx is set", the install was building a log file in the users temp folder, not the windows temp folder. Should have looked there first.
Thanks
"voicewarmupx is set", the install was building a log file in the users temp folder, not the windows temp folder. Should have looked there first.
Thanks
> I just added my exe and config file to the the Setup project, not sure if thats the correct method.
Usually the best is to mark the files as I posted in ID: 39529668 above. That's what makes them "primary output". Details in the article "How to: Manage Local Data Files in Your Project"
Usually the best is to mark the files as I posted in ID: 39529668 above. That's what makes them "primary output". Details in the article "How to: Manage Local Data Files in Your Project"