Jump to content

Trouble writing script to uninstall Net Nanny 5.0 and install 5.1.2


RyanH
 Share

Recommended Posts

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

CODE
RunDll32 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 by RyanH
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...