470,647 Members | 1,417 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,647 developers. It's quick & easy.

Create Shortcut as Part of Installation Process (VB6)

8,805 Expert 8TB
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.
Expand|Select|Wrap|Line Numbers
  1. [Setup]
  2. Title=Where to put Shortcut
  3. DefaultDir=$(ProgramFiles)\Where to put Shortcut
  4. ForceUseDefDir=1
  5. AppExe=Shortcut.exe
  6. AppToUninstall=Shortcut.exe
Aug 7 '20 #1
0 2985

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Sylvain | last post: by
4 posts views Thread by I_AM_DON_AND_YOU? | last post: by
1 post views Thread by Korara | last post: by
reply views Thread by warner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.