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
- :
- Help me - Virtual Directory Creation
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
‎Oct 20, 2008
12:44 PM
Help me - Virtual Directory Creation
Hello,
I would like to create a virtual directory, but the name should come from User input. I have created a dialog to accept the Input but unable to map. Can anyone help me on the above. Do we have any documents.
Thanks in advance.
Ameer
I would like to create a virtual directory, but the name should come from User input. I have created a dialog to accept the Input but unable to map. Can anyone help me on the above. Do we have any documents.
Thanks in advance.
Ameer
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 20, 2008
12:54 PM
If you are using an MSI type project you can use a property reference as the virtual directory name ([PROPERTYNAME]). The property should be set at runtime before the caExtractIISSuppFiles action runs. If you are using an InstallScript project, you can use a textsub for the virtual directory name and set the textsub in your script.
Note that you will also need to ensure this property/textsub is set on subsequent maintenance operations that could affect the virtual directory, otherwise a runtime error can occur.
Note that you will also need to ensure this property/textsub is set on subsequent maintenance operations that could affect the virtual directory, otherwise a runtime error can occur.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 21, 2008
06:12 AM
Thanks for reply Josh..
Do we have any documentaion on this??Shall I upload my exact issue and settings to this request.
Do we have any documentaion on this??Shall I upload my exact issue and settings to this request.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 21, 2008
08:03 AM
Here are the help topics that describe how to do this:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 22, 2008
11:01 AM
Thank you very much, i got the answer from the provided link.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 30, 2009
11:14 AM
Using IS 2009, Basic MSI:
I followed the instructions on dynamically modify IIS settings and created a custom action and inserted it before caExtractIISSuppFiles, however the property is not being evaluated.
It appears the property is being treated like a literal instead of a variable.
So now after I run the install, my virtual directory is named [VDIRECTORY].
This is what I have in Virtual Directory->Local Path:
{TESTAPP} [IISROOTFOLDER][VDIRECTORY]
Any ideas on what I am doing wrong?
I followed the instructions on dynamically modify IIS settings and created a custom action and inserted it before caExtractIISSuppFiles, however the property is not being evaluated.
It appears the property is being treated like a literal instead of a variable.
So now after I run the install, my virtual directory is named [VDIRECTORY].
This is what I have in Virtual Directory->Local Path:
{TESTAPP} [IISROOTFOLDER][VDIRECTORY]
Any ideas on what I am doing wrong?