--
You received this message because you are subscribed to the Google Groups "msiext" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msiext+un...@googlegroups.com.
To post to this group, send email to msi...@googlegroups.com.
Visit this group at http://groups.google.com/group/msiext.
For more options, visit https://groups.google.com/d/optout.
dB. | Moscow - Geneva - Seattle - New York
code.dblock.org - @dblockdotorg - artsy.net - github/dblock
I get this error too. works on some machines. It's not my implementation either as the demo fails the same way.
--
You received this message because you are subscribed to the Google Groups "msiext" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msiext+un...@googlegroups.com.
To post to this group, send email to msi...@googlegroups.com.
Visit this group at http://groups.google.com/group/msiext.
For more options, visit https://groups.google.com/d/optout.
Just to let you know, I have worked around this by removing the call to check for this permission then using the wix util extension user element, I assign the permission during installation. I imagine this could cause some issues if there is a group policy conflict, but for me it's a non issue.Thanks for the great extension!
--
You received this message because you are subscribed to the Google Groups "msiext" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msiext+un...@googlegroups.com.
To post to this group, send email to msi...@googlegroups.com.
Visit this group at http://groups.google.com/group/msiext.
For more options, visit https://groups.google.com/d/optout.
<Control Id="Test" Type="PushButton" X="40" Y="200" Width="100" Height="17" Text="&Test Credentials">
<Condition Action="disable"><![CDATA[SERV_LOGON_TYPE <> "ServiceAccount"]]></Condition>
<Condition Action="enable"><![CDATA[SERV_LOGON_TYPE = "ServiceAccount"]]></Condition>
<!-- check whether the credentials are valid -->
<Publish Property="LOGON_USERNAME" Value="[SERVICE_USERNAME]" Order="1">1</Publish>
<Publish Property="LOGON_PASSWORD" Value="[SERVICE_PASSWORD]" Order="1">1</Publish>
<Publish Event="DoAction" Value="CheckCredentials" Order="2">1</Publish>
<Publish Property="LOGON_VALID" Value="[LOGON_VALID]" Order="3">1</Publish>
<Publish Property="LOGON_ERROR" Value="Invalid Logon" Order="3"><![CDATA[LOGON_ERROR = "" AND LOGON_VALID = "0"]]></Publish>
<!-- check whether this user has logon as a service privilege, only once account is valid -->
<Publish Property="LOGON_PRIVILEGE" Value="SeServiceLogonRight" Order="5"><![CDATA[LOGON_VALID = "1"]]></Publish>
<!--<Publish Event="DoAction" Value="CheckPrivilege" Order="6"><![CDATA[LOGON_VALID = "1"]]></Publish>-->
<!--<Publish Property="LOGON_ERROR" Value="This account does not have logon as a service right. [CA_ERROR]" Order="7"><![CDATA[LOGON_VALID = "1" AND LOGON_HAS_PRIVILEGE = "0"]]></Publish>-->
<Publish Property="LOGON_HAS_PRIVILEGE" Value="1" Order="7">1</Publish>
<!--spawn the error dialog, LOGON_ERROR will be set accordingly-->
<Publish Event="SpawnDialog" Value="InvalidLogonDlg" Order="8"><![CDATA[LOGON_VALID = "0" OR LOGON_HAS_PRIVILEGE = "0"]]></Publish>
</Control>
<Component Id="MyServiceComponent" Guid="*">
<File Id="MyServiceExe" Source="$(var.MyService.TargetPath)" />
<ServiceInstall Id="ServiceInstaller"
Type="ownProcess"
Vital="yes"
Name="MyService"
DisplayName="My Service"
Description="My Sample Service"
Start="auto"
Account="[SERVICE_USERNAME]"
Password="[SERVICE_PASSWORD]"
ErrorControl="normal" >
<ServiceDependency Id="LanmanServer"/>
</ServiceInstall>
<ServiceControl Id="StartService"
Start="install"
Stop="install"
Remove="uninstall"
Name="MyService"
Wait="no" />
<util:ServiceConfig ServiceName="MyService"
FirstFailureActionType="restart"
SecondFailureActionType="restart"
ThirdFailureActionType="restart"
ResetPeriodInDays="1"
RestartServiceDelayInSeconds="20"/>
<util:User Id="user" CreateUser="no" Name="[SERVICE_USERNAME]" Password="[SERVICE_PASSWORD]" LogonAsService="yes" UpdateIfExists="yes" FailIfExists="no" RemoveOnUninstall="no"/>
</Component>
--
You received this message because you are subscribed to the Google Groups "msiext" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msiext+un...@googlegroups.com.
To post to this group, send email to msi...@googlegroups.com.
Visit this group at http://groups.google.com/group/msiext.
For more options, visit https://groups.google.com/d/optout.