I want to run my successfully installed Java program after the installation is complete. I know how to do this in principle:
[Run] FileName: "{app}\LaunchApp.bat"; Description: {cm:LaunchApp}; Flags: nowait postinstall skipifsilent
LaunchApp.bat:
start javaw -jar MyJar.jar Main
Thus, the console window appears for a short time, which is not very nice. Using links, this can be avoided. However, it seems that I canβt execute the link created in [Icon]
in the [Run]
section.
Any suggestions how to solve this?
source share