Help needed please,
I'm setting a value in HKEY_Local_Machine in my package (appliying via mst to vendor msi). I'm setting a value of a Key to TRUE.
When installing the application the value of the Key is blank, any ideas why my TRUE value is not being applied?

Cheers
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Run the install again with logging (/lv* <path to logfile>) and check the log afterwards for the following:

1) Is your transform really used? (wrong syntax or typo on command line maybe, log will tell you whether it applied the transform or not)
2) Might be that some Custom Action will kick in after the registry entry is set and changes it. (search the CA table for suspicious CA's and again, the log tell you in what order it happened)
3) If it isn't 1 or 2, maybe a system search for some value, or an old version of the app that's causing it, whatever...? Can't tell with the current information.

So if this isn't helping at all, give us some more details. Like, which application/regfile, the commandline you used, is there a previous version involved (uninstall or upgrade)...


Good luck :)
Answered 05/31/2010 by: Rheuvel
Brown Belt

Please log in to comment
0
hi,
Thanks for the reply [:D]

1. Transform is working fine as it applies with the shortcut changes made.
2. Application is called Cabri2Plus (Educational Software)
3. Actual Reg change needed is: [HKEY_LOCAL_MACHINE\SOFTWARE\Cabri2p1.3] "Key"="TRUE"
4. ON install it installs as: [HKEY_LOCAL_MACHINE\SOFTWARE\Cabri2p1.3] "Key"=""
5. As you suggested the problem stinks of CA override. I'll have another look although I'm pretty new to this so knowing what I'm looking for is my main problem.

Thanks again
Answered 05/31/2010 by: tegai1
Senior Yellow Belt

Please log in to comment
0
under execute immediate I have a CA "WriteRegistryValues" but it's greyed out. Does this look likely to be my problem?

Bit of backgroud to the app:
The application requires activating post install, this has been captured and added to the transform. This now all works as expected providing I add the TRUE value to this reg entry, I just need my package to apply this change and it's job done!
Answered 05/31/2010 by: tegai1
Senior Yellow Belt

Please log in to comment
0
Hmm, greyed out? That's new to me. And taking out a CA called WriteRegistryValues sounds... well... risky too.

You could always make your own CA that re-writes the value to TRUE and have it execute after WriteRegistryValues (talking about quick&dirty).
Answered 05/31/2010 by: Rheuvel
Brown Belt

Please log in to comment
0
sorry, it's a standard action not a CA
Answered 05/31/2010 by: tegai1
Senior Yellow Belt

Please log in to comment
0
hi,
Thanks for all your help with this. I’ve fixed the problem but not via CA. Basically I removed a property in the AppSearch table and reglocator table and then changed the value of the key in the registry table.
I guess changing the value in the regitry table was not sufficient as the property in the other two tables were superseding them?

I'm happy it works now, but if anyone would case to give a true explanation as to what was going on, I would be greatly appreciative.

Cheers again for all your help
Answered 05/31/2010 by: tegai1
Senior Yellow Belt

Please log in to comment
0
Hi Gwyn,
most likely, the component, which installs the registry key, has a condition on it, which will be set through appsearch/reglocator.
Look at the last column of the registry table line in question and search it in the component table. Then have a look at the condition column of this line.
Regards, Nick
Answered 06/01/2010 by: nheim
Tenth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity