coucou Posted March 28, 2006 Share Posted March 28, 2006 (edited) Hello,During the Unattended softwares installation, i have "Windows Installer. This Installation package could not be opened. Verify that the package exists... " message (see attached bellow).In spite of that message, all the Software installations continue and goes right.Do anyone could help me to get ride from this message?TNXcoucou Edited January 12, 2007 by coucou Link to comment Share on other sites More sharing options...
kal Posted March 28, 2006 Share Posted March 28, 2006 Could you give us more information ? Which package ? What switches are you using to install it ? Did u test the command line beforce?Kal Link to comment Share on other sites More sharing options...
coucou Posted March 30, 2006 Author Share Posted March 30, 2006 Hi kal,Sorry for the delay reply, I had to reinstall all and "STAY NEXT TO THE MACHINE" for checking.The programs throws the Windows Installer error up are:Windows XP Service Pack 2 Support ToolsMBSA 2.0 (Microsoft Baseline Security Analyzer 2.0) Office 2003 Resource Kit'WinXP SP2 Support Tools' is on the DVD as a winrar SFX archive and here the commentsSetup=suptools.msi /qbTempModeSilent=1Overwrite=1Here the MBSA_Install.exe' au3 compiled file when msiexec.exe (v3.1.4000.1823) is in the same CD folder as the MBSA$Lang = RegRead("HKEY_CURRENT_USER\Control Panel\International", "sLanguage")If $Lang = "FRA" ThenRun("msiexec /i MBSASetup-FR.msi /qr");ElseRun("msiexec /i MBSASetup-EN.msi /qr")EndIfHere the Office 2003 Resource Kit command%cdrom%\\Software\\OfficeTools\\ResourceKit\\ORK.MSI /qb'Everything (over 150 apps) was tested before burning the DVDRegardscoucou Link to comment Share on other sites More sharing options...
MHz Posted March 30, 2006 Share Posted March 30, 2006 'WinXP SP2 Support Tools' is on the DVD as a winrar SFX archive and here the commentsSetup=suptools.msi /qbTempModeSilent=1Overwrite=1Try thisSetup=msiexec /i suptools.msi /qbTempModeSilent=1Overwrite=1Here the MBSA_Install.exe' au3 compiled file when msiexec.exe (v3.1.4000.1823) is in the same CD folder as the MBSA$Lang = RegRead("HKEY_CURRENT_USER\Control Panel\International", "sLanguage")If $Lang = "FRA" ThenRun("msiexec /i MBSASetup-FR.msi /qr");ElseRun("msiexec /i MBSASetup-EN.msi /qr")EndIfAnd try thisIf RegRead("HKCU\Control Panel\International", "sLanguage") = "FRA" Then Run('msiexec /i "' & @ScriptDir & '\MBSASetup-FR.msi" /qr')Else Run('msiexec /i "' & @ScriptDir & '\MBSASetup-EN.msi" /qr')EndIf Link to comment Share on other sites More sharing options...
coucou Posted March 30, 2006 Author Share Posted March 30, 2006 TNX MHz,I'll give a try later (in few days) cause i have to rebuild everything.coucou Link to comment Share on other sites More sharing options...
coucou Posted January 12, 2007 Author Share Posted January 12, 2007 Hi,Sorry MHz, i never come back to you after everything rebuilded. In fact, I had set yr recommended modifications. without success.Moreover, i get that message any time, not necessarily the above quoted programs throws the Windows Installer error.Is there anyhow to get ride from this error message? like to run in background an AutoIt script staying alive during all the WPI prog installation (>100), and close this messge everytme opened?Regardscoucou Link to comment Share on other sites More sharing options...
MHz Posted January 13, 2007 Share Posted January 13, 2007 Is there anyhow to get ride from this error message? like to run in background an AutoIt script staying alive during all the WPI prog installation (>100), and close this messge everytme opened?Here is a couple of examples depending on the condition of when you want the script to jump out of the loop.; Wait for a process to exist before ending the loopDo Sleep(2000) If WinExists('Windows Installer', 'This installation package could not be opened') Then ControlClick('Windows Installer', 'This installation package could not be opened', 'Button1') EndIfUntil ProcessExists('SomeProcess.exe'); Wait for a process to close before ending the loopWhile ProcessExists('SomeProcess.exe') Sleep(2000) If WinExists('Windows Installer', 'This installation package could not be opened') Then ControlClick('Windows Installer', 'This installation package could not be opened', 'Button1') EndIfWEnd Link to comment Share on other sites More sharing options...
Shark007 Posted January 13, 2007 Share Posted January 13, 2007 I've seen that error message from 7zip switchless installers using msistub.exeOften the cause is a typo in the commandline executing the msi.To see the commandline being used to execute the 7zip installer use this in a DOS prompt:Find /I "RunProgram=" "anyfilename.exe"Check the results against the files contained within the archive for typo's or missing files.shark Link to comment Share on other sites More sharing options...
coucou Posted January 14, 2007 Author Share Posted January 14, 2007 (edited) TNX all@MHz: As i have many .msi prog to install with WPI and the error message appear any time, I think i should use the second script "Wait for a process (wpi) to close before ending the loop". The problem is i cant' find what process it is, since wpi is launched by wpi.hta file.@Shark007: Before relaunching this thread on Jan 12 2007, I've tested a new install on a virtual machine with a very restricted progs list and got the the Windows Installer error message. Here bellow the .msi progs in that restricted progs list:prog[pn]=[]desc[pn]=['<CENTER><b>Microsoft .NET Framework 1.1.4322.2032 SP1</CENTER></b><br>RyanVM Package Switchless Installer.']cmd1[pn]=['%cdrom%\\software\\NetFramework\\dotnet11sp1.exe']dflt[pn]=['yes'] cat[pn]=['System Tools']ordr[pn]=[1]pn++prog[pn]=['MD5win32']desc[pn]=['Hash reader make sure you have the downloaded file intact.']cmd1[pn]=['%cdrom%\\software\\RightClick\\MD5_Hash\\md5win32.msi /qn']dflt[pn]=['yes'] cat[pn]=['Right-Click Tweaks']ordr[pn]=[725]pn++prog[pn]=['QuickSFV 2.32']picf[pn]=['QuickSFV.gif']desc[pn]=['<b>Quick Verification</b><br>QuickSFV was designed with one goal ... to be quick! Existing SFV file verification programs were slow and cumbersome to use.']cmd1[pn]=['%cdrom%\\Software\\RightClick\\QSFV\\qsfv232.msi /qb']dflt[pn]=['yes'] cat[pn]=['Right-Click Tweaks']ordr[pn]=[782]pn++prog[pn]=['PathCopyEx']desc[pn]=['A very simple shell extensionthat copies the text path of any file/folder in Explorer to the clipboard. Saves a bit of time on all those annoying Browse for Folder windows!']cmd1[pn]=['%cdrom%\\Software\\RightClick\\PathCopy\\PathCopyEx.msi /QN']dflt[pn]=['yes'] configs[pn]=['Corporate, HEN']ordr[pn]=[780]pn++As you can notice, only NET Framework 1 (RyanVM Package Switchless Installer) is 7zip switchless installers using msistub.exe. Moreover, this last year i made many UA/WPI installations; NET Framework 1 is the 1st prog to be installed and as far as i can remember i never got the Windows Installer error message at that 1st prog install.Regardscoucou Edited January 14, 2007 by coucou Link to comment Share on other sites More sharing options...
MHz Posted January 14, 2007 Share Posted January 14, 2007 The problem is i cant' find what process it is, since wpi is launched by wpi.hta file.MSHTA.exe is the application for launching HTA files.ProcessWait('MSHTA.exe', 60)While ProcessExists('MSHTA.exe') Sleep(2000) If WinExists('Windows Installer', 'This installation package could not be opened') Then ControlClick('Windows Installer', 'This installation package could not be opened', 'Button1') EndIfWEnd Link to comment Share on other sites More sharing options...
coucou Posted January 14, 2007 Author Share Posted January 14, 2007 Well thought MHz TNX 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