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
- :
- Creating new virtual directory on upgrade
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 11, 2009
01:06 AM
Creating new virtual directory on upgrade
Hi,
I'm currently working with a web setup project (creating IIS virtual directory, executing scripts etc).
During upgrade (executing the same setup.exe as new install), I'm planning to give options to user:
- Replace existing application files with the new ones (normal upgrade), OR
- Create a new virtual directory/web application that co-exists with existing application (so they may be more than one virtual dirs on IIS), and copying the new files for that new web app.
Is it possible to do the second option (create new virtual directory while keeping the old one)?
Thanks in advance.
I'm currently working with a web setup project (creating IIS virtual directory, executing scripts etc).
During upgrade (executing the same setup.exe as new install), I'm planning to give options to user:
- Replace existing application files with the new ones (normal upgrade), OR
- Create a new virtual directory/web application that co-exists with existing application (so they may be more than one virtual dirs on IIS), and copying the new files for that new web app.
Is it possible to do the second option (create new virtual directory while keeping the old one)?
Thanks in advance.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 11, 2009
10:24 AM
I tried to change the value of INSTALLDIR property to some fixed directory (eg. C:\Test\) during upgrade. But, the new files are still copied to the old installation directory.
Any thoughts? :confused:
Any thoughts? :confused:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 11, 2009
10:40 AM
Hello,
Here is a link that contains some useful IIS functions that I wrote. If your project allows for Install Shield script, then you will definitely want to take a look. It allows for creation of IIS folders and you are allowed to put any path you want in the function call.
Here is a link that contains some useful IIS functions that I wrote. If your project allows for Install Shield script, then you will definitely want to take a look. It allows for creation of IIS folders and you are allowed to put any path you want in the function call.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 18, 2009
12:55 AM
Thanks Traveler, this IIS stuff would be useful 🙂
One thing that I'm still curious is, how to change the installation directory during upgrade? So, the new files would be copied to the new directory specified by the user, instead of replacing the old files in the old installation directory.
Appreciate any suggestion. Thanks.
One thing that I'm still curious is, how to change the installation directory during upgrade? So, the new files would be copied to the new directory specified by the user, instead of replacing the old files in the old installation directory.
Appreciate any suggestion. Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 24, 2009
09:40 PM
If your project is an Install Shield script project, you could try and change the TARGETDIR variable in the OnUpdateUIBefore event function.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 25, 2009
12:57 PM
Hi,
The other way is define another location variable:
FeatureSetTarget(MEDIA, "", sNewLocationFolder);
and set it in Destination property of component.
This is right for InstallScript-project.
The other way is define another location variable:
FeatureSetTarget(MEDIA, "
and set it in Destination property of component
This is right for InstallScript-project.