Hi all, I'm looking to read in the data value of a string in registry and set another string equal to that. Is there a way this can be done through an MSI tables?
I looked at the AppSearch and RegLocator Tables and possibly passing the value into a property however it doesnt read in the data value. I believe this can be done via InstallScript but have never used this so would need a step-by-step process for it that I could follow. I'm using Installshield 2012.
Existing environment reg value to read: HKLM\SYSTEM\APP\KEY StringName=Variable1
New reg value to write: HKLM\SYSTEM\APP\KEY StringName2=Variable1
1 Comment
[ + ] Show comment
Answers (2)
Answer Summary:
Please log in to answer
Posted by:
Busby101
10 years ago
Posted by:
SilentKiller
10 years ago
You can create a vbscript for this and put that in a Custom Action.
Comments:
-
Thanks, if I can handle it natively using the tables I'd rather avoid the use of CA scripts if possible. - Busby101 10 years ago
Post the content that you had in those tables and we'll figure out where you went wrong. - anonymous_9363 10 years ago
RegLocator Table:
Signature: AppVersion
Root: 2
Key: SYSTEM\CurrentControlSet\Services\NetLogon\Parameters\SystemVersion
Name:
Type: 2
AppSearch Table:
Property: VERSIONID
Signature_: AppVersion
Registry Table:
Registry: 1
Root: 2
Key: System\CurrentControlSet\Services\NetLogon\Parameters
Name: InternalVersion
Value: [VERSIONID]
Component: ISRegistryComponent
Attributes: 0 - Busby101 10 years ago