BAKO Posted August 31, 2010 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)...
wakillon Posted August 31, 2010 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
BAKO Posted August 31, 2010 Author 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
Bert Posted August 31, 2010 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/
wakillon Posted August 31, 2010 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
BAKO Posted September 1, 2010 Author 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
BAKO Posted September 1, 2010 Author 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...
wakillon Posted September 1, 2010 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
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