How to execute “net use” command from Inno Setup installer on Windows 7?
I'm working on an Inno Setup installer, which calls net use to connect to a shared server. The installer can connect to the server, if it's running on Windows XP, but not on Windows 7. I think it's related to UAC as I type the same command, the server is connected on Windows 7, but the setup is running with admin privileges. I'm using the following net use command through Exec or ShellExec script functions: /c net use \\servername password /user:username Actually, here is a part of the script showing the net use command call: [Code] var ErrorCode: Integer; cmdString: String; intvalue: Integer;