PDA

View Full Version : network error



chalumuri
01-23-2003, 02:17 AM
in install shield whan shall i explicitly indicate that an attempt was made to directly specify a non-mapped network path, that this is not supported, and that the user should first map the path to a network drive and then retry the operation. Is that possible?

Neeru
01-23-2003, 06:37 PM
Hello,

You can create a vbscript custom action that checks the value of INSTALLDIR to make sure that its not a mapped drive. If it is a mapped drive, display your error message. You can launch this vbscript code via Custom Actions after the Destination Folder Dialog. You can use MsiGetProperty function within your vbscript code to get the value of INSTALLDIR.

Thanks
Neeru