Minimize abbreviations in NSIS

In Windows, you can edit the properties of the shortcut and choose whether to launch the target window of the program normally, minimize or maximize it.

I am creating an installer in NSIS, and there are several batch files to which I would like to create shortcuts and run them with minimal ones. Anyone what options to include in CreateShortcutto accomplish this?

+3
source share
1 answer

Below is a very simple example of a shortcut that launches a target with a minimum value. Empty lines are for additional parameters that are ignored in this example. For more information see Link

CreateShortCut "MyShortcut.lnk" "MyProgram.exe" "" "" "" SW_SHOWMINIMIZED
+5

Source: https://habr.com/ru/post/1710850/


All Articles