How to automatic remove the old product
Posted 31 May 2005 - 10:10
I got a problem when I made my new product's installation setup package.
This problem is that how to remove the old product during the installation
progress of this new product ?
Thanks very much~~
PS. My tool is InstallShield Developer 8 and the InstallShield project type is "InstallScript MSI".
Posted 31 May 2005 - 10:27
Hopefully your original package will have an "UpgradeCode"?
Make sure you change the "ProductCode" of the new package, and also populate the "Upgrade" table (using the UpgradeCode).
You may also wish to consider moving the "RemoveExistingProducts" action to the top of the script (between "InstallValidate" and "InstallInitialise") so that the old product is uninstalled first? This will depend on how your package has been designed.
Posted 31 May 2005 - 17:21
Thanks for your help, but I got a new problem again.
I changed the "ProductCode" of the new package and something happened. There was a problem occurred when the setup program tried to uninstall the old product.
The problem is that there was a network error occurred when the setup program tried to read data from files. This error message also displayed a file path, this file path is shown on below.
C:\Documents and Settings\Gray\Local Settings\Temp\_isE9\One Click Service.msi
How should I solve this problem ~~ ?
Thank you very very very much ~~~~
Posted 05 June 2005 - 08:25
The problem was solved already by myself.
Thank you for helping me.
Posted 05 June 2005 - 09:12
Anyway, I'm glad you solved your problem.