NewsArchive
06-14-2005, 07:02 AM
I am calling the wupdate.exe from my application using the CHAIN() command
and attempting to pass information to wupdate.exe on the command line. The
code looks like this:
VariableName = 'wupdate.exe /X ' & CLIP(PATH())
CHAIN(VariableName)
If I place a MESSAGE() after the VariableName assignment to look at the
contents it is correct and wupdate.exe runs.
The help indicates this should load the default variable %_SB_INSTALLDIR%
with the contents of the passed information.
I placed a message box in my wupdate.SB5 script on Line 25 to display the
contents of the %_SB_INSTALLDIR% and it is empty.
I am trying to send the application path to wupdate.exe so I can have it
execute my application after it completes the web update. This is the only
way I could find to tell wupdate.exe where the application is.
Thanks.
Lee
and attempting to pass information to wupdate.exe on the command line. The
code looks like this:
VariableName = 'wupdate.exe /X ' & CLIP(PATH())
CHAIN(VariableName)
If I place a MESSAGE() after the VariableName assignment to look at the
contents it is correct and wupdate.exe runs.
The help indicates this should load the default variable %_SB_INSTALLDIR%
with the contents of the passed information.
I placed a message box in my wupdate.SB5 script on Line 25 to display the
contents of the %_SB_INSTALLDIR% and it is empty.
I am trying to send the application path to wupdate.exe so I can have it
execute my application after it completes the web update. This is the only
way I could find to tell wupdate.exe where the application is.
Thanks.
Lee