Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > multi/all user installation.
 

multi/all user installation.

Hi
I have an install that works except for the multi user. When a second user tries to run the program they get a "an installation package for XXX was not found". I do not want the user to have to go to the web for the install. Is there a way to put the install on the machine and have it run when the new user clicks on the program shortcut?
BarberColman  Wednesday, September 09, 2009 1:23 PM
There's nothing automatic, but there is a download tool in the Windows SDK for this. There is a program called msistuff.exe that will add download info to a setup.exe (I don't think this is the same as the Visual Studio one). This "setup.exe" downloads from a web url and copies the MSI file to a location where it can be saved. The issue this was designed to solve is that if you download and install an MSI file it installs from Temp internet files, and that gets cleaned up, which may be what you're seeing.

http://msdn.microsoft.com/en-us/library/aa367817(VS.85).aspx

http://msdn.microsoft.com/en-us/library/aa368033(VS.85).aspx


Phil Wilson
PhilWilson  Wednesday, September 09, 2009 6:46 PM

Setup&Deployment package, or ClickOnce?

RobinDotNet


Click here to visit my ClickOnce blog!
RobinDotNet  Wednesday, September 09, 2009 4:17 PM
I am using the Setup and Deployment project from Vs 2008.
BarberColman  Wednesday, September 09, 2009 4:49 PM
There's nothing automatic, but there is a download tool in the Windows SDK for this. There is a program called msistuff.exe that will add download info to a setup.exe (I don't think this is the same as the Visual Studio one). This "setup.exe" downloads from a web url and copies the MSI file to a location where it can be saved. The issue this was designed to solve is that if you download and install an MSI file it installs from Temp internet files, and that gets cleaned up, which may be what you're seeing.

http://msdn.microsoft.com/en-us/library/aa367817(VS.85).aspx

http://msdn.microsoft.com/en-us/library/aa368033(VS.85).aspx


Phil Wilson
PhilWilson  Wednesday, September 09, 2009 6:46 PM

You can use google to search for other answers

Custom Search

More Threads

• Change the product name during installation
• Problem in silent installation
• ClickOnce no longer recognize the certificate file used to sign the assemblies
• Install files to user's local application data with Visual Studio Installer
• ClickOnce App cannot write to registry in Vista?
• LEXPA.COM - Inno Setup integration for Visual Studio
• License Agreement localization
• Online only application causes old version to run on user's machine
• How can I add changes to a already deployed project
• Help: Hosting .net form controls in IE