Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Help with "small update"


2 replies to this topic

aglenwright

aglenwright
  • Members
  • 53 posts

Posted 21 March 2002 - 05:35

I am trying to do a "small update" as specified by Microsoft in the MSI help (and at http://msdn.microsof...rary....c.asp).  As that page suggests, I am running with the REINSTALL=ALL REINSTALLMODE=vomus switch, so my line of code (in Visual Basic) looks like this:

lngReturn = ShellExecute(0, "", "c:\temp\setup.exe, "/V" & chr$(34) & "REINSTALL=ALL REINSTALLMODE=vomus" & chr$(34), "", 0)

This should be the equivalent of the command-line statement:

setup /V"REINSTALL=ALL REINSTALLMODE=vomus"

I am changing the package code (but not the product code) between builds.

When I run the setup with these options, rather than replacing the cached msi file and then updating all files, the Installshield wizards starts with "Resuming the installshield wizard...".  The wizard runs through, but does not replace the files (leaves the old ones).

What am I doing wrong?  (My test system is a Windows 2000 server)
Anthony Glenwright
Inventua

aglenwright

aglenwright
  • Members
  • 53 posts

Posted 21 March 2002 - 05:38

PS:  I have also tested just doing:

setup /V"REINSTALL=ALL REINSTALLMODE=vomus"

from the command line (same result).
Anthony Glenwright
Inventua

aglenwright

aglenwright
  • Members
  • 53 posts

Posted 21 March 2002 - 07:46

Oops, my bad... I forgot to update the package codes in the merge modules that make up half the installation... it is working now.
Anthony Glenwright
Inventua