We send our setups to individual users and/or IT administrators, so we cannot rely on the setup being run by technical users. The setup.exe needs to take care of itself.
However, as we have situations where the setup needs to run on several (already networked) PCs, each specifying a central PC or server for the location of the centralised data folder.
We provide blow-by-blow instructions on how to create the centralised data folder and Map a Network Drive to it. So far even the ordinary folk have been able to accomplish this.
BUT, we are running into problems when the user chooses a Mapped Network Drive during the installation.
We have specifically added AllowNetworkDrive=yes to the [Setup] section of the Inno script (even though that's the default setting), but it makes no difference!!
During the setup, when the user clicks on Browse, the Mapped Drive letter is listed, but after choosing it and clicking Next, the setup raises the message "The drive or UNC share you selected does not exist or is not accessible"
I have read and understood that the setup is running under temporary (elevated) credentials, but I thought the AllowNetworkDrives would somehow compensate for that.
I tried inserting PrivilegesRequired=lowest and that fixed the Network Drive issue, but only raised subsequent issues because the installation needs admin rights.
Help!!
How can I get my inno script to handle Network Drives?
Andrew