Run a batch scrip from MSI package - 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!

pierre
Posts: 3
Joined: Fri Dec 12, 2008 3:00 pm

Run a batch scrip from MSI package

Hi

I need to deploy oracle client 10GR2 for windows on several computers.

I tried to realize a MSI package from capture with "repackage installation" but it is impossible after installation to create any ODBC link...

As i know oracle is strongly connected with java and error can come from here so i decided to create a silent install script with response file for oracle. This silent install script is a batch file which calls OUI with response file.

I tried to add this script in Custom actions in "InstallFinalize/New attached custom action (screen1) then i selected my batch file (screen2)

At least my custom action looks like that (screen3)

When i try to deploy it i get this error "There is a problem with this Windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."

Could you provide me a simple solution to launch a batch from MSI package installation or to package successfully an oracle client installation?
Attachments
screen3.jpg
screen3.jpg (206.92 KiB) Viewed 5425 times
screen2.jpg
screen2.jpg (87.43 KiB) Viewed 5425 times
screen1.jpg
screen1.jpg (51.5 KiB) Viewed 5425 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Run a batch scrip from MSI package

Hi,

The best solution is to add the installer of your Oracle client as a prerequisite in the package that you are creating with Advanced Installer,
here is an example of you can accomplish this.

If you don't like this solution here is how you can launch a bat file using a custom action.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”