PDA

View Full Version : A different kind of install



NewsArchive
04-20-2006, 07:29 AM
Friedrich,
I am trying to create an install that processes a little different than
most and I just can't seem to get it right...

I have a program that I need to distribute in a single file EXE install.
the program already has it own install that is designed to run from a CD or
network drive. It has 17 files and a setup.exe. I have put all the files
under the Support tab in my SB install. I then put the Setup.exe under the
Run tab. I point the install to the Windows Temp directory.

The install works BUT, when the SB install exe reaches the progress screen
it sits in the backgroud eating up large amounts of CPU while the actual
program install processes.

I would like the SB portion to just end after it kicks off the setup.exe.

I can't seems to get the last part.

I hope this makes sense, if not and you want to take this off the NG please
send me a private email.

I have attached my script as it is now.

I know this is probably something simple I am just missing it.

Thank you,
Michael Melby

NewsArchive
04-20-2006, 07:29 AM
Michael,

What happens if you comment-out the "Display Setup Progress Dialog" line?

Some external installer fire events to the foreground progress bar dialog.
In your case I would display a "Wait Dialog..." (if the external installer
does not display a progress dialog). The "Wait Dialog" runs on its own
thread.

Something like:

! ---
Close Setup Progress Dialog

Display Wait Dialog
Run Program %TMPDIR%\Setup.exe (Always Install)
Close Wait Dialog

Display Setup Progress Dialog

! ---

Does this help?

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
04-20-2006, 07:30 AM
Hi Michael,

My initial thought was to suggest to just tick the "Run the program
once the installation exits" checkbox for the Run dialog. Upon
reflection I realized that you get SB5 to remove the installer and
suppor files etc so setup.exe would probably lose access to the other
files. But if Friedrich's suggestions don't work suitably then you
could still go this route by getting the setup.exe to do the tidying
up perhaps even by getting it to call the uninstaller.

Just a different perspective.

Best Regards,
Geoff Spillane