PDA

View Full Version : FindRelatedProducts during Uninstall ? (get ProductCode)



guest7
06-24-2003, 05:27 AM
how can I execute FindRelatedProducts during uninstall ?
Though conditition = 1 it isn't executed during uninstall (return value 0 is traced).

Aim is to uninstall a product before my uninstall is executed.
Used in IS:
- "msiexec /x <productCode>" during
- FindRelatedProducts / UpgradeTable to find ProductCode.



Log during uninistall:

Aktion gestartet um 16:10:13: ISSetAllUsers.
1: InstallShield - ISSetAllUsers (Begin)
1: Opening Database
1: {1DA724D9-CBAC-4FD8-9E33-B025F725F6C4} 1.00.0001 2
1: Produkt(BSub) {2BB3F31A-5DED-46EA-9B8B-DAEDDC0F812B} 1031 1.00.0000 ***Related***
1: ALLUSERS=0
1: Closing Database
1: InstallShield - ISSetAllUsers (End)
Aktion beendet um 16:10:13: ISSetAllUsers. Rückgabewert 1.
...
Aktion gestartet um 16:10:14: FindRelatedProducts.
Aktion beendet um 16:10:14: FindRelatedProducts. Rückgabewert 0.

UpgradeTable - the product to uninstall:

UpgradeCode {1DA724D9-CBAC-4FD8-9E33-B025F725F6C4}
VersionMin
VersionMax 1.00.0001
Language
Attributes 2
Remove
ActionProperty OLD_TO_UNINISTALL

InstallUISequence-Table (confirmed in *.ism and *.msi)

Action; Condition
ISSetAllUsers; 1
FindRelatedProducts; 1

Used software / selections:
- InstallShield Developer 7.01 German
- Basic MSI Project

Appreciating any tips,

guest7