Jump to content

Recommended Posts

Posted

Hi, I am a newbie to AutoIT and I can't figure this out on my own. I have some software to push out to my users. There are as many as 3 different versions of this app floating around. Because a couple of the versions are very old, the uninstall and install steps are different from the newest version. I want to be able to put in my script something like this: If app is version 1.11, then [use the appropriate uninstall/install procedures], if app is version 2.2, then [use appropriate uninstall/install procedure]. I know there is a FileGetVersion command but I don't know if that's the one I want to use. Can anyone help me with this? Thanks.

Posted

As a development step for your final script, write one that just polls all the target machines and reports the FileGetVersion() value from the primary .exe of the application. That will tell you what you're dealing with, and going from that to the conditional uninstall will be a snap.

:(

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

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
  • Recently Browsing   0 members

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