Jump to content
Sign in to follow this  
brian75

Need a little help scripting a silent install

Recommended Posts

brian75

Hello Everyone,

I am a total newbie when it comes to Autoit and scripting in general and am having trouble getting a silent install script to work.  The app is called GpsGate from a company called Franson. 

According to the developer I should be able to use "GpsGate.standard.413.exe /s /v"/qn" to do the silent install but it's not working.

I found a utility called Universal Silent Switch Finder that is supposed to be able to give you the right switches based on the app you are installing and it says the installer package for GPSGate is Installshield 2003 and it suggested using "GpsGate.standard.413.exe /s /v"/qb" which is also not working.

The statement in my script is as follows:

RunWait ('"C:UsersPublicDistScriptInstallGpsGate.Standard.413.exe" /s /v"/qn"')

The statement above will kick off a regular install if I remove the switches so I assume it's a switch problem and just my general lack of knowledge of silent installs.

I would greatly appreciate any assistance anyone can provide.  I love learning stuff like this but the initial learning curve is kind of frustrating. :)

Share this post


Link to post
Share on other sites
MHz

This page here at their forum confirms the switches that you are using. You may need to run the install as admin.

So you could try this

#RequireAdmin
RunWait('"C:\Users\Public\DistScriptInstall\GpsGate.Standard.413.exe" /s /v"/qn"')

Share this post


Link to post
Share on other sites
brian75

Thanks MHz...

As soon as I posted my question I tried the script again and it worked!  I have no idea why it wasn't working before...I need to test it some more before I feel comfortable letting others use it.  I had discovered that it needed to be run as admin so I was right clicking the script exe and choosing run as admin.  Getting it to run as admin on its own was the next cat I needed to skin so thanks for the #RequireAdmin tip!

I really appreciate the help!

Share this post


Link to post
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
Sign in to follow this  

×