Archive: MUI_FINISHPAGE_RUN - Set directory to run from?


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


InstallDir doesn't work for you?


@ 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.


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.