Initially asked to wix-users, as I assumed I was doing something wrong:
http://sourceforge.net/mailarchive/message.php?msg_id=29204249

 

With the proper prerequisites, I am unable to compile as is from HG.
After lots of hair pulling, I've tracked it down to some bad project and
Nant settings.

 

SQL Server CE Include files are in C:Program Files(x86)...

global.include

 

    <readregistry key="SOFTWARE\Microsoft\Microsoft SQL Server Compact
Edition\v3.5\NativeDir" hive="LocalMachine" property="SQLCEDir"
failonerror="false" />

    <if test="${not property::exists('SQLCEDir') or SQLCEDir == '' or
not directory::exists(SQLCEDir)}">

      <readregistry key="SOFTWARE\Microsoft\Microsoft SQL Server Compact
Edition\v3.5\NativeDir" hive="LocalMachine" property="SQLCEDir"
failonerror="false" />

    </if>

 

Should be

    <readregistry key="SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL
Server Compact Edition\v3.5\NativeDir" hive="LocalMachine"
property="SQLCEDir" failonerror="false" />

    <if test="${not property::exists('SQLCEDir') or SQLCEDir == '' or
not directory::exists(SQLCEDir)}">

      <readregistry key="SOFTWARE\Microsoft\Microsoft SQL Server Compact
Edition\v3.5\NativeDir" hive="LocalMachine" property="SQLCEDir"
failonerror="false" />

    </if>

 

And

 

toolsrc/DocCompiler/DocCompiler.csproj

    <PlatformTarget>x86</PlatformTarget>

toolsrc/MsgGen/MsgGen.csproj

    <PlatformTarget>x86</PlatformTarget>

toolsrc/GenerateWixInclude/GenerateWixInclude.csproj

    <PlatformTarget>x86</PlatformTarget>

 

If I simply delete these 3 lines, I can again build using "make.bat
debug clean" followed by "make.bat debug".

 

Should this be logged as an issue?

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to