this is the install log that i'm getting from  your example code.
 
the actual popup window i get says:
 
"The system administrator has set policies to prevent this installation."
 
 

______________________

 

Don Tasanasanta

VIACK Corporation

425-605-7423

 

 


From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 15, 2006 8:48 PM
To: Don Tasanasanta
Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] What makes ClickThrough per-user?

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
ÿþ=== Verbose logging started: 6/16/2006 
 11:53:48  Build type: SHIP UNICODE 
3.01.4000.2435  Calling process: 
C:\WINDOWS\System32\msiexec.exe ===

MSI (c) (5C:34) [11:53:48:243]: 
Resetting cached policy values

MSI (c) (5C:34) [11:53:48:243]: Machine 
policy value 'Debug' is 0

MSI (c) (5C:34) [11:53:48:243]: ******* 
RunEngine:

           ******* Product: 
C:\Documents and 
Settings\stuser12\Desktop\wixlist.msi

           ******* Action: 

           ******* CommandLine: 
**********

MSI (c) (5C:34) [11:53:48:274]: Machine 
policy value 'DisableUserInstalls' is 0

MSI (c) (5C:34) [11:53:48:306]: 
SOFTWARE RESTRICTION POLICY: Verifying 
package --> 'C:\Documents and 
Settings\stuser12\Desktop\wixlist.msi' 
against software restriction policy

MSI (c) (5C:34) [11:53:48:306]: Note: 
1: 2262 2: DigitalSignature 3: 
-2147287038 

MSI (c) (5C:34) [11:53:48:306]: 
SOFTWARE RESTRICTION POLICY: 
C:\Documents and 
Settings\stuser12\Desktop\wixlist.msi 
is not digitally signed

MSI (c) (5C:34) [11:53:48:321]: 
SOFTWARE RESTRICTION POLICY: 
C:\Documents and 
Settings\stuser12\Desktop\wixlist.msi 
is permitted to run at the 
'unrestricted' authorization level.

MSI (c) (5C:34) [11:53:48:368]: 
Cloaking enabled.

MSI (c) (5C:34) [11:53:48:368]: 
Attempting to enable all disabled 
priveleges before calling Install on 
Server

MSI (c) (5C:34) [11:53:48:415]: End 
dialog not enabled

MSI (c) (5C:34) [11:53:48:415]: 
Original package ==> C:\Documents and 
Settings\stuser12\Desktop\wixlist.msi

MSI (c) (5C:34) [11:53:48:415]: Package 
we're running from ==> 
C:\DOCUME~1\stuser12\LOCALS~1\Temp\922d610.msi

MSI (c) (5C:34) [11:53:48:431]: 
APPCOMPAT: looking for appcompat 
database entry with ProductCode 
'{000C1109-0000-0000-C000-000000000046}'.

MSI (c) (5C:34) [11:53:48:431]: 
APPCOMPAT: no matching ProductCode 
found in database.

MSI (c) (5C:34) [11:53:48:431]: MSCOREE 
not loaded loading copy from system32

MSI (c) (5C:34) [11:53:48:462]: Machine 
policy value 'TransformsSecure' is 1

MSI (c) (5C:34) [11:53:48:462]: Machine 
policy value 'DisablePatch' is 0

MSI (c) (5C:34) [11:53:48:462]: Machine 
policy value 'AllowLockdownPatch' is 0

MSI (c) (5C:34) [11:53:48:462]: Machine 
policy value 'DisableMsi' is 1

MSI (c) (5C:34) [11:53:48:462]: Machine 
policy value 'AlwaysInstallElevated' is 
0

MSI (c) (5C:34) [11:53:48:462]: User 
policy value 'AlwaysInstallElevated' is 
0

MSI (c) (5C:34) [11:53:48:462]: 
Rejecting product 
'{000C1109-0000-0000-C000-000000000046}':
 Non-assigned apps are disabled for 
non-admin users.

MSI (c) (5C:34) [11:53:48:462]: Machine 
policy value 'DisableLUAPatching' is 0

MSI (c) (5C:34) [11:53:48:462]: Machine 
policy value 'DisableFlyWeightPatching' 
is 0

MSI (c) (5C:34) [11:53:48:478]: 
APPCOMPAT: looking for appcompat 
database entry with ProductCode 
'{000C1109-0000-0000-C000-000000000046}'.

MSI (c) (5C:34) [11:53:48:478]: 
APPCOMPAT: no matching ProductCode 
found in database.

MSI (c) (5C:34) [11:53:48:478]: 
Transforms are not secure.

MSI (c) (5C:34) [11:53:48:478]: Note: 
1: 2205 2:  3: Control 

MSI (c) (5C:34) [11:53:48:478]: Command 
Line: CURRENTDIRECTORY=C:\Documents and 
Settings\stuser12\Desktop 
CLIENTUILEVEL=0 CLIENTPROCESSID=1884 

MSI (c) (5C:34) [11:53:48:478]: 
PROPERTY CHANGE: Adding PackageCode 
property. Its value is 
'{1E09C448-F29D-4661-A58E-85FA70D48B98}'.

MSI (c) (5C:34) [11:53:48:478]: Product 
Code passed to Engine.Initialize:       
    ''

MSI (c) (5C:34) [11:53:48:478]: Product 
Code from property table before 
transforms: 
'{000C1109-0000-0000-C000-000000000046}'

MSI (c) (5C:34) [11:53:48:478]: Product 
Code from property table after 
transforms:  
'{000C1109-0000-0000-C000-000000000046}'

MSI (c) (5C:34) [11:53:48:478]: Product 
not registered: beginning first-time 
install

MSI (c) (5C:34) [11:53:48:478]: 
PROPERTY CHANGE: Adding ProductState 
property. Its value is '-1'.

MSI (c) (5C:34) [11:53:48:478]: 
Entering 
CMsiConfigurationManager::SetLastUsedSource.

MSI (c) (5C:34) [11:53:48:478]: User 
policy value 'SearchOrder' is 'nmu'

MSI (c) (5C:34) [11:53:48:478]: Adding 
new sources is allowed.

MSI (c) (5C:34) [11:53:48:478]: 
PROPERTY CHANGE: Adding 
PackagecodeChanging property. Its value 
is '1'.

MSI (c) (5C:34) [11:53:48:478]: Package 
name extracted from package path: 
'wixlist.msi'

MSI (c) (5C:34) [11:53:48:478]: Package 
to be registered: 'wixlist.msi'

MSI (c) (5C:34) [11:53:48:478]: Note: 
1: 2205 2:  3: Error 

MSI (c) (5C:34) [11:53:48:478]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:478]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:478]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:478]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:478]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:478]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:478]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:493]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:493]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:493]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:493]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:493]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:493]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:493]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:493]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:509]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:509]: Note: 
1: 2262 2: AdminProperties 3: 
-2147287038 

MSI (c) (5C:34) [11:53:48:509]: Machine 
policy value 'AlwaysInstallElevated' is 
0

MSI (c) (5C:34) [11:53:48:509]: User 
policy value 'AlwaysInstallElevated' is 
0

MSI (c) (5C:34) [11:53:48:509]: 
Rejecting product 
'{000C1109-0000-0000-C000-000000000046}':
 Non-assigned apps are disabled for 
non-admin users.

Info 1625. This installation is 
forbidden by system policy.  Contact 
your system administrator.

C:\Documents and 
Settings\stuser12\Desktop\wixlist.msi

MSI (c) (5C:34) [11:53:48:509]: Note: 
1: 1708 

MSI (c) (5C:34) [11:53:48:509]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:509]: Note: 
1: 2729 

MSI (c) (5C:34) [11:53:48:509]: 
Product: VIA3TestProject -- 
Installation failed.



MSI (c) (5C:34) [11:53:48:524]: 
MainEngineThread is returning 1625

=== Verbose logging stopped: 6/16/2006  
11:53:48 ===



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

Reply via email to