Hi Jochen,
I hope I can answer your query.
I didnt get any training in Installshield so what i have been able to grasp has been mainly through this forum too!
I put this question in as I wanted, like you to uninstall my product before I installeda new one. However, I found since I posted this question that Installshield will do this for you automatically and i have since been using that method.
However, here is how I did the CA that uninstalled (with a lot of help from Installsite!)
In the property manager
MSIEXEC_LOCATION (holding the location of msiexec.exe
SecureCustomProperties - CHECKPRODUCTCODE
In the Upgrade table, I had
Upgrade Code: myupgradecode
VersionMax: 12.00.0000
Attributes:2
ActionProperty:CHECKPRODUCTCODE
CA: Type 50, with a source MSIEXEC_LOCATION, and a target /x [CHECKPRODUCTCODE]
I placed the CA in the sequence after AppSearch with a condition Not Installed.
I also included a dialog before it asking the user if they are sure they want to uninstall with the same condition.
However, I do not use this CA any more, I change the package code, product code and product version of my installation, and Installshield performs this for me.
I am sorry I do not know if it is different in the German edition as I am in Ireland!
I hope that helps you
Berni
(Edited by bernadettefearon at 2:59 pm on Nov. 21, 2001)