Sign in to follow this  
Followers 0
lucius100

Unattended software installation

8 posts in this topic

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?

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

 

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 ?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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')

1 person likes this

Share this post


Link to post
Share on other sites

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.

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  
Followers 0