How to pass the destination path to RUN PROGRAM?
Posted: Tue Sep 21, 2010 10:38 am
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
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