Most likely your custom action is crashing. If it works when you run it 
elevated then it's probably a security issue. Are you checking the results of 
API calls? 

Phil Wilson 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benas
Sent: Wednesday, October 24, 2007 4:30 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] AlwaysInstallElevated

On one of my Virtual PC's Custom Actions fails to execute.

Log:

MSI (c) (E0:F0) [14:10:03:142]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (E0:F0) [14:10:03:142]: User policy value 'AlwaysInstallElevated' is 0

<...>

MSI (s) (70:B8) [14:10:37:218]: Executing op: 
CustomActionSchedule(Action=SettingUpConfigFile,ActionType=3073,Source=BinaryData,Target=SetUpConfig,)
 
MSI (s) (70:F0) [14:10:37:298]: Invoking remote custom action. DLL: 
C:\WINDOWS\Installer\MSI4B.tmp, Entrypoint: SetUpConfig
MSI (s) (70:D0) [14:10:37:298]: Generating random cookie.
MSI (s) (70:D0) [14:10:37:308]: Created Custom Action Server with PID 900 
(0x384). 
MSI (s) (70:7C) [14:10:37:338]: Running as a service.
MSI (s) (70:7C) [14:10:37:338]: Hello, I'm your 32bit Impersonated custom 
action server.
Action ended 14:10:37: InstallFinalize. Return value 3.

In WIX source file: 

<CustomAction Id="SettingUpConfigFile" BinaryKey="InstallHelper" 
DllEntry="SetUpConfig" Execute="deferred" Impersonate="no"/>

    <InstallExecuteSequence> 
      <Custom Action="SettingUpConfigFile" After="PublishProduct">NOT 
Installed</Custom>
    </InstallExecuteSequence>


This happens only if AlwaysInstallElevated is 0. 
Can any one explain what does it means and how to solve this problem?


Thank you very much,
Benas

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to