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

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
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.
Answered 09/18/2009 by: VBScab
Red Belt

Please log in to comment
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
Answered 09/18/2009 by: bob_msi
Orange Belt

Please log in to comment
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.
Answered 09/18/2009 by: VBScab
Red Belt

Please log in to comment
0
I am using installsheild. will browse and see if I can find anything thanks
Answered 09/18/2009 by: bob_msi
Orange Belt

Please log in to comment
0
I am having problems trying to use the system search gui to add keys for my search

any ideas please
Answered 09/18/2009 by: bob_msi
Orange Belt

Please log in to comment
0
Unfortunately, the VM I have with IS on it is tied up with a package. Does the Help file not provide clues?
Answered 09/18/2009 by: VBScab
Red Belt

Please log in to comment
0
I have gottten my values in the reglocator and appsearch tables

now for the logic
Answered 09/18/2009 by: bob_msi
Orange Belt

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