PDA

View Full Version : Web Update Previous Version detection failed



NewsArchive
05-29-2008, 02:05 AM
Friedrich,
I have a couple of Main / Web Update projects working ok but I´ve finished
a new one (copied from one of the others) and it refused to work.
I´ve installed the main app (storing data in ini file (IDEPPLOY.CLI))
Then uploaded the web update.
Run the web update,
The IDEPLOY.CLI contains
_version = 1
_check = 0
_last = 0
The web update detects there are a new version, download the web installer
but when it runs it says:

Previous Version Detection Failed.

After that the IDEPLOY.CLI contains
_version = 1
_check = 0
_last = 20080528

I´ve made a new Web Updater using the wizard but all is the same.

What could I check?

--

Saludos / Regards,

Alberto Michelis
ARMi software & technology solutions
www.armi.com.ar

NewsArchive
05-29-2008, 02:05 AM
Hi Alberto,

> I have a couple of Main / Web Update projects working ok but I´ve
> finished
> a new one (copied from one of the others) and it refused to work.
> I´ve installed the main app (storing data in ini file (IDEPPLOY.CLI))
> Then uploaded the web update.
> Run the web update,
> The IDEPLOY.CLI contains
> _version = 1
> _check = 0
> _last = 0
> The web update detects there are a new version, download the web installer
> but when it runs it says:
>
> Previous Version Detection Failed.
>
> After that the IDEPLOY.CLI contains
> _version = 1
> _check = 0
> _last = 20080528
>
> I´ve made a new Web Updater using the wizard but all is the same.
>
> What could I check?

I would check the Product GUID. IMO, you are using different Product GUIDs
in your main and web update project.

Does this help?

Friedrich

NewsArchive
05-29-2008, 02:06 AM
I thought it was but no, thats why I used the wizard to make a new project
from the main and its still happaning.
Is there any "obligation" on unistall?
Even if I´m working with .INI it looks at the unistall info?

--

Saludos / Regards,

Alberto Michelis
ARMi software & technology solutions
www.armi.com.ar

NewsArchive
05-29-2008, 02:06 AM
Hi Alberto,

>I thought it was but no, thats why I used the wizard to make a new project
> from the main and its still happaning.
> Is there any "obligation" on unistall?
> Even if I´m working with .INI it looks at the unistall info?

The "Detect Previous Version" function makes use of the Product GUID in the
uninstall key! I assume you do not have such uninstall information
available.

The following should help:

http://www.lindersoft.com/forums/showthread.php?p=18735

http://www.lindersoft.com/forums/showthread.php?t=7918

Friedrich

NewsArchive
05-29-2008, 02:07 AM
Thats it!
You are "obligued" to set the Add/Remove Program support EVEN if you use the
..INI option (I thought it does not use the registry at all)

If you dont do it, you cant do a Web Update system.

I suggest, with all my respects, and I hope not to be wrong, that you modify
the excellent

HOWTO: Add live Internet version updating to my program post to indicate
that.

and

may be the Web Update wizard, when it reads the main program can modify this
or advise the user to dot it.

and

may be the main project, when you set the Enable Web Update check do it
automatically.


--

Saludos / Regards,

Alberto Michelis
ARMi software & technology solutions
www.armi.com.ar

NewsArchive
05-31-2008, 03:46 AM
Am I wrong? may be I miss something...

--

Saludos / Regards,

Alberto Michelis
ARMi software & technology solutions
www.armi.com.ar

NewsArchive
05-31-2008, 03:46 AM
>
> Am I wrong? may be I miss something...
>

Oops, sorry. Did not know you expected an answer. What was the original
question?

Friedrich

NewsArchive
06-02-2008, 01:59 AM
If its required for SB to to set the Add/Remove Program support EVEN if you
use the
..INI option and if its required...
Why not set it autmatically ?

--

Saludos / Regards,

Alberto Michelis
ARMi software & technology solutions
www.armi.com.ar

NewsArchive
06-02-2008, 01:59 AM
> If its required for SB to to set the Add/Remove Program support EVEN if
> you
> use the
> ..INI option and if its required...
> Why not set it autmatically ?

Aha, okay. SetupBuilder 6 has no idea that you do not have an entry in the
Add/Remove control panel (the default option).

Just do the following and you are done.

http://www.lindersoft.com/forums/showthread.php?p=18932#post18932

HTH,

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

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
06-02-2008, 02:00 AM
Speaking at the Sb project design time, how could SB6 not to know that, when
I ckeck the enable Web Update, I forgot to set the Add/Remove option?, I
don't understand.
And if its really impossible, then I would suggest to add this to the help
and the HELP post you posted a while ago, if you follow it carefully (STEP
1: Initial Deployment), it does not work because you didn't set the
Add/Remove option.
Does this make any sense? Excuse me if I´m wrong.

--

Saludos / Regards,

Alberto Michelis
ARMi software & technology solutions
www.armi.com.ar

NewsArchive
06-02-2008, 02:00 AM
Hi Alberto,

> Speaking at the Sb project design time, how could SB6 not to know that,
> when
> I ckeck the enable Web Update, I forgot to set the Add/Remove option?, I
> don't understand.
> And if its really impossible, then I would suggest to add this to the help
> and the HELP post you posted a while ago, if you follow it carefully (STEP
> 1: Initial Deployment), it does not work because you didn't set the
> Add/Remove option.
> Does this make any sense? Excuse me if I´m wrong.

Because only the "Product Properties" are available to the web update wizard
in SB6.

We'll add a note to the next SB6 documentation. I think that 99.9% of all
developers have their product installation in the Add/Remove control panel
(Microsoft recommendation) so we never thought about this.

Thanks,
Friedrich

NewsArchive
06-02-2008, 02:01 AM
In SB7, there is an option now to choose between "Detect Previous
Version..." and "Get System Information (Installer Path)".

Friedrich

NewsArchive
06-02-2008, 02:01 AM
OK, I think it will be useful.

--

Saludos / Regards,

Alberto Michelis
ARMi software & technology solutions
www.armi.com.ar