Hi AI Gurus,
We have a VB script which copies a site specific properties file to APPDIR. The script has worked fine for a couple years. One of our clients wanted to do some testing on Windows 7. The script had a Permission denied error. On Sept 20 I asked the forum how to fix the permission. You made some suggestions (deferred with no impersonation) which worked great. As part of this change the script was moved under Install. See
http://www.advancedinstaller.com/forums ... =2&t=11611
Subject Permission denied on VB script copy
This fixed the permission denied problem under Windows 7. But it has created another problem. One of our customers installs from a network share. This use to work; now it fails. I have done some testing, if I install from C: everything works fine. If I installed from a mapped drive, say p: it fails. I have tested on Windows 7 and windows XP. The script fails on both when installed from a mapped drive. The script assumes there is a property file in the same location as the install file. The script copies the install file to APPDIR. The error is path not found. I have done some debugging. I have stopped the script just before the copy is made. I have confirmed that the source file exists where it should be. I have confirmed that the destination directory exists. Further debugging shows, if I call FileExists on the source file, it returns it does not exist! If I call getDrive on the P: the error is Device unavailable. Working from a command window the p: drive is available.
This worked before the changes for Windows 7.
Any ideas?
Thanks
Bob
FOLLOW US
Get the latest news in Application Packaging