This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to upgrade MSI with Installscript project?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 18, 2009
06:46 PM
How to upgrade MSI with Installscript project?
This must be a common question, but I've been hunting for 30mins and I can't find the answer. I have a previous MSI-based release. I've now created a new Installscript installer that needs to upgrade the previous MSI. How is it done?
Also, I've noticed that after installing an assembly which has a .NET installer class I have.installlog files left over in my installation. Worse, after uninstalling, the .installlog files are still there so the application is not cleanly removed. In the documentation I read that InstallShield runs installutil with /logfile= so that .installlog files are not generated. I searched the tables and found /logfile= . Then how are these files being created? How can I remove them?
Thanks
Also, I've noticed that after installing an assembly which has a .NET installer class I have
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 19, 2009
04:39 PM
Responding to my own question here...
This KB article says:
Can anyone suggest a good place in the script to call LaunchAppAndWait? Is there a best place to do something like this and can you add it to the KB? Is OnInstalling the right spot? OnBegin?
This KB article says:
IMPORTANT: When converting a project from InstallScript MSI to InstallScript, it is not possible to create a major or minor upgrade between these projects. The reason for this behavior is that the InstallScript MSI project type is based on MSI technology, while the InstallScript project type is based on InstallScript technology. If you wish to perform an upgrade, you need to manually uninstall the previous setup using a function, such as LaunchAppAndWait, from the script of the InstallScript project.
Can anyone suggest a good place in the script to call LaunchAppAndWait? Is there a best place to do something like this and can you add it to the KB? Is OnInstalling the right spot? OnBegin?
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)