Jump to content

Unattended software installation


Go to solution Solved by jguinch,

Recommended Posts

Posted

I plan to do Unattended software Installation with autoit

I want to know what's the best way to create this ?

run it with silent parameters ?

and use 1 sec sleep function after each installation?

Posted

I put my switches etc in an .ini file and then just install like this

If $extension = "msi" Then
Run("msiexec /i " & '"' & $scriptDir & "\Software\" & $fileName & '" ' & $switch) ; For MSI type installers
Else
RunWait('"' & $scriptDir & "\Software\" & $fileName & '"' & " " & $switch) ; For EXE installers
EndIf
Posted

 

I put my switches etc in an .ini file and then just install like this

If $extension = "msi" Then
Run("msiexec /i " & '"' & $scriptDir & "\Software\" & $fileName & '" ' & $switch) ; For MSI type installers
Else
RunWait('"' & $scriptDir & "\Software\" & $fileName & '"' & " " & $switch) ; For EXE installers
EndIf

 

what is switch etc ?

Posted

Do we really need to specify the regedit location?

For example the parameter code is "setup.exe" /s

I want to know if that code works in autoit too ?

I think it's more simple like that.

  • Solution
Posted

If you know what is the silent parameter, you just have to put it in your Run/RunWait/ShellExecute/ShellExecuteWait command.Be careful with the simples quotes

For example, with "setup.exe" /s : RunWait( '"setup" /s')

Posted

If you know what is the silent parameter, you just have to put it in your Run/RunWait/ShellExecute/ShellExecuteWait command.Be careful with the simples quotes

For example, with "setup.exe" /s : RunWait( '"setup" /s')

k, thanks.

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...