Building wyUpdate from cmdline

Hello,We purchased a wyBuild license.We are working with 2 wyBuild projects - MyProduct1 x86 & MyProduct1 x64.When I build & Upload it through wyBuild UIThen it works properly. We found the respective .wyu file on configured ftp path.And if I do it using command line then it successfully build the "wyUpdate" & "update" both.But, not able to upload the build.Actually, we are getting message on cmdline - "Uploading updates: Successfully". But, we are not getting any file on configured ftp path. So on client end we are not getting update prompt.

We are trying to build & upload wyUpdate from cmdline using following commands - wybuild.cmd.exe "C:\Proj\SolutionDIR\INSTALL\updater\MyProduct1\x86\MyProduct1 x86.wyp" /bwu /bu

copy "c:\proj\SolutionDIR\INSTALL\updater\MyProduct1\x86\wyUpdate\client.wyc " "c:\temp\SolutionDIR\HP\UpgradeImage\x86\OEMFiles" /y

wybuild.cmd.exe "C:\Proj\SolutionDIR\INSTALL\updater\MyProduct1\x86\MyProduct1 x86.wyp" /upload -add="C:\Proj\SolutionDIR\INSTALL\updater\MyProduct1\x86\newversions.xml"

wybuild.cmd.exe "C:\Proj\SolutionDIR\INSTALL\updater\MyProduct1\x86\MyProduct1 x86.wyp" /upload

======================================================wybuild.cmd.exe "C:\Proj\SolutionDIR\INSTALL\updater\MyProduct1\x64\MyProduct1 x64.wyp" /bwu /bu

copy "c:\proj\SolutionDIR\INSTALL\updater\MyProduct1\x64\wyUpdate\client.wyc" "c:\temp\SolutionDIR\HP\UpgradeImage\x64\OEMFiles" /y

wybuild.cmd.exe "C:\Proj\SolutionDIR\INSTALL\updater\MyProduct1\x64\MyProduct1 x64.wyp" /upload -add="C:\Proj\SolutionDIR\INSTALL\updater\MyProduct1\x64\newversions.xml"

wybuild.cmd.exe "C:\Proj\SolutionDIR\INSTALL\updater\MyProduct1\x64\MyProduct1 x64.wyp" /upload======================================================Also enclosing herewith xml file we are using to upload as follows <?xml version="1.0" encoding="utf-8"?><Versions> <AddVersion> <Version>8.00.44</Version> <Changes>Feature1\nFeature2</Changes> <InheritPrevRegistry /> <InheritPrevActions /> <Files dir="basedir"> <Folder source="c:\temp\Product1\UpgradeImage\x86" insideonly="true" /> </Files> </AddVersion></Versions>

Please let me know is there anything wrong or we have to do more to upload it properly.Prompt reply will be highly appreciated.Thanks - Shashi

You're building the old version, then adding the new version (without building it), then uploading the old built versions.

In other words, your ordering is all wrong. It's easier to just let wyBuild do it all at once:

wybuild.cmd.exe "C:\Proj\SolutionDIR\INSTALL\updater\MyProduct1\x86\MyProduct1 x86.wyp" /bu /bwu /upload -add="C:\Proj\SolutionDIR\INSTALL\updater\MyProduct1\x86\newversions.xml"

This does the following:

  1. Adds the versions from "newversions.xml"
  2. Builds wyUpdate
  3. Builds the updates.
  4. Uploads your newly built updates.