BAKO Posted August 31, 2010 Share Posted August 31, 2010 Please help me with this installation L.notes script. I want install more then one files and I have problem with execution msi.Do you know where is problem?THX...If FileExists("C:\Notes\nsd.exe") Then GUICtrlSetData($infotxt, @crlf & @crlf & @crlf & @crlf & $UpProg) RunWait(@ComSpec & " /c " & 'start /wait '&$progdir&'nsd.exe -kill -nolog -noinfo', $progdir, @SW_HIDE) $InfoLabel = GUICtrlCreateLabel($Start, 190, 330, 200, 17) GUICtrlSetData ($progressbar1,10) RunWait(@ComSpec & " /c " & 'start /wait msiexec .\basic-client\lotus.msi /qn PROGDIR=\"'&$progdir&'" DATADIR=\"'&$datadir&'" TRANSFORMS=notes.mst"', "", @SW_HIDE) GUICtrlSetData($InfoLabel, $Language)... Link to comment Share on other sites More sharing options...
wakillon Posted August 31, 2010 Share Posted August 31, 2010 (edited) Please help me with this installation L.notes script. I want install more then one files and I have problem with execution msi.Do you know where is problem?THX . . . If FileExists("C:\Notes\nsd.exe") Then GUICtrlSetData($infotxt, @crlf & @crlf & @crlf & @crlf & $UpProg) RunWait(@ComSpec & " /c " & 'start /wait '&$progdir&'nsd.exe -kill -nolog -noinfo', $progdir, @SW_HIDE) $InfoLabel = GUICtrlCreateLabel($Start, 190, 330, 200, 17) GUICtrlSetData ($progressbar1,10) RunWait(@ComSpec & " /c " & 'start /wait msiexec .\basic-client\lotus.msi /qn PROGDIR=\"'&$progdir&'" DATADIR=\"'&$datadir&'" TRANSFORMS=notes.mst"', "", @SW_HIDE) GUICtrlSetData($InfoLabel, $Language) . . . Try this $_MsiPath = @ScriptDir & '\basic-client\lotus.msi' RunWait ( 'msiexec "' & $_MsiPath & '" /qn PROGDIR=\"' & $progdir & '" DATADIR=\"' & $datadir & '" TRANSFORMS=notes.mst', "", @SW_HIDE ) Edited August 31, 2010 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
BAKO Posted August 31, 2010 Author Share Posted August 31, 2010 Try this $_MsiPath = @ScriptDir & '\basic-client\lotus.msi' RunWait ( 'msiexec "' & $_MsiPath & '" /qn PROGDIR=\"' & $progdir & '" DATADIR=\"' & $datadir & '" TRANSFORMS=notes.mst', "", @SW_HIDE ) Its a better script start without errors... but script isnt able to run lotus.msi Link to comment Share on other sites More sharing options...
Bert Posted August 31, 2010 Share Posted August 31, 2010 Can you run the MSI by command line? (From a DOS Prompt) The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
wakillon Posted August 31, 2010 Share Posted August 31, 2010 Its a better script start without errors... but script isnt able to run lotus.msi try with /i parameters $_MsiPath = @ScriptDir & '\basic-client\lotus.msi' RunWait ( 'msiexec /i "' & $_MsiPath & '" /qn PROGDIR=\"' & $progdir & '" DATADIR=\"' & $datadir & '" TRANSFORMS=notes.mst' ) AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
BAKO Posted September 1, 2010 Author Share Posted September 1, 2010 Can you run the MSI by command line? (From a DOS Prompt)Yes of course this was first what I tested it Link to comment Share on other sites More sharing options...
BAKO Posted September 1, 2010 Author Share Posted September 1, 2010 try with /i parameters $_MsiPath = @ScriptDir & '\basic-client\lotus.msi' RunWait ( 'msiexec /i "' & $_MsiPath & '" /qn PROGDIR=\"' & $progdir & '" DATADIR=\"' & $datadir & '" TRANSFORMS=notes.mst' ) Yes i try it but script runs without errors and seems that all is ok but installation is unsuccesfull... Link to comment Share on other sites More sharing options...
wakillon Posted September 1, 2010 Share Posted September 1, 2010 Yes i try it but script runs without errors and seems that all is ok but installation is unsuccesfull... Try with a log file if we can get infos $_MsiPath = @ScriptDir & '\basic-client\lotus.msi' $_NotesMstPath = @ScriptDir & '\notes.mst' $_LogPath = @TempDir & '\lotus.log' $_RunWait = 'msiexec "' & $_MsiPath & '" /l* "' & $_LogPath & '" /qn PROGDIR=\"' & $progdir & '" DATADIR=\"' & $datadir & '" TRANSFORMS="' & $_NotesMstPath & '"' ConsoleWrite ( "$_RunWait : " & $_RunWait & @Crlf ) RunWait ( $_RunWait ) If FileExists ( $_LogPath ) Then ShellExecute ( $_LogPath ) AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts 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