cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vijay_rb
Level 3

Default registry location using IS api

Hi,

I am working on a InstallScript project for installing a WinForm .Net application.

I need to store registry values to save app related information.
Which is the best place in the registry to store it?

necessary considerations:
1. The app is installed on laptops
2. The hardware profile is different when the laptop is docked on docking stations.
3. The hardware profile changes when laptop is undocked and used.


So which is the default registry path that does not change?
4. I need a installshield api that gives a default registry path, so that I don't have to hardcode that registry path in the installscript.

Please let me know the steps for this.
Thanks
Labels (1)
0 Kudos
(2) Replies
vijay_rb
Level 3

Hi,

I am surprised that nobody has encountered this situation.

Please help if anybody has any ideas.
at least put in your views about the best registry locations to use,
IS api's related to registry , ETC.


Regards
0 Kudos
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

InstallScript projects create a registry key for your installation under HKLM\Software\\\. You could use this key since it varies for each setup you create (based on company name, product name, and product version).

You could also use textsubs to dynamically specify the name of a registry key to use. The InstallScript registry functions will evaluate textsubs by default.
0 Kudos