question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build both 32 & 64 bit execuable file seperately.

See original GitHub issue
  • Version: ^19.19.1
  • Target: targets = Platform.WINDOWS.createTarget() &
      win: {
        icon: 'build/icons/icon.ico',
        target: [
          {
            target: 'nsis',
            arch: [
              'x64', 'ia32'
            ]
          }
        ]
      }

I want to build both 32 & 64 bit target nsis file seperately instead of one execuable nsis file. How to do that?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:8
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Disorrdercommented, Apr 7, 2018

@peterdanis ${arch} doesn’t work, just ignoring 😦

2reactions
erguotou520commented, Feb 7, 2018

The workaround now is to create a ia32 task after x64 build finished and change the artifactName like bellow:

        {
          win: {
            icon: 'build/icons/icon.ico',
            artifactName: '${productName} Setup ${version}-ia32.${ext}',
            target: [
              {
                target: 'nsis',
                arch: [
                  'ia32'
                ]
              }
            ]
          }
Read more comments on GitHub >

github_iconTop Results From Across the Web

Build both 32 and 64 bit at the same time using Visual Studio
It's not exactly "at the same time", but you can simply create separate 32-bit and 64-bit solution configurations, and build the solution in ......
Read more >
Is there a way to put both 32-bit and 64-bit exe files in the ...
I'm wondering if there's a way to do it as the exe file's name has to match the data folder's name, but to...
Read more >
x64 setup builds as a 32-bit executable - Flexera Community
I'm trying to create a project which builds a 32-bit and a 64-bit setup from the same .ism file. So far, I have:...
Read more >
How to compile code in 64-bit that calls a 32-bit SubVI?
Through this forum, I've found out how to call a subVI that uses 32-bit libraries from a 64-bit environment by opening an application ......
Read more >
Configure projects to target platforms - Visual Studio (Windows)
Visual Studio 2022 runs as a 64-bit application. This is totally separate from the platforms you can target for your projects in Visual ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found