By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,986 Members | 1,583 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,986 IT Pros & Developers. It's quick & easy.

Creating desktop icons for Innosetup file

P: n/a
I have a test app that I am creating an Innosetup script for.
Everything works great except for the fact that my icons (start menu
and desktop) are not starting the executable in the appropriate
directory. This is causing problems because it can't find "icon.ico"
and other stuff. When I go and manually change the startpath on the
icon's property box, everything works fine. How do I ensure that the
icon starts in the apppath?
Thanks,

Harlin Seritt

Jul 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Harlin Seritt wrote:
I have a test app that I am creating an Innosetup script for.
Everything works great except for the fact that my icons (start menu
and desktop) are not starting the executable in the appropriate
directory. This is causing problems because it can't find "icon.ico"
and other stuff. When I go and manually change the startpath on the
icon's property box, everything works fine. How do I ensure that the
icon starts in the apppath?


You need to set the working dir for the icon in the [Icons] sections.
Adding the following to your icons should do the trick..

WorkingDir: {app};

HTH,

Will McGugan
Jul 18 '05 #2

P: n/a
Thanks Will! That did the trick.

Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.