1) This http://support.microsoft.com/kb/834549 ?
2) Heat thinks the .exe is a com server, as it is another installer you can
ignore it. If you are bundling several packages together you may want to look
at the burn bootstrapper which will handle this much better than embedding
the sub installers in an msi.
3&4) Try manually running the compilation from the command line and
hardcoding some values until you work out which bit is wrong, or add
everything to a wixproj / solution if you have that option.


-----Original Message-----
From: jo...@msli.com [mailto:jo...@msli.com] 
Sent: 17 May 2013 00:16
To: WixUsers
Subject: [WiX-users] error: system cannot open the device or file specified

I am trying to setup a new wix project, but I am running into a few problems
and would love some help.

Below I include links to my wxs, wxi, ant build, and install logs so that you
may save me from this fiery hell.

Link to resources:https://gist.github.com/johnstile/5595744
It includes:
 build.xml     : ant script calling heat, candle, light, and msiexec.
 MyProgram.wxs : wix project file
 MyProgram.variables.wxi - variables file  msi_install_log.txt - my failing
install log  build_log.txt - output from running: ant light

First issue: 

All my installers fail with error:

 "The system cannot open the device or file specified."

 See: msi_install_log.txt
 it isn't empty, and the paths look sane.
 What's the problem?

Second issue:

 heat warns about 5 files files, with errors like:

heat.exe : warning HEAT5150 : Could not harvest data from a file that was
expected to be a SelfReg DLL: C:\cygwin\home\build\current\EUROPA
\ProgramFiles\WinPcap_4_1_2.exe. If this file does not support SelfReg you
can ignore this warning. Otherwise, this error detail may be helpful to
diagnose the failure: Unable to load file: C:\cygwin\home\build
\current\EUROPA\ProgramFiles\WinPcap_4_1_2.exe, error: 5

 See: build_log.txt

 I need to distribute this exe as part of my installer, and there are other
exe's as well.  My installer will have to offer to install the other programs
if they are not installed already.

Third issue:

  I can't get preprocessor includes to read my wxi files.
  Either it errors with a path problem: 

C:\cygwin\home\build\current\EUROPA\Source\Compass.wxs(2) : error
CNDL0103 : The system cannot find the file 'Source/Compass.variables.wxi '
with type 'include'.Source trace:
C:\cygwin\home\build\current\EUROPA\Source\Compass.wxs: line 2

  Or it says my file is invalid.
  See: MyProgram.variables.wxi

Fourth issue:

  I can't get find a wild card for light to use all wixobj files under the
wixobj directory generated by candle.

Thank you for taking a look.


NOTICE: This email may contain confidential information.  Please see
http://www.meyersound.com/confidential/ for our complete policy.

-----------------------------------------------------------------------------
-
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls from
a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to