fasilak
Posts: 11
Joined: Thu Mar 16, 2006 10:07 am

Error prompting up

I have error message when running the installer.
There is a problem with this windows installer package. A program required for this install to complete could not b e run. Contact your support personnel or package vendor


I had a requirement which is mentioned in the post
http://www.advancedinstaller.com/forums ... i+contents


I had implemented as it has been mentioned.
Any Ideas why the above error occurs.

I am using ver 3.9

I have sent a copy of the aip to your email.
fasilak
Posts: 11
Joined: Thu Mar 16, 2006 10:07 am

Found the reason for this above Error.
I had an updater in the installer.

When the media is set to create cab files without compressing or including it to the MSI this error is raised.

When the media is set to place files unpacked with the MSI this works fine.

ANy idea :cry:
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

That error resides from the fact that you don't use the right options for the "updater.exe" custom action. So use "Deferred" execution option instead of "Immediate" and also use "Synchronous execution, ignore return code" as an execution properties.

Also note that you don't need to manually modify the AIP file if you have the installation files archived into CAB files. The AIP modification mentioned in the link below is used only if the installation files are not archived into CAB files.
http://www.advancedinstaller.com/forums ... i+contents

Regards,
Gigi
________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
spark
Posts: 19
Joined: Tue May 16, 2006 5:06 am
Location: Austria

Hi,
I also have the same error ... when i used the settings stated byyou,
the installer is showing me some INVALID COMMAND LINE error.... and When clicking on the updater also it wsa showing the same error..


May be i could used the wrong reference in the custom action parameters.. Please could you explain what all the parameters that i have to specify in the file...

Regards
Spark
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

It is not recommended to add the Updater as a Custom Action for your package. The only reason for doing this would be to check for updates as soon as the package is installed.

If, however, you require this, the Custom Action would be scheduled on the "InstallFinalize" stage. The "Execution Properties" for this CA would be set to "Asynchronous execution, do not wait for return". You also have to specify "Not Installed" as the "Execution Condition". Also, make sure that the correct parameters are specified in the "Command Line" field.

Please see the following post to learn more about the Updater tool:
http://www.advancedinstaller.com/forums ... =4071#4071

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”