Losing theme when building from command line

Hi there!

I've one question concerning the usage of themes when building from the command line:

We build our projects and the related updates using a build system with several agents. The agents use for the creation of the updates this command: wybuild.cmd.exe "Product.wyp" /bu /bwu -add="VersionDetails.xml"

As on most build systems we do not have access to the build-agents - we can just send commands which are executed by these agents.

After building the updates the selected theme is vanished and replaced by a default theme. Another forum user reported a similar problem in 2012: https://wyday.com/forum/t/1665/customize-the-wyupdate-theme-with-command-line/#post-16460

Is there any workaround available?

Best regards from Germany Sebastian

Hey Sebastian,

The forum post you linked to has the answer: namely, the themes are stored on a per-user basis. So if you run the update building from a different user session, then it won't have those theme files.

The solution, first run the GUI from the user session you'll be doing the building in. Set the them. Save it, and then building from commandline will work.

Hi Sam,

thank you for your quick reply!Unfortunately we have no access to the users or the user profiles used in the build system. From my point of view this seems to be a quite usual scenario.

Are there any reasons for separating the theme-information from the other other information?Is there any possibility to use themes without having access to the users profile?

Best regards Sebastian