Link to home
Start Free TrialLog in
Avatar of srinib
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
ASKER CERTIFIED SOLUTION
Avatar of gafoor78
gafoor78
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bhatti
Bhatti

InstallShield 5.0 put in the desktop "icon" and in startmenu only for WindowsNT.
Not for Windows xx.

Best regards


Bhatti

Avatar of srinib

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