I have the option set to automatically change the version upon each compile. What this seems to do is force an uninstall then reinstall. These extra steps really seem to confuse my customers.
So I turned the option off to change the version automatically, and then running the install again wouldn't overwrite previous version install's files. That's not what I want either.
Is there any way to have a re-run of the install just proceed without the uninstall and say something like 'upgraded previous to version x.x'?
Does upgrade require an Uninstall?
The uninstall is seamless - it does not require manual intervention on part of the user. All they have to do is click next
Note that if you want you can edit your setup script so the uninstall happens right before the new version install and does not require an extra wizard dialog step. Nothing is hard coded in InstallAware

Note that if you want you can edit your setup script so the uninstall happens right before the new version install and does not require an extra wizard dialog step. Nothing is hard coded in InstallAware

Yes, I'm afrait it would remove them.
Perhaps you can try using patches instead, for minor upgrades?
Or, you can always use the CopyFile (or MoveFile) WinAPI to backup/rename the files that have to be saved...and put them back into place after the new version has finished installing. The Call DLL Function InstallAware plug-in lets you call any Win32 DLL, including these functions.
Perhaps you can try using patches instead, for minor upgrades?
Or, you can always use the CopyFile (or MoveFile) WinAPI to backup/rename the files that have to be saved...and put them back into place after the new version has finished installing. The Call DLL Function InstallAware plug-in lets you call any Win32 DLL, including these functions.
If you would like to approach Wise's effect, I believe you can achieve this by changing the product code of your project.
The way Windows Installer works is: if two MSI packages have the same product code, they are assumed to be the same product. This can wreak havoc when you install a different installer looking to Windows Installer as the same one already installed on the system.
The way InstallAware solves this is by changing the revision code each build, and recognizing that an older version of the product has been installed, and removing that. This would be the cleanest solution to the problem.
However if you want to replicate the Wise approach, just change the product code itself (not just the revision code, but also the product code). Then Windows Installer will think that you are installing a completely new product, and let the install do its work.
When doing this, remember to check for the existence of files you plan to preserve with an IF...END clause, so you install the files in the default package on top of the modified versions only if they do not already exist.
The way Windows Installer works is: if two MSI packages have the same product code, they are assumed to be the same product. This can wreak havoc when you install a different installer looking to Windows Installer as the same one already installed on the system.
The way InstallAware solves this is by changing the revision code each build, and recognizing that an older version of the product has been installed, and removing that. This would be the cleanest solution to the problem.
However if you want to replicate the Wise approach, just change the product code itself (not just the revision code, but also the product code). Then Windows Installer will think that you are installing a completely new product, and let the install do its work.
When doing this, remember to check for the existence of files you plan to preserve with an IF...END clause, so you install the files in the default package on top of the modified versions only if they do not already exist.
Who is online
Users browsing this forum: No registered users and 96 guests