PDA

View Full Version : Running the setup.exe from VBA/bat?



JeffLefkowitz
04-21-2011, 12:38 PM
I'm trying to execute a setup file (actually renamed as per below) via VBA and/or a bat file, and while I can get the Installshield prompt/info Wizard screens to display and it appears to step through the installation, it doesn't actually create the folder or copy the files to the location.

This exe file does work perfectly on a direct double click, it is just the automated execution which doesn't work.

Can anyone help???

In VBA I'm calling the line below with the Shell command, and in the bat I'm calling it as below:

"C:\...\BrokerMAP Total.exe"/V" REINSTALLMODE=voums REINSTALL=ALL"

JeffLefkowitz
04-21-2011, 02:00 PM
It works perfectly when running from the Start>Run functionality in Windows as well.