Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#234 CreateShortcut: New set WorkDir param

open
nobody
Scripting (12)
5
2011-04-18
2011-04-18
Anders
No

A quick patch for bug #3288141 (which really should be a request)

Does all the work at compile time by adding Push $outdir + StrCpy $outdir ${userworkdir} ... + Pop $outdir. (No extra parameter or "" for old behavior ($outdir and no extra code added) and " " special cased to mean empty workdir (Will create smaller .lnk, and the workdir is usually not required and I suspect a lot of installers end up setting their workdir to "$SMPrograms\Myapp"!)

We might want to look into stuffing this in the same parameter as the icon index or show command and split it up in exehead...

Discussion