PDA

View Full Version : Newbie Question



NewsArchive
01-07-2015, 05:22 AM
New to Setup Builder and trying to get a good install for my program.
I would like during the setup to give the user the option of opening my
application documentation (Word document) which they just installed in
the application folder. Tried my hand at this since it seems a simple
task but just getting frustrated and hoping someone here can steer me
in the right direction.

Thanks for any advice

John McElhatton

NewsArchive
01-07-2015, 05:22 AM
Hi, John,

You are, of course, assuming that all your customers have Word on their
machines...

That said, I think you can use the Run Program script item.

It's a bit more complicated if you want to do a "do you want to run this?"
screen in your wizard. (For that, it's a good idea to download and play
with the examples.)

But at its simplest, what you could try:

Add the Run Program script item

In the "File Name" field, put the name of your Word document file. (You can
use the blue folder button that line to browse for it.) This should be just
the file name.

In the Target Folder, you'll need to put the folder name where the Word
document is installed on YOUR CUSTOMER'S machine. The blue folder button on
that line will show you the structure that will be installed on your
customer's machine. If you're not doing anything special, select the
"Application folder" (assuming that's where your *.doc file is going to wind
up.)
If that's what you select, you'll see the %_SB_INSTALLDIR% variable in the
Target Folder line. (That way, it should work even if your customer chooses
a non-default location.)

Mark the Use ShellExecuteEx checkbox.

That should open your file.

Hope that helps.

Jane

NewsArchive
01-07-2015, 05:23 AM
John,

> New to Setup Builder and trying to get a good install for my program.
> I would like during the setup to give the user the option of opening my
> application documentation (Word document) which they just installed in
> the application folder. Tried my hand at this since it seems a simple
> task but just getting frustrated and hoping someone here can steer me
> in the right direction.

Everything Jane said and one more bit, save it as an RTF file since
they will have WordPad.

--
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

Creative Reporting: http://www.CreativeReporting.com

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

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"

NewsArchive
01-07-2015, 12:02 PM
John I tend to use html for the documentation. Much more universal. Then it
can open in the browser on their machine.

I use Help and Manual for my Help Files but you do not have to use that. All
sorts of stuff produces HTML output.

Just a thought.

John