Sheik
9th March 2007 22:34 UTC
MUI_FINISHPAGE_RUN - Set directory to run from?
Hi all,
For the "MUI_FINISHPAGE_RUN" option, is there a
way to tell it what directory to "start in"?
Is "SetOutPath" valid in the "Pre" function of Finish?
After quickly testing this, it appears to work just fine!
I will still post this, just in case anyone else runs into
the same question as I.
Scott
Joel
10th March 2007 04:18 UTC
InstallDir doesn't work for you?
Red Wine
10th March 2007 09:22 UTC
@ Sheik, I think you're confusing the shortcut creation step, where the SetOutPath feeds the 'start in' parameter of the created shortcut, with the checkbox 'run my application' on the finish page which is a different step.
kichik
10th March 2007 10:30 UTC
Red Wine, SetOutPath sets the Start In directory for both shortcuts and Exec/ExecWait.
Sheik, setting it in the Pre function should work but using MUI_FINISHPAGE_RUN_FUNCTION and setting it in the function would be clearer and must work.