mcgill Posted July 31, 2006 Share Posted July 31, 2006 Hey all, I am creating an silent install script and I have looked at the forum for some pieces of code but there isn't much on silent install. Looking at this line where the install happens I need to know what these mean /Q:A /R:N on the runwait command. I have tested this script and it is erroring out because of these commands. If anyone can help me, that would be great #include "GUIConstants.au3" AutoItSetOption("RunErrorsFatal", 0) AutoItSetOption("TrayIconHide", 1) Break(0) $USERNAME = "administrator" $PASSWORD = "secret" $DOMAIN = @LogonDomain ;"domain.com" $RUN = 0 ; run indicator ; retrieve the cycle from commandline If $CMDLINE[0] = 1 Then $RUN = $CMDLINE[1] If $RUN = 0 Then RunAsSet($USERNAME, $DOMAIN, $PASSWORD) Run('"' & @ScriptFullPath & '" " 1"') If @error Then MsgBox(4096+32,"Error", "Error starting under admin mode") Exit EndIf ; commands go here that require Administrator rights RunWait('\\Smsprd002\dsl$\software\Siebel STAR\STEP 1 - Install siebel99.5.39.exe /\\Smsprd002\dsl$\software\Siebel STAR\STEP 1 - Install siebel99.5.39.exe /DisallowSystemRestore /Q:A /R:N"') Link to comment Share on other sites More sharing options...
Briegel Posted July 31, 2006 Share Posted July 31, 2006 (edited) /Q:A /R:N -> These are parameters for automatic windows update feature./Q:A = Quiet Admin mode/R:N = No RebootEDIT:I would tryRunWait('"\\Smsprd002\dsl$\software\Siebel STAR\STEP 1 - Install siebel99.5.39.exe /\\Smsprd002\dsl$\software\Siebel STAR\STEP 1 - Install siebel99.5.39.exe /DisallowSystemRestore /Q:A /R:N"') Edited July 31, 2006 by Briegel Link to comment Share on other sites More sharing options...
mcgill Posted July 31, 2006 Author Share Posted July 31, 2006 I ran the code with this update and it didn't work: RunWait('"\\Smsprd002\dsl$\software\Siebel STAR\STEP 1 - Install siebel99.5.39.exe /\\Smsprd002\dsl$\software\Siebel STAR\STEP 1 - Install siebel99.5.39.exe /DisallowSystemRestore /Q:A /R:N"') With the original code the install starts and gets to 99%. I am receiving an error WinExec Failed:return=0 It is crapping out with the installshield Any reason why? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now