PDA

View Full Version : End of install Readme



NewsArchive
02-14-2012, 12:36 AM
I want to display text file with guide to new features at the end of the
install and also be able to
allow end user to print. Is there an example of this somewhere in the
example projects?

--
Dan Scott
C55 - C6.3 Legacy
Garage Partner Pro / Invoice Partner
www.garagepartner.com
Plan A is always more effective when the device you are working on
understands that Plan B involves a larger hammer

NewsArchive
02-14-2012, 12:37 AM
Dan,

> I want to display text file with guide to new features at the end of the
> install and also be able to
> allow end user to print. Is there an example of this somewhere in the
> example projects?

If it's a file you want to leave intact just install it and use "Run
Program" with ShellExecute. This will run the file in the users
preferred program, such as Notepad.

Just make it the last line in the script.

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Enhanced Reporting: http://CreativeReporting.com


Product Release & Update Notices
http://twitter.com/DeveloperPLUS

NewsArchive
02-14-2012, 12:37 AM
Lee

Never appears when I do run program.

--
Dan Scott
C55 - C6.3 Legacy
Garage Partner Pro / Invoice Partner
www.garagepartner.com
Plan A is always more effective when the device you are working on
understands that Plan B involves a larger hammer

NewsArchive
02-14-2012, 12:37 AM
Lee

You were right again.. I think I will let it go at running the rtf at the
end of install.

Thanks

--
Dan Scott
C55 - C6.3 Legacy
Garage Partner Pro / Invoice Partner
www.garagepartner.com
Plan A is always more effective when the device you are working on
understands that Plan B involves a larger hammer

NewsArchive
02-14-2012, 12:38 AM
Dan,

> I want to display text file with guide to new features at the end of the
> install and also be able to
> allow end user to print. Is there an example of this somewhere in the
> example projects?

Let us assume, you would like to display the text before the Finish dialog
(see attached screenshots):

1. Add the "Readme" dialog before the "Finish" dialog.

2. Open the dialog properties.

3. In the "String Resources" tab, click the 'Readme Text' browse button and
then the Edit button. Select your .rtf file. Click "OK" and then "Select".

3. Select the "Advanced" tab and mark the "Enable Print Button (RTF only)"
checkbox. The "RTF Support" checkbox is marked by default.

Click OK and compile. That's it :)

Friedrich

NewsArchive
02-14-2012, 12:39 AM
Or what Lee said. You can use the "Run Program..." ShellExecuteEx option to
open your file with the associated application (e.g. a .htm file with
Internet Explorer or .txt with Notepad, etc.).

Friedrich

NewsArchive
02-14-2012, 12:40 AM
Friedrich

This is what I get.

--
Dan Scott
C55 - C6.3 Legacy
Garage Partner Pro / Invoice Partner
www.garagepartner.com
Plan A is always more effective when the device you are working on
understands that Plan B involves a larger hammer

NewsArchive
02-14-2012, 12:41 AM
Dan,

>
> This is what I get.
>

There are two possible reasons:

1. You do not have a valid .rtf

-or-

2. You have a valid .rtf but you did unmark the "RTF Support" checkbox.

I have attached a demo for you (see danrtf.zip file).

Does this help?

Friedrich

NewsArchive
02-15-2012, 12:35 AM
Friedrich

Thanks for your calming effect.
All is fine now

--
Dan Scott
C55 - C6.3 Legacy
Garage Partner Pro / Invoice Partner
www.garagepartner.com
Plan A is always more effective when the device you are working on
understands that Plan B involves a larger hammer