Wise Package Studio - Property reference
Hi all!
I'm trying to pull a reg value and insert it to another reg path and don't know how to refere to a specific property value. This is what I have done:
Added new row in RegLocator table and called the signature for AppValue.
Added new row in AppSearch table and set Property to RegValue and Signature_ to AppValue.
In the Registry table I added a new row and in the Value input I want to refere to the value of RegValue Property in AppSearch table.
I'm trying to pull a reg value and insert it to another reg path and don't know how to refere to a specific property value. This is what I have done:
Added new row in RegLocator table and called the signature for AppValue.
Added new row in AppSearch table and set Property to RegValue and Signature_ to AppValue.
In the Registry table I added a new row and in the Value input I want to refere to the value of RegValue Property in AppSearch table.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
MSIMaker
20 years ago
Try doing it as a Custom Action in Wisescript.
Get your reg value to a variable and then use the variable to insert it to your registry like this
item: Get Registry Key Value
Variable=%APPREG%
Key=Software\Adobe\Version\
Default=Reader 6.0
Flags=00000100
end
Get value of HKLM\Software\Appname to %Regapp%
In the msi add your regkey as [REGAPP]
Get your reg value to a variable and then use the variable to insert it to your registry like this
item: Get Registry Key Value
Variable=%APPREG%
Key=Software\Adobe\Version\
Default=Reader 6.0
Flags=00000100
end
Get value of HKLM\Software\Appname to %Regapp%
In the msi add your regkey as [REGAPP]
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.