Hi Derek,

 

Here are the details:

 

When the following command is executed,

 

C:\Build\TM2Client\Development\Sources\TM21\WixInstaller>C:\bin\wix\wix-3.0.2015.0-binaries\light -out test.msi obj\release\product.wixobj

 

the following error occurs

 

light.exe : error LGHT0216 : An unexpected Win32 exception with error code 0x659 occurred: This installation is forbidden by system policy.  Contact your system administrator

 

 

If it helps, here is my wxs file…

 

<?xml version="1.0" encoding="UTF-8"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

    <Product Id="{80848DC4-CE85-481d-AE4E-D08CEFE906ED}" Name="Tavis Manufacturing 2.1W" Language="1033" Version="2.1.0.0" Manufacturer="Tavis Software Inc." UpgradeCode="{0A1C26BF-6C29-4be5-A820-CE61203F94FA}">

        <Package Id="{6406854E-BA35-44f6-A3AD-30AFB2CE04EF}" InstallerVersion="200" Compressed="yes" />

 

        <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" />

 

        <Directory Id="TARGETDIR" Name="SourceDir">

            <Directory Id="ProgramFilesFolder">

                <Directory Id="INSTALLLOCATION" Name="Tavis Manufacturing 2.1" FileSource="../../../Binaries/Debug">

 

                    <Component Id="ProductComponent" Guid="{4DBDB3FD-7C53-4d17-A21D-A03A2A8D2258}">

                      <File Id="TMShell" Name="TMShell.exe" >

                        <Shortcut Id="DesktopIcon" Advertise="yes"  Directory="DesktopFolder" WorkingDirectory="INSTALLLOCATION"  Name="Tavis Manufacturing 2.1" Icon="ProductIcon.exe"></Shortcut>

                      </File>

                      <File Id="TMShellConfig" Name="TMShell.exe.config" ></File>

                      <!-- TODO: Insert your files, registry keys, and other resources here. -->

                      <File Id="TavisFramework" Name="TavisFramework.dll" ></File>

                      <File Id="TavisReporting" Name="TavisReporting.dll" ></File>

                      <File Id="ProfileCatalog" Name="ProfileCatalog.xml" ></File>

 

                     

                      <File Id="TMBusiness" Name="TMBusiness.dll" ></File>

                     

                      <File Id="TMCommon" Name="TMCommon.dll" ></File>

                      <File Id="TMAccounting" Name="TMAccounting.dll" ></File>

                      <File Id="TMSales" Name="TMSales.dll" ></File>

                      <File Id="TMProduction" Name="TMProduction.dll" ></File>

                      <File Id="TMLabour" Name="TMLabour.dll" ></File>

                      <File Id="TMInventory" Name="TMInventory.dll" ></File>

                      <File Id="TMPurchasing" Name="TMPurchasing.dll" ></File>

                     

                      <File Id="PuzzleCore" Name="Puzzle.Corelib.NET2.dll" ></File>

                      <File Id="PuzzleSyntaxBox" Name="Puzzle.SyntaxBox.NET2.dll" ></File>

                      <File Id="PuzzleSyntaxDocument" Name="Puzzle.SyntaxDocument.NET2.dll" ></File>

 

                      <File Id="SampleVisualizations" Name="SampleVisualizations.dll" ></File>

 

                      <File Id="CompositeUI" Name="Microsoft.Practices.CompositeUI.dll" ></File>

                      <File Id="CompositeUIWinForms" Name="Microsoft.Practices.CompositeUI.WinForms.dll" ></File>

                      <File Id="EntLibCommon" Name="Microsoft.Practices.EnterpriseLibrary.Common.dll" ></File>

                      <File Id="EntLibException" Name="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll" ></File>

                      <File Id="ObjectBuilder" Name="Microsoft.Practices.ObjectBuilder.dll" ></File>

 

                      <File Id="JanusData" Name="Janus.Data.v3.dll" ></File>

                      <File Id="JanusButtonBar" Name="Janus.Windows.ButtonBar.v3.dll" ></File>

                      <File Id="JanusCommon" Name="Janus.Windows.Common.v3.dll" ></File>

                      <File Id="JanusExplorerBar" Name="Janus.Windows.ExplorerBar.v3.dll" ></File>

                      <File Id="JanusGridEX" Name="Janus.Windows.GridEX.v3.dll" ></File>

                      <File Id="JanusSchedule" Name="Janus.Windows.Schedule.v3.dll" ></File>

                      <File Id="JanusUI" Name="Janus.Windows.UI.v3.dll" ></File>

 

                      <File Id="ActiveReports" Name="ActiveReports.dll" ></File>

                      <File Id="ActiveReportsChart" Name="ActiveReports.Chart.dll" ></File>

                      <File Id="ActiveReportsViewer" Name="ActiveReports.Viewer.dll" ></File>

 

                    </Component>

 

                  <!--<Merge Id='ARComponents' Language='1033' SourceFile='ActiveReportsDistrib.msm' DiskId='1' /> -->

                </Directory>

              <Directory Id="DesktopFolder"></Directory>

            </Directory>

        </Directory>

 

      <Icon Id="ProductIcon.exe" SourceFile="Shortcut.ico"></Icon>

     

        <Feature Id="ProductFeature" Title="Client" Level="1">

            <ComponentRef Id="ProductComponent" />

            <!--<MergeRef Id='ARComponents' /> -->

        </Feature>

    </Product>

</Wix>


From: Derek Cicerone [mailto:[EMAIL PROTECTED]
Sent: August 30, 2006 1:17 PM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Light error 0216

 

Very hard to say what’s causing that without more information.  Especially for the Win 32 exceptions, the output is vital to figuring it out.

 

Derek

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darrel Miller
Sent: Wednesday, August 30, 2006 5:34 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Light error 0216

 

This error is reproducable in the latest 3.0.2015 release.  However, you need to be running using a non-administrator account to see it.  I discovered it while trying to integrate wix with the TFS build.  The TFS build runs under a domain account called TFSService that is not a local administrator.

 

If I run light from a local administrator account everything runs fine.

 

Darrel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to