View Full Version : Run program before install files?
NewsArchive
10-30-2007, 02:33 AM
I just had a case where the customer didn't run my FM3 app before installing
an update, so the next update failed with a Error 47.
Is it considered ok to start a program on the customers computer before
install files, to force them to do what I want them to?
Where would the best place in the installscript be to add code for that?
Thanks
Bjarne
NewsArchive
10-30-2007, 02:34 AM
Hi Bjarne,
Absolutely no problem. You can add the functions wherever you want.
I would suggest to do it after the first "Loop Wizard" Statement. That's
after the Welcome, License Agreement, Ready to Install, etc. wizards.
Does this help?
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6.6
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
10-30-2007, 02:35 AM
> I would suggest to do it after the first "Loop Wizard" Statement. That's
> after the Welcome, License Agreement, Ready to Install, etc. wizards.
Excellent. I added a "Do you want to run program" message in the Install
Files section instead, followed by a Run statement if OK was pressed,
because there I am sure the installdir variable is correct. It seems to work
just like I want. I am a little uncertain on how many dialogs I will add to
this setup - there are myriades already, so I found checking for DialogID a
little unsure.
Bjarne Havnen
NewsArchive
10-30-2007, 02:35 AM
Hi Bjarne,
>Is it considered ok to start a program on the customers computer before
>install files, to force them to do what I want them to?
>Where would the best place in the installscript be to add code for that?
I do this with the C6Fix for Vista. I run it as the first thing in
the install script since the rest of the script kind of depends on the
C6 install being correct and finished<g> So far I have not had any
problems with it.
Best regards,
ArnĂ³r Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com
Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php
NewsArchive
10-30-2007, 02:36 AM
> Is it considered ok to start a program on the customers computer before
> install files, to force them to do what I want them to?
> Where would the best place in the installscript be to add code for that?
Bjarne,
One thing to consider is that if you RUN the conversion program from the
installer, then on Vista the installer is running in elevated status.
So if your program is using the CSIDL information to determine the location
of the data files (and they are user specific), then your conversion may
not run as expected.
Welcome to Vista!
;-)
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.