Calling exe from Update script
Calling exe from Update script
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
Re: Calling exe from Update script
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.
If you're using a .Net ask yourself if the target machine has the framework installed that your exe requires.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
InstallAware MVP
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Calling exe from Update script
Thanks Peter .. I fully agree with you. 
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
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

