Calling exe from Update script

Got a problem you cannot solve? Try here.
Post Reply
smi
Posts: 4
Joined: Fri Dec 30, 2011 1:27 am

Calling exe from Update script

Post by smi »

I have a exe that is installed during the installation time of the product i want to call that exe when updating the product.What path should i provide in Run Program As command in update script
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: Calling exe from Update script

Post by bokkie »

A simple way to do it is to add the exe to your script and place it in the file bag. The file bag is always known to your installation even if you might not have installed the file beforehand. If you're using a recent version of IA (12 for example) you can switch to hybrid-mode which'll give you guaranteed file installation so your "run program as" will be able to use the file. Otherwise, you might not get the file installed until after the Apply Install like earlier versions did. It depends on the sequencing and when things happen. The file bag might be better in that respect as you can add the exe as a support file and the file bag will let you use it when you need it.

If you're using a .Net ask yourself if the target machine has the framework installed that your exe requires. :wink:
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Calling exe from Update script

Post by FrancescoT »

Thanks Peter .. I fully agree with you. :D
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply