Quantcast
Viewing all articles
Browse latest Browse all 254

P&D Wizard desktop shortcut problem

Hi,

I have tried to solve this problem myself, I am here as last resort.

My VB6 application can create a desktop icon during setup which is great, but the P&D wizard doesn't create the program's .exe file in the folder the user selected. My program creates the desktop shortcut in XP but an error was created in Vista that said "unable to create desktop shortcut"....

I have read tutorials on editing the P&D wizard setup code, and it seems correct. Maybe I haven't edited the setup.lst file properly. The Group1=DESKTOP and [DESKTOP] headings is text I have added myself from tutorials.

Also, my program's icon image is not "linked" to the desktop shortcut, perhaps this will work once my
program's .exe file is saved in the installation folder.

Here is my Setup.lst code:

Quote:

[IconGroups]
Group0=Client_Master
PrivateGroup0=-1
Parent0=$(Programs)

Group1=DESKTOP
PrivateGroup1=-1
Parent1=$(Programs)

[Client Master]
Icon1="Client_Master.exe"
Title1=Client Master
StartIn1=$(AppPath)

[DESKTOP]
Icon1="Client_Master.exe"
Title1=Client Master
StartIn1=$(AppPath)

[Setup]
Title=Client Master
DefaultDir=$(ProgramFiles)\Client Master
AppExe=Client_Master.exe
AppToUninstall=Client_Master.exe


Viewing all articles
Browse latest Browse all 254

Trending Articles



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