srinib
asked on
InstallShield
I am using Installshield5.0 free edition which come with in powerbuilder cd.
1) I have some problem when creating setup. I am not able to add desktop icon and also not able to add on startmenu programs.
My OS is win2000.
here is my code in SetupFolders()
svPath = TARGETDIR ^ "TestApp.exe";
LongPathToQuote ( svPath , TRUE );
AddFolderIcon( FOLDER_STARTMENU, "TestApp" , svPath , "" , "" , 0 , "" , REPLACE );
return 0;
2) Incase if i nedd my CD to autorun, what i should i do?
Thanks in advance
Srinib
1) I have some problem when creating setup. I am not able to add desktop icon and also not able to add on startmenu programs.
My OS is win2000.
here is my code in SetupFolders()
svPath = TARGETDIR ^ "TestApp.exe";
LongPathToQuote ( svPath , TRUE );
AddFolderIcon( FOLDER_STARTMENU, "TestApp" , svPath , "" , "" , 0 , "" , REPLACE );
return 0;
2) Incase if i nedd my CD to autorun, what i should i do?
Thanks in advance
Srinib
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Is SETUP.exe also to be copied in CD root ?
hi
it is not necessary to put setup.exe in root, then u hav to specify the path of the executable
for example if ur setup.exe is in a folder called program. then autorun.inf shud be like this,
[autorun]
OPEN=program\Setup.exe // here use exe file that needs to run automatically
but ur autorun.inf shud be in the root.
rgrds
gafoor
it is not necessary to put setup.exe in root, then u hav to specify the path of the executable
for example if ur setup.exe is in a folder called program. then autorun.inf shud be like this,
[autorun]
OPEN=program\Setup.exe // here use exe file that needs to run automatically
but ur autorun.inf shud be in the root.
rgrds
gafoor
Not for Windows xx.
Best regards
Bhatti