This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Installscript set property value
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2008
02:37 PM
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?
I have a sql script that needs to have two pieces that require text substitiute I tried to use the following.
TextSubSetValue ( "
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?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2008
03:04 PM
If you mean an MSI property, please search the help and these forums for "MsiSetProperty".
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2008
03:12 PM
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.
I believe I have the following working.
TextSubSetValue ( "
I went ahead and set the find value to the text that needed to be replaced in the script and the Replace value with "