cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
herbie68
Level 4

Can I Use SystemSearch Result in my Installscript

I am creating a Installscript MSI Project, and I was wondering can I use the result of a Systemsearch in my Installscript and if Yes How do I call for this variable

For Example I search for a path in the registry and store this value into variable ProgPath.

Can I refer to this vcariable ProgPath in my Script?
Labels (1)
0 Kudos
(2) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

You should be able to use MsiGetProperty to get the value of the property associated with the system search. Note that the search result/property value should be obtained in a pre-file transfer event such as OnBegin or OnFirstUIBefore.
0 Kudos
herbie68
Level 4

Thank you for this tip, it was helpfull.:)
0 Kudos