473,246 Members | 1,947 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,246 software developers and data experts.

Create Shortcut as Part of Installation Process (VB6)

ADezii
8,834 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
  7.  
Aug 7 '20 #1
0 3236

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

Similar topics

3
by: Henne | last post by:
Hello, in VB6 we werr able to make ActiveX-DLL's (In Process Components) and ActiveX-Exe (Out Of Process Components). Out Application is build of one main application that starts other...
1
by: Sylvain | last post by:
Hi ! I have written an installer (with Innosetup) which do many things and one of them is checking for a required version of installed Jet4 ans if necessary, install it according to the OS. It...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
1
by: A_PK | last post by:
Hi, Thank for Harry and Ken for guiding me the installation process of Pocket PC. Now, seem to be able to install with one cab file under my ini file. Anyway I have another problem here. I...
3
by: bdcherry | last post by:
HI, is there any who can help me to know, about the problem of I am facing..my problem is I had windows XP and I have installed vista, but everytime I open the message come that your DMA mode windows...
9
by: tigger | last post by:
Hi, I'm using Visual Basic 2005. I'm trying to create shortcut keys for my buttons. Currently, i have 2 buttons, presentButton and plotButton. When i press spacebar, it will perform the...
1
by: bipi | last post by:
Hi everybody, I deploy my project by using .NET deployment. I create shortcut at Desktop, but this shortcut does not have "Run as..." option. How can I create shortcut with "Run as..." option...
0
by: radhikabista | last post by:
have anyone solved the problem: sql server 2005 express installation + process exited with code 1706 "The end point format is invalid" while installing sql server 2005 as prerequisites. i m...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.