Catrina
September 19th, 2001, 10:13 AM
I have modified the setup1 file to place an icon on the desktop, but I'd like to do 2 other things and have not been able to find information on the way to do it.
1. I want to detect if the icon is already on the desktop, if it is, I will skip replacing it.
2. The start in location is different than the program path. I want to plug this in using data the user keys at the beginning of the setup. I'm not sure how to change the start in line.
Here is the code I am currently using.
Thank you
Catrina
strProgramPath = SavePath$ & "ipdpwin.exe"
strGroup = "..\..\DeskTop"
strProgramIconTitle = "PDP Payroll"
sParent = "$(Programs)"
CreateShellLink strProgramPath, strGroup, strProgramArgs, strProgramIconTitle, true, sParent
1. I want to detect if the icon is already on the desktop, if it is, I will skip replacing it.
2. The start in location is different than the program path. I want to plug this in using data the user keys at the beginning of the setup. I'm not sure how to change the start in line.
Here is the code I am currently using.
Thank you
Catrina
strProgramPath = SavePath$ & "ipdpwin.exe"
strGroup = "..\..\DeskTop"
strProgramIconTitle = "PDP Payroll"
sParent = "$(Programs)"
CreateShellLink strProgramPath, strGroup, strProgramArgs, strProgramIconTitle, true, sParent