Otherwise spaces cause trouble. I'm not convinced that this is correct,
but it's what Microsoft's examples do, and I don't have a better plan.
Section "Register file type"
WriteRegStr HKCR .dui "" dep-ui-file
WriteRegStr HKCR .dui "Content Type" application/x-dep-ui
- WriteRegStr HKCR dep-ui-file\shell\open\command "" "$SYSDIR\javaw.exe -cp $\"$INSTDIR\dep-ui.jar$\" Startup %1"
+ WriteRegStr HKCR dep-ui-file\shell\open\command "" "$SYSDIR\javaw.exe -cp $\"$INSTDIR\dep-ui.jar$\" Startup $\"%1$\""
SectionEnd
Section "Uninstall"