AnsweredAssumed Answered

Silent uninstall not working

Question asked by Sam S on Oct 5, 2008
Latest reply on Nov 5, 2008 by Steve Schaufler
It has been several years since the last time I used a batch file to do a silent install and I am having some trouble.

I created a "one step" admin image for sw2008sp0.0 from a DVD that had been copied to a folder on my hard drive.
Next I installed by using StartSWInstall.hta. The installation seemed to work fine and solidworks operates fine.

So next I wanted to test my silent uninstall bat file. Initially I created my uninstall bat file by copying the contents from tech tip solution ID S-013266. I commented out the lines for cleaning the registery, I just want to start by uninstalling solidworks.
I also edited the line for uninstalling solidworks and replaced with my information (see below).
msiexec -x \\DELL-M90\sw2008sp0.0\SolidWorks\English_i386_SolidWorks.msi

When I launch the bat file I get a message asking "Are you sure you want to uninstall this product?", I select yes to that message, next I get a message for just a second that appears to indicate that the uninstall process is starting then I get a message stating
"This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.
I select Ok to that message and the process is terminated without uninstalling solidworks. I am able to uninstall by manually launching English_i386_SolidWorks.Msi

The only other thing to note is that I also have sw2009sp0.0 installed, it was installed manually from a download from the sw portal (the "old school" download method). I am not sure that this will cause a problem but I thought I would mention it here.


So why is my uninstall bat file not working???
Can anyone post their uninstall bat file contents here so I acan compare to mine?

Thanks,

Sam

Outcomes