PDA

View Full Version : Webupdate build and ideploy



NewsArchive
09-29-2005, 05:38 AM
Hi

I finally got it right...after a few false starts...and I know why I got
it right...so I am very pleased with myself .,..and with Setupbuilder
and the team that produced it...(FL)

It seems you may NOT make your update file name (the exe) the same as
the existing exe. The documentation does not explicitly state that and
i am very poor at reading "between the lines"

Now I need to figure out how to get the "your program is running..close
it now or die..." message if there is a new update available...

Have a nice day

Ben

NewsArchive
09-29-2005, 05:38 AM
Hi Ben,

Thank you :)

What is your existing exe name? Your application or the installation
executable?

We are using this to make sure sbuilder.exe is not active:

Loop
Set Variable %SB5ACTIVE% to Detect Active Application(sbuilder.exe)
If %SB5ACTIVE% Equals "1" Then
Display Message Box "SetupBuilder (sbuilder.exe) is currently running.
...." -- "Application currently running"
If %_SB_RETURN% Equals "$IDCANCEL$" Then
Exit Installation
End
Else
Break Loop
End
End

Does this work?

Thanks,

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

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

NewsArchive
09-29-2005, 05:52 AM
I am on a mission right not to search for a bug in clarion ...

i will get back to you soon..

Thanks

Ben

NewsArchive
09-29-2005, 05:52 AM
Okay, thanks.

Friedrich

NewsArchive
09-29-2005, 08:13 AM
the current file name is QAR.exe....and I had the installation also as
QAR.exe instead of somethign like QAR_101.exe.

Where do I put the scripts in .....(images are appreciated)

Regards

Ben

NewsArchive
09-29-2005, 08:14 AM
Ben,

> the current file name is QAR.exe....and I had the installation also as
> QAR.exe instead of somethign like QAR_101.exe.

Aha!!! Makes sense, thank you. I'll change the documentation.

> Where do I put the scripts in .....(images are appreciated)

Sorry, brain dead today (or this week). Which "scripts"?

Friedrich

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

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

NewsArchive
09-29-2005, 08:14 AM
Hi Friedrich,

>What is your existing exe name? Your application or the installation
>executable?

I had this problem when I started with the web update. My Clarion exe
is named BrokerOffice.exe. I had called the webupdate BrokerOffice,
so it created the download stub as BrokerOffice.exe. The install
would then fail when the download stub was updating the main exe
because it was already running - as the download/install stub<g> I
_think_ that is the problem that Ben had.

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-29-2005, 08:15 AM
Translation = 100% correct...

Thanks

Ben

NewsArchive
09-29-2005, 08:15 AM
Hi Arnór,

Hmm, I think you are right. I'll add a warning to the documentation.

Thank you!!!

Friedrich

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

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

NewsArchive
09-29-2005, 09:08 AM
Loop
Set Variable %SB5ACTIVE% to Detect Active Application(sbuilder.exe)
If %SB5ACTIVE% Equals "1" Then
Display Message Box "SetupBuilder (sbuilder.exe) is currently
running. ...." -- "Application currently running"
If %_SB_RETURN% Equals "$IDCANCEL$" Then
Exit Installation
End
Else
Break Loop
End
End

Ben

NewsArchive
09-29-2005, 09:09 AM
Silly me :) See screen-shot.

Does this help?

Friedrich

NewsArchive
09-29-2005, 09:09 AM
I think I got it...

The code editor just needs a bit getting used to ...but then it is
fine...friedrich linder wrote:


Thanks

NewsArchive
09-30-2005, 05:37 AM
Hi Friedrich,

>Hmm, I think you are right. I'll add a warning to the documentation.

It caused some cryptic errors, but when I realized it was the same
filename it clicked into place<g>

Also: I could not find any information in the help file about the
return codes for wupdate.exe. I know I can go look at the script, but
I'm lazy<g>

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-30-2005, 05:37 AM
Hi Arnór,

<g>

You are right. I'll add this to the documentation :)

Friedrich

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

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