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
- :
- MsiSetProperty
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
‎Nov 07, 2007
06:09 AM
IIS configuration
Hi,
I am trying to configure IIS properties in Internet Information Servicies view in the IDE of InstallShield 2008. Everything works as desired untill I want to parameterised some values i.e. Virtual directory name and a user name.
I follow exactly what written in the "Using InstallScript Text Substitution to Dynamically Modify IIS Settings" article from the help but the Virtual directory and the user are created unchenged ( and ).
What can be wrong?
Thank you
Fyodor Koryazhkin
I am trying to configure IIS properties in Internet Information Servicies view in the IDE of InstallShield 2008. Everything works as desired untill I want to parameterised some values i.e. Virtual directory name and a user name.
I follow exactly what written in the "Using InstallScript Text Substitution to Dynamically Modify IIS Settings" article from the help but the Virtual directory and the user are created unchenged (
What can be wrong?
Thank you
Fyodor Koryazhkin
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 28, 2007
09:12 AM
Hey,
Set the string for the virtual directory as [MYDIRNAME].
Create the Property in PropertyTable.
After u get the input from the user, Call the Function
MsiSetProperty(ISMSI_HANDLE,'MYDIRNAME',BLAHBLAH,BLAHBLAH).
Lot of people and InstallShield developers here are telling us to use TextSubSetValue() or something else. They didnt work. 'MYDIRNAME' DOES THE MAGIC.
Set the string for the virtual directory as [MYDIRNAME].
Create the Property in PropertyTable.
After u get the input from the user, Call the Function
MsiSetProperty(ISMSI_HANDLE,'MYDIRNAME',BLAHBLAH,BLAHBLAH).
Lot of people and InstallShield developers here are telling us to use TextSubSetValue() or something else. They didnt work. 'MYDIRNAME' DOES THE MAGIC.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 28, 2007
09:16 AM
I've forgotten to mention here that I am using InstallScript project and MsiSetProperty will not work.
Anyway, Thank you for a reply
Fyodor.
Anyway, Thank you for a reply
Fyodor.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 30, 2008
11:44 AM
How can you change a property with Installscript.
I have similar needs in an installscript project, I would like to set a or [Propertyname] and change it with installscript to rename a virtual directory. In MSI I used vb script to set property values I read about the Property(get,put) but not for sure if this is what I am looking for.
I have similar needs in an installscript project, I would like to set a
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 30, 2008
03:40 PM
I did not encounter any issues with using textsubs to dynamically change a virtual directory name or anonymous username.
Can you reproduce this issue in a sample project? If so, can you attach the sample?
Can you reproduce this issue in a sample project? If so, can you attach the sample?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 30, 2008
04:55 PM
I got the string replacement to work, thanks guys. 🙂
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)