Found the reason and here is modified code snipet:

<Property Id="ASPNETREGPATH">
    <RegistrySearch Id="FindFrameworkDir" Root="HKLM"
Key="SOFTWARE\Microsoft\.NETFramework" Name="InstallRoot" Type="directory">
       <DirectorySearch Id="FindAspNetRegDir" Depth="1">            <!--
Path="v2.0.50727" also works -->
        <FileSearch Id="FindAspNetReg" LongName="aspnet_regiis.exe"
MinVersion="2.0.50727"/>
       </DirectorySearch>
    </RegistrySearch>
</Property>
                
And last of them remains same.


jmin70 wrote:
> 
> Hi all,
> 
> I am having a hard time with getting the Quiet Execute custom action to
> work correctly. I am trying to run command line of 'aspnet_regiis.exe -ga
> RackwiseService' at the end of installation as:
> 
> =======================================================
> <Property Id="ASPNETREGPATH">
>      <RegistrySearch Id="FindFrameworkDir" Root="HKLM"
> Key="SOFTWARE\Microsoft\.NETFramework" Name="InstallRoot" Type="raw">
>          <DirectorySearch Id="FindAspRegExe" Depth="1">
>       <FileSearch Id="FindAspNetReg" LongName="aspnet_regiis.exe" MinVersion="
> 2.0.50727"/>
>           </DirectorySearch>
>      </RegistrySearch>
> </Property>
>               
> <CustomAction Id="AspNetAssign" Property="CONFIGWEBSITEASPNET"
>   Value="&quot;[ASPNETREGPATH]&quot; -ga RackwiseService" />
> 
> <CustomAction Id="CONFIGWEBSITEASPNET" BinaryKey="wixca"
>   DllEntry="CAQuietExec" Execute="deferred" Return="check"/>
> 
> <Binary Id="wixca" src="wixca.dll"/>
> 
> <InstallExecuteSequence>
>     <Custom Action="AspNetAssign" After="InstallFiles"/>
>     <Custom Action="CONFIGWEBSITEASPNET" After="InstallFiles" />
> </InstallExecuteSequence>
> 
> =======================================================
> 
> And from install log, I have following lines of error message:
> 
> CustomActionSchedule(Action=CONFIGWEBSITEASPNET,ActionType=1025,Source=BinaryData,Target=CAQuietExec,CustomActionData=""
> -ga RackwiseService)
> MSI (s) (14:84) [12:10:50:531]: Invoking remote custom action. DLL:
> C:\WINDOWS\Installer\MSI59E.tmp, Entrypoint: CAQuietExec
> CAQuietExec:  Error 0x80070002: Command failed to execute.
> CAQuietExec:  Error 0x80070002: CAQuietExec Failed
> Action ended 12:10:51: InstallFinalize. Return value 3.
> 
> Any help will be greatly appreciated.
> 
> Thank you.
> 
> Henry
> 

-- 
View this message in context: 
http://www.nabble.com/CAQuietExec-Error-tf4280668.html#a12189387
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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