Jump to content
Developer Wiki and Function Reference Links ×

Building vwr for Windows


JBenghiat

Recommended Posts

I've had to re-install Windows, which meant updating to 11, and now I can't get buildvwr.exe to run without error. I have a few questions:

 

- Is the .vwr the same for Windows and Mac? If so, I can just copy from the Mac install and avoid this issue

- Looking at a previous .vwr built with the Windows script, it appears to be a zip file. This seems to be contrary to the information in the developer wiki, which states the .vwr is just a directory with an extension (which is definitely true on Mac)

- If the answer to my first question is "no," has anyone encountered this and figured out a solution?

 

As a side note, I've eliminated the buildvwr step when compiling on Mac, and used a Copy Bundle Resources step, which both copies the .vwr and sets any needed permissions and flags.

Link to comment

Yes the VWR is a ZIP file.

 

You could create a batch file that creates the zip with "7Zip" in the Post build event.

 

This was quickly put together and is untested:

 

cd C:\Program Files\7-Zip 
 
7z a "C:\Users\pwink\Desktop\res.zip" "C:\Users\pwink\Documents\DEV\CableTools\CableTools.vwr\DialogLayout" "C:\Users\pwink\Documents\DEV\CableTools\CableTools.vwr\Images" "C:\Users\pwink\Documents\DEV\CableTools\CableTools.vwr\Strings"

 

 

 

 

Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...