NewsArchive
10-19-2010, 12:07 AM
Hi Friedrich,
I'm having a problem with the /F parameter for wucheck.exe. Whenever I use
it I get -3 returned.
The command line is:
C:\BrokerOffice\wucheck.exe /C /S /F="C:\BrokerOffice\serverversion.ini"
This returns -3 every time. I compiled wucheck.exe from the wucheck.sb7
script to make sure it was all up to date, but that didn't make any
difference.
If I do _not_ use double quotes around the name I get 1 (correct) but the
serverversions.ini is not created.
If I remove the /S so it's not silent I get a message:
"Server Version File Error:
Host version 0
Local Version: C:\BrokerOffice\serverversion.ini"
Hmm... Something is NOT right here:
! Command Line Switch: /C
If %_SB_INSTALLERFLAG% Equals "1" on Position "$SB_CHECKFORUPDATES$" Then
! Download version file from host
Download File from "%HOST_ADDRESS%/%HOST_DIRECTORY%/%HOST_INI%" to
"%TMPPATH%" [no-cache] [Permanent]
If %_SB_ERRORCODE% Does Not Equal "0" Then
Display Message Box "Cannot download server manifest file.\n\nNetwork
C..." -- "Web Update"
Exit Installation(-2)
End
! Read version ID located on host
Set Variable %HOST_VERSION% to FUNCTION:Get INI Value("Version") from
"%LOCAL_INI%"
Set Variable %HOST_UPDATEFILENAME% to FUNCTION:Get INI Value("Setup")
from "%LOCAL_INI%"
If %HOST_VERSION% Equals "0" Then
Display Message Box "Server Version File Error:\n\nHost Version:
%HOST_..." -- "Web Update"
Exit Installation(-3)
End
This downloads the %HOST_INI% to "TMPPATH% and then it sets the
%HOST_VERSION% to the value FROM %LOCAL_INI% This will always be 0 thus
terminating the install with -3.
I.e. the host_ini is downloaded to the _temp_ folder, but then it tries to
read the host version from the /F _specified_ folder. I don't see how this
can work???
Best regards,
--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
I'm having a problem with the /F parameter for wucheck.exe. Whenever I use
it I get -3 returned.
The command line is:
C:\BrokerOffice\wucheck.exe /C /S /F="C:\BrokerOffice\serverversion.ini"
This returns -3 every time. I compiled wucheck.exe from the wucheck.sb7
script to make sure it was all up to date, but that didn't make any
difference.
If I do _not_ use double quotes around the name I get 1 (correct) but the
serverversions.ini is not created.
If I remove the /S so it's not silent I get a message:
"Server Version File Error:
Host version 0
Local Version: C:\BrokerOffice\serverversion.ini"
Hmm... Something is NOT right here:
! Command Line Switch: /C
If %_SB_INSTALLERFLAG% Equals "1" on Position "$SB_CHECKFORUPDATES$" Then
! Download version file from host
Download File from "%HOST_ADDRESS%/%HOST_DIRECTORY%/%HOST_INI%" to
"%TMPPATH%" [no-cache] [Permanent]
If %_SB_ERRORCODE% Does Not Equal "0" Then
Display Message Box "Cannot download server manifest file.\n\nNetwork
C..." -- "Web Update"
Exit Installation(-2)
End
! Read version ID located on host
Set Variable %HOST_VERSION% to FUNCTION:Get INI Value("Version") from
"%LOCAL_INI%"
Set Variable %HOST_UPDATEFILENAME% to FUNCTION:Get INI Value("Setup")
from "%LOCAL_INI%"
If %HOST_VERSION% Equals "0" Then
Display Message Box "Server Version File Error:\n\nHost Version:
%HOST_..." -- "Web Update"
Exit Installation(-3)
End
This downloads the %HOST_INI% to "TMPPATH% and then it sets the
%HOST_VERSION% to the value FROM %LOCAL_INI% This will always be 0 thus
terminating the install with -3.
I.e. the host_ini is downloaded to the _temp_ folder, but then it tries to
read the host version from the /F _specified_ folder. I don't see how this
can work???
Best regards,
--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php