|
-
Dec 27th, 2012, 05:41 PM
#1
Thread Starter
Addicted Member
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:
[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
Last edited by batman321; Dec 27th, 2012 at 06:03 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|