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: InstallShield not compatible with mounted drives (subst)
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 06, 2009
10:19 AM
InstallShield not compatible with mounted drives (subst)
When attempting to browse to a mounted drive (using the subst command to mount a folder as a new separate drive), installshield cannot see mounted drives.
If you try to type the path in the browse box, an error occurs.
Also trying to open a project in such a location (by double clicking it in explorer), installshield will give an error "This Project was not found. ...".
If you try to type the path in the browse box, an error occurs.
Also trying to open a project in such a location (by double clicking it in explorer), installshield will give an error "This Project was not found. ...".
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 06, 2009
10:35 AM
You have to run subst command as Administrator.
It works on Vista Business well.
It works on Vista Business well.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 06, 2009
10:36 AM
I just used the SUBST command and was able to create a new project and open one from a mounted drive...The weird thing is that Windows Explorer cannot find my new Drive....
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 06, 2009
12:44 PM
I can see the new drive using WE.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 08, 2009
04:28 AM
The problem seems to be with the subst itself (especially in vista and upwards)
The subst is only valid for the user it is run for, and UAC elevation is a different user technically:
InstallShield runs elevated so it only sees mounted drive made by an elevated prompt.
However elevated prompt mounts are not seen by you because you are not elevated (so you don't see it in IE or any other app that is not elevated)
A solution would be to make the mounting twice with the same params: once normal and once elevated. Then both unelevated application (like IE) and elevated application (like InstallShield) would see the same thing.
To get this to work in a logon script is a pain in the ***, so i chucked out UAC made myself admin which spares me a load of headaches (thank you Microsoft)
The subst is only valid for the user it is run for, and UAC elevation is a different user technically:
InstallShield runs elevated so it only sees mounted drive made by an elevated prompt.
However elevated prompt mounts are not seen by you because you are not elevated (so you don't see it in IE or any other app that is not elevated)
A solution would be to make the mounting twice with the same params: once normal and once elevated. Then both unelevated application (like IE) and elevated application (like InstallShield) would see the same thing.
To get this to work in a logon script is a pain in the ***, so i chucked out UAC made myself admin which spares me a load of headaches (thank you Microsoft)
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)