Hi;
Thanks for all the help in the past.
I have 2 questions:
1. when the variable NEEDSUPGRADE equals true I call a script on the line before Install/Remove MSI... that script has two commands, first it has a Read Registry HKLM\\SOFTWAREJ\\MY CORP\\MY APP\\Setting into SettingBackup
then it has a Edit INI File c:\\windows\\temp.ini, [MY APP] Setting=$SettingBackup$
then when I do the install when NEEDSUPGRADE equals true I read the setting from the temp.ini and add it to the registry. however it seems that the ini file is only getting written after the registry settings are set and therefore the settings in the reg after the install is done do not match the backed up settings. How do I make sure that the ini is written before the install of the new version begins?
2. what command can be used from the command line to do a silent uninstall?
many thanks in advance.
Shom
How do I control the sequence of events?
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Hi Shom!
The answers to your questions are in the help file, with plenty of details:
1) "Setup Commands Preceding Apply Uninstall", section "The Install - Uninstall Cycle"
2) "Uninstalling from the Command Line", "Setup Command Line Parameters"
The answers to your questions are in the help file, with plenty of details:
1) "Setup Commands Preceding Apply Uninstall", section "The Install - Uninstall Cycle"
2) "Uninstalling from the Command Line", "Setup Command Line Parameters"
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 159 guests