Can't launch BAT file. - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

bjorn
Posts: 1
Joined: Mon Feb 08, 2010 11:30 am

Can't launch BAT file.

Hi,

I'm trying to launch a BAT with a Custom Action and I'm using the Howto user guide "How do I launch a CMD or BAT file?

I always get this error when running the install: "There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support or package vendor"

And when I run and log the install from Advanced Installer it returns this error: "CustomAction viewer.exe returned actual error code -1 (note this may not be 100% accurate if translation happened inside sandbox) MSI (s) (98:08) [10:52:30:780]: Note: 1: 1722 2: viewer.exe 3: C:\Windows\Installer\MSIAB09.tmp 4: C:\Program Files\program\register.bat "

Also if I set Custom Action Execution properties to ignore return code, then the install finishes without errors but never launches the BAT file.

Any idea what I'm doing wrong?

I'm using Advanced Installer 7.5 Enterprice and running it on Windows 7 Professional

Thanks in advance.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Can't launch BAT file.

Hi Bjorn,

Please send your .aip project file to support at advancedinstaller dot com so we can take a look.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”