elanius
Posts: 38
Joined: Fri May 15, 2009 9:49 am

Run msi form another msi

Hi

I want to ask if there is some way to run .msi file from another .msi file. But I don't mean merge modules where you can run some sub-installation but I need launch another .msi file which is almost same as first. And than first has to finish.

What I need is this. In my installer I have to check newer version on internet and if there is some I need to download it and run. Ideally that user won't noticed it. I can do this by some third "agent" application which can check when first installation ends and than run new installation from downloaded file. But this is my last option. I am looking for some simplier way of doing this, is there something like that?

thanks for any reply.
octavian.vasilovici
Posts: 51
Joined: Tue Jan 25, 2011 2:43 pm

Re: Run msi form another msi

Hello,

What you are asking is not a standard procedure and there is no predefined way on how to do this. You can use the Auto-Updater program that comes with Advanced Installer to check for new updates after your msi finished installing. The Auto-Updater program can be launched in silent mode to check and install new updates. This way the user will not be aware of the update operation.
You can launch the Auto-Updater with the following command line parameter:

Code: Select all

/silentall 
More information about the Auto-Updater program can be found here.
Information on how to configure and use updates can be found on our online tutorial found here.

Please let us know if you have any other questions.

Best Regards,
Octavian Vasilovici
_______________________________________________________________________________________________________________________________________________
Octavian Vasilovici
Advanced Installer Team
http://www.advancedinstaller.com/
Octavian Vasilovici - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
elanius
Posts: 38
Joined: Fri May 15, 2009 9:49 am

Re: Run msi form another msi

Hi

Auto-Updater isn't acceptable for me. But also your answer that I can't do this in standard way is good for me. I know now that I have to use some another approach to achieve solution of this problem.

thanks.

Return to “Common Problems”