 | | From: | Charlres | | Subject: | Desktop Icon | | Date: | Tue, 18 Jan 2005 19:08:32 -0500 |
|
|
 | How do I get Inno to place an icon on the desktop? I got it to put an icon on the setup executable. I do have it in the script (however, I'm not sure it's in the right place - it does pass through the compiler though,) and it does ask during the setup if I want to put the named icon on the desktop and/or to create a quick launch icon, but it does neither when it's finished installing the program.
Charles
|
|
 | | From: | Steve Hawkins | | Subject: | Re: Desktop Icon | | Date: | Tue, 18 Jan 2005 21:03:20 -0500 |
|
|
 | Sorry Charles... in my previous message, I meant to say "version 4" Inno script.
Charlres said... > How do I get Inno to place an icon on the desktop? -- Steve Hawkins Web site: sehawk dot com/db2K Charter Member #219 / running Gravity 2.2 in Michigan
There are 10 kinds of people in the world... those who get binary and those who don't.
|
|
 | | From: | Steve Hawkins | | Subject: | Re: Desktop Icon | | Date: | Tue, 18 Jan 2005 20:48:13 -0500 |
|
|
 | I don't know what version of Inno you are using, but in a version Inno script, this works for me:
[Icons] ; Application icon Name: "{group}\DCP 04"; Filename: "{app}\DCP.exe"; WorkingDir: "{app}" Name: "{userdesktop}\DCP 04"; Filename:"{app}\DCP.exe"; WorkingDir: "{app}"
It places an icon in the Program Group and on the user's desktop.
Charlres said... > How do I get Inno to place an icon on > the desktop?
-- Steve Hawkins Web site: sehawk dot com/db2K Charter Member #219 / running Gravity 2.2 in Michigan
There are 10 kinds of people in the world... those who get binary and those who don't.
|
|
 | | From: | Charles | | Subject: | Re: Desktop Icon | | Date: | Tue, 18 Jan 2005 22:21:05 -0500 |
|
|
 | Got it! Thanks! Now is there a way to set up a timer to pause the splash screen for a couple of seconds? It flashes by so quick that it's almost subliminal!
Charles
Steve Hawkins Wrote:
> I don't know what version of Inno you are using, but in a version Inno > script, this works for me: > > [Icons] > ; Application icon > Name: "{group}\DCP 04"; Filename: "{app}\DCP.exe"; WorkingDir: "{app}" > Name: "{userdesktop}\DCP 04"; Filename:"{app}\DCP.exe"; WorkingDir: "{app}" > > It places an icon in the Program Group and on the user's desktop.
|
|
 | | From: | Steve Hawkins | | Subject: | Re: Desktop Icon | | Date: | Tue, 18 Jan 2005 22:40:51 -0500 |
|
|
 | I don't know about controlling the splash screen. I could never figure it out. What I did in one app was use a regular form with a timer. I call the form in the STARTUP.PRG for my app.
The user can either look at it for 3 or 4 seconds before it closes, or if they are in a hurry, they can click the OK button and close the form immediately. Seems to work pretty well.
If you would like, I can email the relevant code snippets to you. Let me know.
Charles said... > Got it! Thanks! Now is there a way to set up a timer to pause > the splash screen for a couple of seconds? It flashes by so > quick that it's almost subliminal!
-- Steve Hawkins Web site: sehawk dot com/db2K Charter Member #219 / running Gravity 2.2 in Michigan
There are 10 kinds of people in the world... those who get binary and those who don't.
|
|
 | | From: | Charles | | Subject: | Re: Desktop Icon | | Date: | Tue, 18 Jan 2005 22:51:32 -0500 |
|
|
 | Please do.
grahamcp@journey.com
BTW, since you are so close, how about lunch sometime?
Charles
Steve Hawkins Wrote:
> I don't know about controlling the splash screen. I could never figure it > out. What I did in one app was use a regular form with a timer. I call > the form in the STARTUP.PRG for my app. > > The user can either look at it for 3 or 4 seconds before it closes, or if > they are in a hurry, they can click the OK button and close the form > immediately. Seems to work pretty well. > > If you would like, I can email the relevant code snippets to you. Let me > know. > > Charles said... > > Got it! Thanks! Now is there a way to set up a timer to pause > > the splash screen for a couple of seconds? It flashes by so > > quick that it's almost subliminal! > > -- > Steve Hawkins > Web site: sehawk dot com/db2K > Charter Member #219 / running Gravity 2.2 in Michigan > > There are 10 kinds of people in the world... > those who get binary and those who don't.
|
|
 | | From: | Steve Hawkins | | Subject: | Re: Desktop Icon | | Date: | Tue, 18 Jan 2005 22:55:57 -0500 |
|
|
 | It will probably be tomorrow evening before I can get the code sent out. It's sitting on a different computer right now.
In regards to lunch... yeah, we can do that. We'll talk further by email.
Also, just a friendly suggestion. Perhaps you don't have a problem with spam, but it is generally considered wise to never post your true email address on a newsgroup. Spammers scan newsgroups and harvest the email addresses. Just disguise it so the robots don't recognize it. For example, "grahamcp at journey dot com".
Charles said... > Please do. > > > BTW, since you are so close, how about lunch sometime? > >
-- Steve Hawkins Web site: sehawk dot com/db2K Charter Member #219 / running Gravity 2.2 in Michigan
There are 10 kinds of people in the world... those who get binary and those who don't.
|
|
 | | From: | Charles | | Subject: | Re: Desktop Icon | | Date: | Tue, 18 Jan 2005 23:06:35 -0500 |
|
|
 | Oh I have a problem with it all right. Everybody and their mother has it! I depend a lot on my ISP filtering out most of it. They usually stop about 100 or so a day. Thanks for the code (in advance.) Let me hear from you.
Charles
Steve Hawkins Wrote:
> It will probably be tomorrow evening before I can get the code sent out. > It's sitting on a different computer right now. > > In regards to lunch... yeah, we can do that. We'll talk further by email. > > Also, just a friendly suggestion. Perhaps you don't have a problem with > spam, but it is generally considered wise to never post your true email > address on a newsgroup. Spammers scan newsgroups and harvest the email > addresses. Just disguise it so the robots don't recognize it. For > example, "grahamcp at journey dot com". > > Charles said... > > Please do. > > > > > > BTW, since you are so close, how about lunch sometime? > > > > > > -- > Steve Hawkins > Web site: sehawk dot com/db2K > Charter Member #219 / running Gravity 2.2 in Michigan > > There are 10 kinds of people in the world... > those who get binary and those who don't.
|
|