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
- :
- Assigning Environment Variable to Property
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
Mar 29, 2013
01:29 PM
Assigning Environment Variable to Property
Hi All,
I have an installer that is working well, would like to make a slight addition to it. I would like to obtain the COMPUTERNAME environment variable and assign it to IS_SQLSERVER_SERVER by default unless the user changes the server manually during the install. This would also apply to a silent install so that it would default to the current computername for the IS_SQLSERVER_SERVER public property so the installer would not have to include that unless they are making a different server the SQL server.
Is there a way to accomplish this? I was able to get the environment variable in my script but not sure how to assign it to IS_SQLSERVER_SERVER.
Thanks!
I have an installer that is working well, would like to make a slight addition to it. I would like to obtain the COMPUTERNAME environment variable and assign it to IS_SQLSERVER_SERVER by default unless the user changes the server manually during the install. This would also apply to a silent install so that it would default to the current computername for the IS_SQLSERVER_SERVER public property so the installer would not have to include that unless they are making a different server the SQL server.
Is there a way to accomplish this? I was able to get the environment variable in my script but not sure how to assign it to IS_SQLSERVER_SERVER.
Thanks!
(1) Reply