Don Tasanasanta wrote:
i have tried creating a simple one file install that installs to appdata only and has no registry entries but i can't get it to install with user only access. i keep getting the same error:
 
"This installation is forbidden by system policy. Contact your system administrator."
Does a verbose log have more details?
so i was wondering what elements/tags in the clickthrough project allow it to install with user access only.
Per-user installs don't require any magic -- they're the MSI default, actually. I tested it on XP with a limited-user account.

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
  <Product Id="000C1109-0000-0000-C000-000000000046" Name="TestFileProduct" Language="1033" Version="0.0.0.0" UpgradeCode="5942F3FD-1C1A-48D2-9C92-E360ECC235FF" Manufacturer="Microsoft Corporation">
    <Package Id="????????-????-????-????-????????????" Description="Test File in a Product" Comments="Test from: wix\examples\test\assembly\product.wxs" InstallerVersion="200" Compressed="yes" />

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

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="AppDataFolder" Name="AppData">
        <Directory Id="TESTFILEPRODUCTDIRECTORY" Name="testassm" LongName="Test File">
          <Component Id="TestFileProductComponent" Guid="00030829-0000-0000-C000-000000000046" DiskId="1">
            <File Id="TestFileProductFile" Name="test.txt" Source=".\test.txt" KeyPath="yes" />
          </Component>
        </Directory>
      </Directory>
    </Directory>

    <Feature Id="TestFileProductFeature" Title="Test File Product Feature" Level="1" ConfigurableDirectory="TESTFILEPRODUCTDIRECTORY">
      <ComponentRef Id="TestFileProductComponent" />
    </Feature>

    <UIRef Id="WixUI_FeatureTree" />

  </Product>
</Wix>
-- 
sig://boB
http://bobs.org



_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to