473,320 Members | 1,900 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,320 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 3239

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...
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.