Admin Director BEFORECMD issue
Admin Director BEFORECMD issue
(OP)
I have two batch files create, one that does a complete hands free uninstall of SW and one that installs some add in, regitry settings, etc.
In the admin directory "client options" file you can run and programs BEFORECMD and AFTERCMD.
The problem is when you use the BEFORECMD, it only wait about 10 seconds then starts the SolidWorks install. I want my batch file that uninstalls everything and cleans out the registry to finish before the SW install begins.
Anyone know how to make the SW install wait until the batch command ran from BEFORECMD finishes?
In the admin directory "client options" file you can run and programs BEFORECMD and AFTERCMD.
The problem is when you use the BEFORECMD, it only wait about 10 seconds then starts the SolidWorks install. I want my batch file that uninstalls everything and cleans out the registry to finish before the SW install begins.
Anyone know how to make the SW install wait until the batch command ran from BEFORECMD finishes?






RE: Admin Director BEFORECMD issue
I hope I have made myself clear.
Regards,
Bouke Brouwers
Mechanical Engineer
SW2005 SP1.0
RE: Admin Director BEFORECMD issue
RE: Admin Director BEFORECMD issue
I want it to use the client options file so it is a silent install.
RE: Admin Director BEFORECMD issue
The HTML file uses the following to call out the SW install and to tell it to used the info from the client_options.ini at the same time.
WshShell.Run """\\jhas13\SW05_Admin_Image\swsetup.exe"" /ini ""\\jhas13\SW05_Admin_Image\SolidWorks_2005_SP0_client_options.ini"""
If I can find a way in a batch command to make the swsetup.exe file run and use the .ini file for the options I would be all set.
RE: Admin Director BEFORECMD issue
I only use the following very simple batch-program:
CODE
echo Starting the Installation of SolidWorks 2005
\\[your image location]\swsetup.exe /ini \\[your image location]\SolidWorks_2005_SP0_client_options.ini
end
Bouke Brouwers
Mechanical Engineer
SW2005 SP1.0
RE: Admin Director BEFORECMD issue
I have a .bat file set up to uninstall SW, addin's and clean the registry. Then install SW, then install some add in products and pass some reg settings etc.
When I used the .exe with the .ini file, the .exe would launch and then the next set of commands would begin before the .exe was finished.
I ended up calling out the .msi file with a .mst instead of an .exe with a .ini. It does the same thing filling out the parameters during the install, but it waits for the SW install to finish before continuing.