RyanH Posted January 9, 2007 Share Posted January 9, 2007 (edited) I am trying to write a script to uninstall Net Nanny 5.0 and install the newest version 5.1.2 to update about 100 compuers. Unfortunately there is no update that I can run so I have to uninstall the old version first. From the command prompt I can run CODERunDll32 C:\PROGRAM FILES\COMMON FILES\INSTALLSHIELD\engine\6\INTEL32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{51945E07-120D-4E78-A368-C4C8D5042D21}\Setup.exe" -l0x9 UNINSTALL but when I combine that with Run() AutoIT just fails. I also tried Run with ComSpec to run this as a dos command but it failed then also. I think it is because of the quotation marks required by the launch setup command but I am not sure how to get around this. If worst comes to worst I can have it put that string into a batch file and run that but I would like to keep this in a single file. Does anybody have any suggestions on how I can take care of this. Thanks in advance -Ryan Edited January 9, 2007 by RyanH Link to comment Share on other sites More sharing options...
RyanH Posted January 9, 2007 Author Share Posted January 9, 2007 I just went ahead and wrote it to create a batch file with the string in it and delete it when it is done, pretty much using the batch file as a temp file. Its working great. Thanks -Ryan Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now