MSFN Forum: Windows Installer message during the unattended install - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Windows Installer message during the unattended install Rate Topic: -----

#1 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 806
  • Joined: 01-January 04

Posted 28 March 2006 - 11:09 AM

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?

TNX
coucou

Posted Image

This post has been edited by coucou: 12 January 2007 - 05:57 AM



#2 User is offline   kal 

  • Member
  • PipPip
  • Group: Members
  • Posts: 114
  • Joined: 07-March 04

Posted 28 March 2006 - 11:23 AM

Could you give us more information ? Which package ? What switches are you using to install it ? Did u test the command line beforce?

Kal

#3 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 806
  • Joined: 01-January 04

Posted 30 March 2006 - 10:07 AM

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 Tools
MBSA 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 comments
Setup=suptools.msi /qb
TempMode
Silent=1
Overwrite=1


Here 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" Then
Run("msiexec /i MBSASetup-FR.msi /qr")
;
Else
Run("msiexec /i MBSASetup-EN.msi /qr")
EndIf


Here the Office 2003 Resource Kit command
%cdrom%\\Software\\OfficeTools\\ResourceKit\\ORK.MSI /qb'


Everything (over 150 apps) was tested before burning the DVD

Regards
coucou

#4 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 30 March 2006 - 10:31 AM

View Postcoucou, on Mar 31 2006, 02:07 AM, said:

'WinXP SP2 Support Tools' is on the DVD as a winrar SFX archive and here the comments
Setup=suptools.msi /qb
TempMode
Silent=1
Overwrite=1

Try this
Setup=msiexec /i suptools.msi /qb
TempMode
Silent=1
Overwrite=1

View Postcoucou, on Mar 31 2006, 02:07 AM, said:

Here 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" Then
Run("msiexec /i MBSASetup-FR.msi /qr")
;
Else
Run("msiexec /i MBSASetup-EN.msi /qr")
EndIf

And try this
If 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


:)

#5 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 806
  • Joined: 01-January 04

Posted 30 March 2006 - 11:05 AM

TNX MHz,

I'll give a try later (in few days) cause i have to rebuild everything.

coucou

#6 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 806
  • Joined: 01-January 04

Posted 12 January 2007 - 06:36 AM

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?

Regards
coucou

#7 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 12 January 2007 - 09:04 PM

View Postcoucou, on Jan 12 2007, 10:36 PM, said:

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 loop
Do
	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')
	EndIf
Until ProcessExists('SomeProcess.exe')

; Wait for a process to close before ending the loop
While 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')
	EndIf
WEnd


:)

#8 User is offline   Shark007 

  • Repackaging Specialist
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,154
  • Joined: 07-January 04

Posted 12 January 2007 - 11:39 PM

I've seen that error message from 7zip switchless installers using msistub.exe
Often 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

#9 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 806
  • Joined: 01-January 04

Posted 14 January 2007 - 08:45 AM

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.

Regards
coucou

This post has been edited by coucou: 14 January 2007 - 09:27 AM


#10 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 14 January 2007 - 10:46 AM

View Postcoucou, on Jan 15 2007, 12:45 AM, said:

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')
	EndIf
WEnd


#11 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 806
  • Joined: 01-January 04

Posted 14 January 2007 - 11:56 AM

Well thought MHz
TNX

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy