PDA

View Full Version : Installing small update as reinstall


alexzfirm
07-12-2007, 07:26 PM
Here is MSDN article that describes "applying small updates by reinstalling"

http://msdn2.microsoft.com/en-us/library/aa367575.aspx

How do I make Setup Factory project that does that? Do I need to create some kind of a custom bootstrapper? I can see that in your library there is a function g_GetInstalledRunCommandLine() that uses the required command line parameters ("REINSTALL=ALL REINSTALLMODE=vomus"). But I do not understand how can I use it from the Setup Factory main project...

Do you have any sample projects/articles/etc related to "applying small updates by reinstalling"? Help please

moved from this thread
http://www.indigorose.com/forums/showthread.php?t=20602

Adam
07-13-2007, 10:46 AM
I was just looking in the bootstrapper code and found this:

strCommandLine = "-i \""..strExtractedPath.."\" REINSTALL=ALL REINSTALLMODE=vomus";

So if you use the default bootstrapper it should do this for you. Have you tried the bootstrapper?

Adam Kapilik

alexzfirm
07-16-2007, 04:03 PM
So if you use the default bootstrapper it should do this for you. Have you tried the bootstrapper?

Wahoo! Default bootstrapper worked for a new project. There was something screwy on my existing project - bootstrapper always fails with "file not found" error, but on the new and fresh project it worked! Thank you.