PDA

View Full Version : Run pgm at end of install



NewsArchive
01-11-2007, 10:46 AM
Good morning Friedrich,

In an sb5 project, I launch the installed program at the completion of the
install. The same project (converted by sb6) in sb6 does not launch the
installed program.

It turns out the difference is that, because the "Loop Wizard, Wizard Auto
Break,End" at the end of the script is no longer supported in sb6 so I
commented it out. Program does not launch. If I UNcomment those three
statements, the app does launch in sb6, even though the compiler says the
Wizard Auto Break is no longer supported.

Not a big deal since I was able to get around it, but any thoughts?

Thanks

Skip

NewsArchive
01-11-2007, 10:46 AM
Hi Skip,

Hmm, works fine here. Our SB6 install does the same (it executes the IDE at
the end of the installation).

The only difference between SB5 and SB6 is that the compiler adds the
"Wizard Auto Break" automatically. It's still in the compiled executable.

Could you send a small demo script?

Thanks,
Friedrich

NewsArchive
01-11-2007, 10:46 AM
I'll try and get one put together that shows this.

Also is it possible to launch the app after a silent install? Dosent seem to
do that when the Silent Install box is checked..

Sorry for all the questions. I am on a fast track to replace a Wise install
and Wise Webupdate in our main app.

Thanks again.

Skip

NewsArchive
01-11-2007, 10:47 AM
While I've got your ear.

On a silent install, I want to make the %sb_installdir% to be the directory
from where the wupdate.exe was run (where the program was initially
installed as the user may have changed the install dir).

Is there a way to do this or is there a compiler variable?

Thanks

Skip

NewsArchive
01-11-2007, 10:47 AM
Just use the "Get System Information (Installer Path Name)" function to set
the %_SB_INSTALLDIR% runtime variable.

Does this help?

Friedrich

NewsArchive
01-11-2007, 10:47 AM
In this case I would suggest to test (in the script) if this is a "silent"
install and then execute all required executables.

Friedrich

NewsArchive
01-11-2007, 10:47 AM
Thanks Friedrich.

Got it working on both items!

Skip

NewsArchive
01-11-2007, 10:48 AM
PS...Did I tell you how much I like Setupbuilder and how much I dislike
Wise!!!

I will be so glad when all of our Wise'es are gone!

Skip

NewsArchive
01-11-2007, 10:48 AM
Thank you so much :) This is music to my ears ;-)

Friedrich