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
LVL 1
srinibAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gafoor78Commented:
Hi

u can make a cd autorun very easily

in notepad type these lines

[autorun]
OPEN=Setup.exe // here use exe file that needs to run automatically

then save this file as autorun.inf ( remember u shud select all files from save as type while saving, then type the full name as autorun.inf )

then u put this file in the root of ur cd.

i hav installshiled 5.53 professional with me. using that it is easy to add icons in desktop and start menu shortcuts graphically with the help of the install shields left pane.
yes from the resource tab u can see a treeview of resources, if yes u can also see shell object item, under that there is explore shell -> desktop -> startmenu -> programs. there u can add shortcut to the place where u want...

but this is i am doing by changing powerbuilder template available in installshield..

i don't know whether it is available in free version.

rgrds
gafoor
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BhattiCommented:
InstallShield 5.0 put in the desktop "icon" and in startmenu only for WindowsNT.
Not for Windows xx.

Best regards


Bhatti

0
srinibAuthor Commented:
Is SETUP.exe also to be copied in  CD root ?
0
gafoor78Commented:
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
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.