can i run startup.bat file automatically after installation - 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!

ravi.kapa
Posts: 3
Joined: Tue May 20, 2008 11:53 am

can i run startup.bat file automatically after installation

I have a requirement
like bellow
1 it has to run instalation file created by Advacned Installer.
after finishing the installation
i want to run mines .bat file automatically.

can i do it. with Advanced Installer version6.3
if do it means pls help.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: can i run startup.bat file automatically after installation

Hi,

Please note that we have a Launch file after installation how-to which explains how to accomplish what you need.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ravi.kapa
Posts: 3
Joined: Tue May 20, 2008 11:53 am

Re: can i run startup.bat file automatically after installation

Sorry,
1.) It's allowing Only .exe,.dll file format.
my requirement is that application should launch .bat file .
and
2.) is there any way to uninstall older versions of Jre . in target system.
i.e(in pre-requsities suppose i given jre 1.5.0.14 then after launching my setup file sucessfully)
then it should remove/unistall older jre versions.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: can i run startup.bat file automatically after installation

Hi,
It's allowing Only .exe,.dll file format.
Please note that the "EXE" source type covers the BAT extension. Also, the "Launch file or open URL" custom action can launch any type of file.
is there any way to uninstall older versions of Jre . in target system.
I'm afraid that this is not supported by Windows Installer or Advanced Installer. However, this could be done by using a custom action which launches the uninstallation of the older JRE versions (I'm not sure how this custom action would look like). Note that this custom action must wait for each JRE version to uninstall because each of them uses a Windows Installer package (two MSI-based installations cannot run at the same time).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ravi.kapa
Posts: 3
Joined: Tue May 20, 2008 11:53 am

Re: can i run startup.bat file automatically after installation

Hi,
cosmin
Now It's working Fine.
Thank you for support Cosmin.


i hav one more reqiurement .can i change browser(ie. in Internet Explorer version 7.0 enable sunjava consolre like that)setting's using advanced installer.
in advanced installer i seen the option like min.IE version and Max.IE version
it's possible to edit the IE settings(ie. in Internet Explorer version 7.0 enable sunjava consolre like that).if Possible Please guide me .

thanks&regards,
Ravi

cosmin wrote:Hi,
It's allowing Only .exe,.dll file format.
Please note that the "EXE" source type covers the BAT extension. Also, the "Launch file or open URL" custom action can launch any type of file.
is there any way to uninstall older versions of Jre . in target system.
I'm afraid that this is not supported by Windows Installer or Advanced Installer. However, this could be done by using a custom action which launches the uninstallation of the older JRE versions (I'm not sure how this custom action would look like). Note that this custom action must wait for each JRE version to uninstall because each of them uses a Windows Installer package (two MSI-based installations cannot run at the same time).

Regards,
Cosmin
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: can i run startup.bat file automatically after installation

Hi,

Please note that this is not supported by Windows Installer or Advanced Installer. However, it could be done through a custom action, but I'm not sure how this custom action would look like.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”