I’m writing a Inno Setup script which need to execute a very old third party setup application, this old installer (called setup.exe) only works from a root folder (if not fails), so I need to create (and remove) a network drive to copy the files of this installer and then execute the setup.exe. so the question is how i can create and remove network drive from Inno Setup? I am looking something like the WNetAddConnection function.
I’m writing a Inno Setup script which need to execute a very old third
Share
You can use the
WshNetworkobject, which is part of theWindows Script Host: