The SW_SHOWMINIMIZED parameter doesn't work. When I try this line, the shortcut stay in normal run.

CreateShortCut "$SMSTARTUP\Save 'O Matic.lnk" "$INSTDIR\saveomatic.exe" "" "$INSTDIR\saveomatic.exe" 0 SW_SHOWMINIMIZED

But with SW_SHOWMAXIMIZE, it works. The shortcut stay in maximized mode.

Have you got any suggestions ? Thx.

Jimmy