Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15571

Create Shortcut as Part of Installation Process for VB6 Program

$
0
0
As part of my Installation Process for a Program that I created, I would like to create a Shortcut to the Installed Executable on All Users Desktop. I modified Setup.lst, in the [Setup] Section, as indicated below, to force Installation to a Default Directory. The Application Name is predefined, and I know how to create the Shortcut via Windows Script Host. My question is where, exactly, do I place the Code to create this Shortcut? I'm assuming that I would need to insert the Code in the Load() Event of Setup1.frm, but not really sure. Thanks in advance.
Code:

[Setup]
Title=Where to put Shortcut
DefaultDir=$(ProgramFiles)\Where to put Shortcut
ForceUseDefDir=1
AppExe=Shortcut.exe
AppToUninstall=Shortcut.exe


Viewing all articles
Browse latest Browse all 15571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>