Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > InstallAllUsers question
 

InstallAllUsers question

So, I've got a Deployment Project. I have the InstallAllUsers property set to True, and I have the File System Editor set to install shortcuts on everybody's desktop. The installer installs properly for the current Windows user and the shortcut(s) launch the software as expected.However, when subsequent users launch the program from their shortcut, the software immediately goes about installing itself again (assuming installation media is still present). Is there any way to prevent this behavior? That is, I would like the shortcuts on all users' desktops, but I would like to avoid the software thinking it needs to install itself again.To the best of my knowledge, there are no user-specific settings the softwareuses (ie, no HKCU) It seems like this should be relatively easy, but the answer has remained elusive.

chuck.g  Tuesday, May 06, 2008 4:07 PM
PhilWilson  Monday, May 12, 2008 8:37 PM

*bump*

chuck.g  Friday, May 09, 2008 2:34 PM
PhilWilson  Monday, May 12, 2008 8:37 PM

Thanks for the link - that was indeed helpful.

Just an FYI to anyone searching for solutions to similar problems, I did have to add the ALLUSERS property to the Properties table in my MSI (set equal to 1), in addition to adding the DISABLEADVTSHORTCUTS property.

chuck.g  Wednesday, May 21, 2008 9:27 PM

You can use google to search for other answers

Custom Search

More Threads

• New Publish causes full download
• SmartClient deployment with j# project fails
• build error
• How to only download changed .netmodule files?
• Few Questions on ClickOnce+Cache Files+Force Rollback+Security
• How do I start Windows service from VS2005 Setup/Install project
• Need Help Creating Custom Shortcuts
• Issues with finetuning installation
• Custom Installation Screen
• Changing the .config file name in WinForm application