diff --git a/src/creator.ts b/src/creator.ts index a0661e1..78f75d6 100644 --- a/src/creator.ts +++ b/src/creator.ts @@ -491,6 +491,9 @@ export class MSICreator { if (type === "msi" && this.lightSwitches) { this.lightSwitches.forEach((param) => preArgs.unshift(param)); } + if (type === "wixobj") { + preArgs.push("-arch", this.arch); + } const { code, stderr, stdout } = await spawnPromise( binary,