Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Msiexec and silent install
Message
From
10/05/2004 15:21:51
 
 
To
10/05/2004 12:47:38
General information
Forum:
Visual FoxPro
Category:
InstallShield
Miscellaneous
Thread ID:
00902490
Message ID:
00902573
Views:
30
> ...(it was installed with a Setup.exe)

Do you mean the previous version of the app was installed with a non-MSI (non-Windows Installer) setup program? If so, an MSI setup program will not be able to uninstall it because the original setup did not register the app with Windows Installer on the user's computer. However, an MSI setup using /i as you mention should overwrite existing files according to Windows Installer's file versioning rules (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/file_versioning_rules.asp), so for example if the new EXE has a higher version number than the old EXE the new one would be installed. That's not the same as an uninstall of the previous version, of course, but maybe it's enough to get the result you want in this case.


-----

>Hi all!
>
>I need some help here with silent installing an MSI file. I already have a program installed in a computer (it was installed with a Setup.exe), and I have to do a silent install of a new version of the program (now as an MSI file). I have to replace the old version with the new version. I'm trying this:
>
>
>msiexec /fa "c:\MyProg.MSI" /q USERNAME=MyName COMPANYNAME=MyCompany INSTALLDIR="c:\Program Files\MyProg"
>
>
>however, that doesn't seem to be doing anything... the program is not updated, I don't see any error message... nothing happens...
>
>If I change the switch "/fa" (which is meant to "replace all files") to "i" (meant to "install"), it will install the app, but without removing the old one...
>
>Any ideas (because I ran out of them)? :)
>
>TIA
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform