Hi,
In the "Upgrades" page i am seeing only
Automatically upgrade older product version.
Allow side by side installs of different product versions
Customize Advance Installer upgrade rules
i am not seeing "MSI installations that will be uninstalled by the new MSI "
In the "Upgrades" section you can specify the MSI installation that will be uninstalled by your MSI by pressing the "New..." button.
under the "InstallFinalize" standard action if i select the from "New attached custom action" in that "msi" files are not showing
i have select show all files and then i selcted the msi file.
but after selecting "Asynchronous exection" is disabled.
Here are the steps for adding the MSI as a custom action:
- in the "Files and Folders" page you add the MSI in the "Windows -> Temporary" folder
- in the "Organization" page you make sure that the MSI is the only resource in it's component (you can create a new component that contains only the MSI)
- for the component of the MSI you check the "Do not register with Windows Installer" option
- in the "Custom Actions" page you create a "Launch File or Open URL" under "Uninstall" or "InstallFinalize"
- you make sure that the custom action looks like this:
Code: Select all
Command Line: "[TempFolder]package.msi" (package.msi is the msi that uninstalls the other packages)
"Asynchronous execution, do not wait for return"
Execution Options: "Deferred"
Execution Condition: REMOVE="ALL"
Note that the MSI that uninstalls the other MSI packages will remain in the "Documents and Settings\[current_user]\Local Settings\Temp" folder.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging