Page 1 of 1

How to pass the destination path to RUN PROGRAM?

Posted: Tue Sep 21, 2010 10:38 am
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

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

Posted: Tue Sep 21, 2010 5:59 pm
by mills
Check the help topic "Setup Command Line Parameters".

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

Posted: Wed Sep 22, 2010 9:49 am
by KevinTX
Thanks, Andy. I got it working now.