/build/static/layout/Breadcrumb_cap_w.png

packaging logic for msi

hi I need some pointers here or anyone who has done similar



on the destination pcs I have one of 2 reg keys settings

hklm\software\aaa\servera value =A
hklm\software\bbb\serverb value =B


now if A equals a value say money1 then I would have to set a variable with a value x to server 1 else set a variable with a value y to server 2

can this be done in an msi

0 Comments   [ + ] Show comments

Answers (7)

Posted by: anonymous_9363 14 years ago
Red Belt
0
Yes. Use the 'AppSearch' and 'RegLocator' tables to populate two properties with the data from those registry values. Both Wise and InstallShield have a UI into these tables.

Then you can build a 'Set Property' Custom Action conditioned with your requirements.
Posted by: bob_msi 14 years ago
Orange Belt
0
Then you can build a 'Set Property' Custom Action conditioned with your requirements

thanks vbscab for the reply but I am new to this

can you please breakdown this bit for me as I don't fully understand
Posted by: anonymous_9363 14 years ago
Red Belt
0
A step-by-step would rather depend on which authoring tool you're using.

In any event, rather than repeat myself (and others), have a browse of some of the past posts here, or use the 'Search' facility. All the information you need is here somewhere.
Posted by: bob_msi 14 years ago
Orange Belt
0
I am using installsheild. will browse and see if I can find anything thanks
Posted by: bob_msi 14 years ago
Orange Belt
0
I am having problems trying to use the system search gui to add keys for my search

any ideas please
Posted by: anonymous_9363 14 years ago
Red Belt
0
Unfortunately, the VM I have with IS on it is tied up with a package. Does the Help file not provide clues?
Posted by: bob_msi 14 years ago
Orange Belt
0
I have gottten my values in the reglocator and appsearch tables

now for the logic
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ