PDA

View Full Version : fixing the "cannot find previous version" error on install.



NewsArchive
03-25-2008, 02:20 AM
is there any way other than a total reinstall to fix this error? the CLI
file is fine, and so is the FOREXMGR.INI

help.


--
Andy <<Cowboy>> Stapleton
www.forexmgr.com
www.BlueCollarTradingSociety.com

NewsArchive
03-25-2008, 02:21 AM
Andy,

> is there any way other than a total reinstall to fix this error? the CLI
> file is fine, and so is the FOREXMGR.INI
>
> help.

I assume you are using different Product GUIDs for the main install and the
web update install and/or you have disabled the "Use Add/Remove Programs"
(in General Information) feature in your main install.

If you are using the "Store Properties in INI File" option then you can also
try to detect the previous version with the "Get System Information
(Installer Path Name)" function.

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

Hope this helps.

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

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

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
03-27-2008, 02:22 AM
Friedrich,
For your record...
I cant make it work.
Using the "Store Properties in INI File"
Having enabled the "Use Add/Remove Programs"
"Get System Information (Installer Path Name)" function returns error and
"Detect Previous Version("[productguid]") function works OK
Whichs the difference between them?

--

Saludos / Regards,

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

NewsArchive
03-27-2008, 02:23 AM
Alberto,

> For your record...
> I cant make it work.
> Using the "Store Properties in INI File"
> Having enabled the "Use Add/Remove Programs"
> "Get System Information (Installer Path Name)" function returns error and
> "Detect Previous Version("[productguid]") function works OK
> Whichs the difference between them?

What does not work? The function "Get System Information (Installer Path
Name)" cannot return an error because this function does not return any
value at all.

So if it does not work for you then you did not follow my instructions <g>

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

Note the out-commented lines 39, 41-44?

Does this help?

Friedrich

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

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

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
03-28-2008, 02:26 AM
Yes, it helps about not to show the error message but, if I add a MessageBox
after the "Get System Information (Installer Path Name)" showing the
%_SB_INSTALLDIR% y get a wrong folder, the same that I get if I put the same
Message after the initial Set variable %_SB_INSTALLDIR%...

--


Saludos / Regards,
Alberto

NewsArchive
03-28-2008, 02:27 AM
> Yes, it helps about not to show the error message but, if I add a
> MessageBox after the "Get System Information (Installer Path Name)"
> showing the %_SB_INSTALLDIR% y get a wrong folder, the same that I get if
> I put the same Message after the initial Set variable %_SB_INSTALLDIR%...

I don't know you code, but it's very simple. See wupdate.sb6, line 35.
%TMPDIR% is set to the folder where wupdate.exe is located in. wupdate.exe
downloads your web installer package to %TMPDIR% and executes it in
%TMPDIR%.

In other words, your "Get System Information (Installer Path Name)" function
in the installer package returns the path where wupdate.exe is located in.

Hope this helps.

Friedrich