BAKO 0 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)... Share this post Link to post Share on other sites
wakillon 403 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 Share this post Link to post Share on other sites
BAKO 0 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 Share this post Link to post Share on other sites
Bert 1,430 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/ Share this post Link to post Share on other sites
wakillon 403 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 Share this post Link to post Share on other sites
BAKO 0 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 Share this post Link to post Share on other sites
BAKO 0 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... Share this post Link to post Share on other sites
wakillon 403 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 Share this post Link to post Share on other sites