Hello,
I want to update my application which stores ist Installation Information in the registry in Version-specifique entries.
So Version 15 has an entry "BUILDUP V15", Version 16 has an entry "BUILDUP V16" and so on.
Now I want to retrive the latest entry and to overwrite the existing app.
In my installer script, I do a registry search and set suitable properties like BUILDUP_15, BUILDUP_16 etc. if the entries exist.
Then I call a custom action - dependant which property is set.
When I look at the log file, I can see that the properties are correctly set. But the wrong action is executed.
MSI (c) (A0:9C) [11:14:18:758]: Doing action: AppSearch
Aktion 11:14:18: AppSearch. Installierte Anwendungsprogramme werden gesucht
Aktion gestartet um 11:14:18: AppSearch.
AppSearch: Eigenschaft: BUILDUP_18, Signatur: AppSearchSign_4
MSI (c) (A0:9C) [11:14:18:758]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (A0:9C) [11:14:18:758]: Note: 1: 1402 2: HKEY_CURRENT_USER32\Software\BauerSoftware\BUILDUP V18\System 3: 2
AppSearch: Eigenschaft: BUILDUP, Signatur: AppSearchSign_2
MSI (c) (A0:9C) [11:14:18:758]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (A0:9C) [11:14:18:758]: Note: 1: 1402 2: HKEY_CURRENT_USER32\Software\BauerSoftware\BUILDUP\System 3: 2
AppSearch: Eigenschaft: BUILDUP_16, Signatur: AppSearchSign
MSI (c) (A0:9C) [11:14:18:758]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (A0:9C) [11:14:18:758]: Note: 1: 1402 2: HKEY_CURRENT_USER32\Software\BauerSoftware\BUILDUP V16\System 3: 2
AppSearch: Eigenschaft: BUILDUP_15, Signatur: AppSearchSign_1
MSI (c) (A0:9C) [11:14:18:758]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (A0:9C) [11:14:18:774]: PROPERTY CHANGE: Adding BUILDUP_15 property. Its value is 'O:\CDROM_V19\Runimage\BUILDUP\'.
AppSearch: Eigenschaft: BUILDUP_17, Signatur: AppSearchSign_3
MSI (c) (A0:9C) [11:14:18:774]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (A0:9C) [11:14:18:774]: Note: 1: 1402 2: HKEY_CURRENT_USER32\Software\BauerSoftware\BUILDUP V17\System 3: 2
AppSearch: Eigenschaft: BUILDUP_19, Signatur: AppSearchSign_5
MSI (c) (A0:9C) [11:14:18:774]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (A0:9C) [11:14:18:774]: Note: 1: 1402 2: HKEY_CURRENT_USER32\Software\BauerSoftware\BUILDUP V19\System 3: 2
AppSearch: Eigenschaft: BUILDUP_20, Signatur: AppSearchSign_6
MSI (c) (A0:9C) [11:14:18:774]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (A0:9C) [11:14:18:774]: Note: 1: 1402 2: HKEY_CURRENT_USER32\Software\BauerSoftware\BUILDUP V20\System 3: 2
Aktion beendet um 11:14:18: AppSearch. Rückgabewert 1.
MSI (c) (A0:9C) [11:14:18:774]: Doing action: FindRelatedProducts
Aktion 11:14:18: FindRelatedProducts. Verwandte Anwendungen werden gesucht
Aktion gestartet um 11:14:18: FindRelatedProducts.
Aktion beendet um 11:14:18: FindRelatedProducts. Rückgabewert 1.
MSI (c) (A0:9C) [11:14:18:774]: Skipping action: AI_DOWNGRADE (condition is false)
MSI (c) (A0:9C) [11:14:18:774]: Skipping action: SetPathForBuildupV20 (condition is false)
MSI (c) (A0:9C) [11:14:18:774]: Skipping action: SetPathForBuildupV19 (condition is false)
MSI (c) (A0:9C) [11:14:18:774]: Doing action: SetPathForBuildupV18
Aktion 11:14:18: SetPathForBuildupV18.
Aktion gestartet um 11:14:18: SetPathForBuildupV18.
MSI (c) (A0:9C) [11:14:18:774]: PROPERTY CHANGE: Adding BUILDUP_LOCATION property. Its value is 'BUILDUP'.
Aktion beendet um 11:14:18: SetPathForBuildupV18. Rückgabewert 1.
MSI (c) (A0:9C) [11:14:18:774]: Skipping action: SetPathForBuildupV17 (condition is false)
MSI (c) (A0:9C) [11:14:18:774]: Skipping action: SetPathForBuildupV16 (condition is false)
MSI (c) (A0:9C) [11:14:18:774]: Skipping action: SetPathForBuildupV15 (condition is false)
MSI (c) (A0:9C) [11:14:18:774]: Skipping action: SetPathForBuildupVx (condition is false)
So BUILDUP_15 is set but SetPathForBuildupV18 is called.
Any ideas?
Thanks a lot in advance.
My Version is 11.1 build 56565.
Bye,
Jürgen Bauer
FOLLOW US
Get the latest news in Application Packaging