How to pass the destination path to RUN PROGRAM?

Got a problem you cannot solve? Try here.
Post Reply
KevinTX
Posts: 23
Joined: Thu Aug 05, 2010 10:47 am

How to pass the destination path to RUN PROGRAM?

Post by KevinTX »

Hello,

I have a question on building 32/64-bit hybrid installer. It seems that the recommended approach is to invoke the 32-bit installer from with the 64-bit installer (or vice verse). Since the 32-bit installer is invoked in silent mode, the destination path will need to be based on the result of Destination dialog from the 64-bit installer. How do I pass this destination path to the 32-bit installer? Is there a parameter that specifies this?

It looks like that when the Destination dialog is completed, the variable $TARGETDIR$ is modified. So, I just need to derive the destination path (i.e., the target dir) for the 32-bit based on the $TARGETDIR$ and somehow pass it to the 32-bit setup.exe.

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

Re: How to pass the destination path to RUN PROGRAM?

Post by mills »

Check the help topic "Setup Command Line Parameters".
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.
KevinTX
Posts: 23
Joined: Thu Aug 05, 2010 10:47 am

Re: How to pass the destination path to RUN PROGRAM?

Post by KevinTX »

Thanks, Andy. I got it working now.
Post Reply