Seeking help to add a script to Inno Setup Compiler that will 'copy' my shortcut 'files' or links to each user installing my app. The following ISS code is what I tried.
[Files]
; old way to execute my abc.exe routine.
Source: "...\abc.exe"; DestDir: "{app}\.."; Flags: sharedfile uninsneveruninstall ignoreversion
; next line is a NoGo ... Inno Setup Compiler says '...-launch' are not files!
Source: "...\abc-launch"; DestDir: "{app}\.."; Flags: sharedfile uninsneveruninstall ignoreversion
-----------
I have several apps that run in DOSbox, a Window's app that runs 16-bit DOS. The font size and colors of text & background are my problems. In order to fix these problems, shortcut's are created in Windows OS (within Windows Explorer) and are renamed "...-launch". Several batch files execute these '-launch' shortcuts with the 'start' cmd; e.g. start "%FCapp%'s DOSbox Setup" /wait abc.exe /openLF %FCname% ... parameters 4 input
This starts my abc.exe routine with the 'normal' small font size and a black background. This is hard for me to see.
Next, these '-launch' shortcuts were created that fix the font size and background color. This will allow each user that downloads my app to set their own size and colors. Now, my batch files execute these abc.exe files with a '...-launch' shortcut. These '...-launch' shortcuts are then executed in a batch file with a ... start "%FCapp%'s DOSbox Setup" /wait abc-launch /openLF %FCname% ... parameters 4 input .
This method provides a nice solution ... font size & background color are good. Plus, a user may change these settings if they would like too.
These '...-launch' shortcuts must -not- be deleted by user. But, 4 apps have some duplicate shortcuts so updates must be able to over-write or replace them. These shortcuts all have one or more parameters that must be passed to them. 'Pin' to desktop should be prohibited.
Ideas on how to create a script in Inno Setup to copy these '...-launch' shortcuts to every one of my apps and be installed to user that downloads one or more of my apps and installs it or them?
Thanks, Phil