2

Whe I build my installer I get this error with brackets-win-install-build.xml on line 143 - exec returned 1.

brackets-win-install-build.xml

26  : <property name="msitran.cmd" value="${wix.base}/bin/MsiTran.exe"/>
      {...}
143 : <exec  executable='"${msitran.cmd}"' failonerror='true'>
144 :     <arg line="-g '${product.fullname}.msi' brackets_fr-fr.msi fr-fr.mst"/>
145 : </exec>

I do have MsiTran.exe, WiLangId.vbs and WiSubStg.vbs in my WiX 3.5 bin folder.

EDIT for @Iain Ballard

Tried changing '/' by '\' still the same error.

But I tried to rue msiTran from the command prompt and this is what I got :

enter image description here

L105
  • 5,379
  • 3
  • 18
  • 23
  • Try changing those '/' into '\'. Otherwise, what happens if you run the command from a normal command line in the Wix build current directory? (i.e. `cd C:\my\project\` ; `C:\wixbase\bin\MsiTran.exe -g ...`) – Iain Ballard May 27 '14 at 09:20
  • Edited my answer with the results. – L105 May 27 '14 at 16:31
  • Thanks. Sorry if I wasn't clear, but I expected the entire command you are trying to run: `C:\WiX_3.5\bin\MsiTran.exe -g 'MYPRODCUT.msi' brackets_fr-fr.msi fr-fr.mst` – Iain Ballard May 27 '14 at 19:19
  • Error opening base database... – L105 May 27 '14 at 19:49

1 Answers1

0

Looks like you've run into a well known problem. Ensure the 'Orca' tools is closed. Try running as an administrator. Try

msitran.exe -a fr-fr.mst MYPRODCUT.msi

to do the transform in place.

There is an alternative solution here

Community
  • 1
  • 1
Iain Ballard
  • 4,433
  • 34
  • 39