Re: [CMake] CPack/WiX shortcuts with custom arguments

2019-04-03 Thread
To follow up on this, I tried creating a .bat file to run my program with the required command line arguments, but I was unable to add a shortcut to the .bat file because cmake appends ".exe" to the name of the executable in CPACK_PACKAGE_EXECUTABLES. I think the only way to make it work is to

[CMake] CPack/WiX shortcuts with custom arguments

2019-03-21 Thread
Hi, I'm attempting to transition from NSIS to WiX for our Windows installer and have been unable to find a way to create customised shortcuts with WiX (I would like to specify both the working directory and command line parameters). Some approaches I've tried are: * Specifying CPACK_PA