Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to automatic remove the old product


4 replies to this topic

graychen

graychen
  • Members
  • 3 posts

Posted 31 May 2005 - 10:10

Hello, Everyone~

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".

mandy

mandy
  • Members
  • 121 posts

Posted 31 May 2005 - 10:27

What you want is a major upgrade.

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.



graychen

graychen
  • Members
  • 3 posts

Posted 31 May 2005 - 17:21

Dear Mandy,

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 ~~~~

graychen

graychen
  • Members
  • 3 posts

Posted 05 June 2005 - 08:25

Dear Mandy,

The problem was solved already by myself.

Thank you for helping me.

biggrin.gif tongue.gif




mandy

mandy
  • Members
  • 121 posts

Posted 05 June 2005 - 09:12

Sorry I didn't reply to your last post... For some reason, I didn't see it before now?

Anyway, I'm glad you solved your problem.