Distinguish whether installer has been launched from ARP

Got a problem you cannot solve? Try here.
Post Reply
pokr
Posts: 14
Joined: Wed Apr 21, 2010 10:11 pm

Distinguish whether installer has been launched from ARP

Post by pokr »

Hi,

Is there a way to distinguish whether the installer has been launched from the Control Panel Add/Remove Programs applet or from another place (the source CD, for instance)? I would like to detect that in order to allow or disable some repair/reinstall functionality...

Txs,

pokr
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Distinguish whether installer has been launched from ARP

Post by mills »

You can check the value of EXEDIR.

If the exe is in the temp/cached location, then it's being run from ARP.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Post Reply