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: copyfiles from InstallDir to Network Drive Vista fails
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
‎Aug 21, 2008
05:27 PM
copyfiles from InstallDir to Network Drive Vista fails
My installation works fine and has for years, until Vista. I install a file to the InstallDir on the local machine, then read the INI to see where the file needs to be copied on the Network Server (drive t:\updates). UAC is on but I have set the AlwaysInstallElevated in hkey_local_machine and hkey_current_user set to 1.
ExistsDir(T:\Updates) fails to find the t:\updates folder
XCopy and CopyFile do not work as the T:\updates folder is NOT found.
I have verified they really do exisits. What am I missing?
The documentation and lack of samples leaves me out in the cold, I have spent hours looking and the solution does NOT seem to work. Any samples about how to solve this would be appreciated.
ExistsDir(T:\Updates) fails to find the t:\updates folder
XCopy and CopyFile do not work as the T:\updates folder is NOT found.
I have verified they really do exisits. What am I missing?
The documentation and lack of samples leaves me out in the cold, I have spent hours looking and the solution does NOT seem to work. Any samples about how to solve this would be appreciated.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 21, 2008
05:57 PM
Please search these forums for "vista network drives" (and the like) for a possible explanation; [thread=164605]this thread[/thread] has a brief explanation, for example.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 22, 2008
02:44 AM
Thanks, but that really was not enough information to be helpful. Running the install as Administrator did not work either. Searching for "Vista Network Drives" pulled up only this thread.
I know that somewhere out there someone has solved this basic hurdle because anyone installing on Vista is going to bump into some of these issues.
I know that somewhere out there someone has solved this basic hurdle because anyone installing on Vista is going to bump into some of these issues.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 22, 2008
08:05 AM
Searching all InstallShield forums, not just the InstallShield 2008 forum, seems to result in more search results. You might want to take a look at the following thread, for example:
http://community.acresso.com/showthread.php?t=168750
http://community.acresso.com/showthread.php?t=168750
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 22, 2008
09:00 AM
So has anyone come up with an effective method to resolve the mapped drive UNC path. That might be a nice tweak to add to the next release of InstallShield too. *hint*, *hint*. 😄
I know there are times where we allow the user to install the large mapping datasets to a network resource to be shared with multiple users.
I will look into this as well. There should be an easy way to resolve this issue.
EDIT:
Well, from my initial look, it appears that the following will work. I am in the process of creating a .rul file to post here.
I know there are times where we allow the user to install the large mapping datasets to a network resource to be shared with multiple users.
I will look into this as well. There should be an easy way to resolve this issue.
EDIT:
Well, from my initial look, it appears that the following will work. I am in the process of creating a .rul file to post here.
prototype NUMBER mpr.WNetGetConnection (
BYREF STRING, //Mapped drive letter
BYREF STRING, //Returned UNC path
NUMBER); //Buffersize