cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jchristman
Level 8

Installscript set property value

Is it possible to do set a property value with Installscript.

I have a sql script that needs to have two pieces that require text substitiute I tried to use the following.

TextSubSetValue ( "", "1", FALSE );

But this did not seem to update the sql script that is in the SQL Scripts view
I know I can do a text replacement there and use a [PROPERTY] value. Is there a way to use TextSubSetValue or to set a [PROPERTY] Value?
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

If you mean an MSI property, please search the help and these forums for "MsiSetProperty".
0 Kudos
jchristman
Level 8

No I am talking about using the Property table and setting a property there. in InstallScript. If this can not be done that is fine.

I believe I have the following working.

TextSubSetValue ( "", "1", FALSE );


I went ahead and set the find value to the text that needed to be replaced in the script and the Replace value with "" and this seems to be working great. It changes with the correct value which then gets changed in the script with the SQL Script is ran.
0 Kudos