PDA

View Full Version : Command Line Not Working



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

NewsArchive
06-14-2005, 07:03 AM
Lee,

I think the problem is that %_SB_INSTALLDIR% is internally set by the
installer engine (but I am not 100% sure). Item in review.

The following workaround should work. You can use your own variable, for
example:

! Create a new variable (empty)
Set Variable %TEST%

Use the above variable in your wupdate.exe

Command line call:

wupdate.exe /V TEST "c:\test"

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

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

NewsArchive
06-14-2005, 07:03 AM
Lee,

I think we have fixed this now. The engine skips the internal
%_SB_INSTALLDIR% initializing process and it works as expected.

Thanks,
Friedrich

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

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

NewsArchive
06-14-2005, 09:15 AM
I already figured that one out and have it working that way.

Thanks

Lee

NewsArchive
06-14-2005, 09:15 AM
Great......

I'll give it a try when you get it released.

Lee

NewsArchive
06-14-2005, 09:16 AM
Thank you! A new build will be available by the end of this week.

SB5 is 100% feature complete. The focus for the rest of the 5.00
development is on bug fixes (8 minor bugs on our list) and documentation.

Friedrich

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

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