Hi,Hi,
I've created a WIX (v3.7.0.0) installer for our VSTO application on Win 7 64 
bit machine. Which do custom installation successfully. And I've also create 
Bundle.wxs file for installing the prerequisites for VSTO, like .Net Framework 
4.0 client profile and VSTO 4.0. runtime.
When I run our exe file it search for VSTO and start download VSTO from 
http://go.microsoft.com/fwlink/?LinkId=158917. but gives the below error
[0BE8:06F0][2013-08-06T10:49:18]e000: Error 0x80070490: Failed to find expected 
public key in certificate chain.
[0BE8:06F0][2013-08-06T10:49:18]e000: Error 0x80070490: Failed to verify 
expected payload against actual certificate chain.
[0BE8:06F0][2013-08-06T10:49:18]e000: Error 0x80070490: Failed to verify 
signature of payload: VSTORuntime
[0BE8:06F0][2013-08-06T10:49:18]e310: Failed to verify payload: VSTORuntime at 
path: C:\ProgramData\Package Cache\.unverified\VSTORuntime, error: 0x80070490. 
Deleting file.
[0BE8:06F0][2013-08-06T10:49:18]e000: Error 0x80070490: Failed to cache 
payload: VSTORuntime
[15CC:0568][2013-08-06T10:49:18]e314: Failed to cache payload: VSTORuntime from 
working path: 
C:\Users\UA17C9~1.JAI\AppData\Local\Temp\{f3bea074-7c76-4831-b8ed-22021127ba0d}\VSTORuntime,
 error: 0x80070490.
[15CC:0568][2013-08-06T10:49:18]e349: Application requested retry of payload: 
VSTORuntime, encountered error: 0x80070490. Retrying...
Installer do above same step for 3 times and then finally show error message 
and stop the installation.
Don't know why this is happening. And we need to install VSTO 4.0 Runtime 
automatically. When I run "vstor_redist.exe" manually, it runs successfully.
*         Code is as below:
Bundle.wxs
<Bundle Name="$(var.ProductName)" Version="$(var.ProductVersion)" 
Manufacturer="$(var.Manufacturer)" UpgradeCode="$(var.UpgradeCode)"
                      IconSourceFile="$(var.ResourceFiles)\Icon.ico">
              <BootstrapperApplicationRef 
Id="WixStandardBootstrapperApplication.RtfLicense">
                     <bal:WixStandardBootstrapperApplication 
LogoFile="$(var.ResourceFiles)\BootStrap Logo.bmp" SuppressOptionsUI="yes" 
LicenseFile="Confidential.rtf" />
              </BootstrapperApplicationRef>
              <util:RegistrySearch Id="VSTORuntimeVersionV4" Root="HKLM" 
Key="SOFTWARE\Wow6432Node\Microsoft\VSTO Runtime Setup\v4\" Value="Version" 
Variable="VSTORVersionV4"/>
              <util:RegistrySearch Id="VSTORuntimeVersionV4M" Root="HKLM" 
Key="SOFTWARE\Wow6432Node\Microsoft\VSTO Runtime Setup\v4M\" 
Value="VSTORFeature_CLR40" Variable="VSTORFeature"/>
              <util:RegistrySearch Id="VSTORuntimeVersionV4R" Root="HKLM" 
Key="SOFTWARE\Wow6432Node\Microsoft\VSTO Runtime Setup\v4R\" Value="Version" 
Variable="VSTORVersionV4R"/>
              <util:RegistrySearch Id="DotNetTest" Root="HKLM" 
Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Client" Value="Install" 
Variable="DotNetInstall"/>
              <util:RegistrySearch Id="DotNetVersion" Root="HKLM" 
Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Client" Value="Version" 
Variable="DotNetVersion"/>

              <Chain>
                     <ExePackage Id="dotNetFx40_Client_x86_x64" 
SourceFile="$(var.PreReqPath)\DotNetFX40Client\dotNetFx40_Client_x86_x64.exe" 
PerMachine="yes" Cache="no"
                                      Compressed="no"
                                      
DownloadUrl="http://download.microsoft.com/download/7/B/6/7B629E05-399A-4A92-B5BC-484C74B5124B/dotNetFx40_Client_setup.exe";
                                      Permanent="yes"
                                      InstallCommand="/q /norestart"
                                      DetectCondition="NOT DotNetInstall"
                                      InstallCondition="NOT DotNetInstall OR 
NOT (DotNetVersion >=v4.0.30319)" />
                     <ExePackage Id="VSTORuntime" 
SourceFile="$(var.PreReqPath)\VSTOR40\vstor_redist.exe" Permanent="yes" 
Vital="yes" Cache="no" Compressed="no"
                                      
DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=158917";
                                      PerMachine="yes"
                                      InstallCommand="/q /norestart"
                                      DetectCondition="VSTORFeature"
                                      InstallCondition="NOT VSTORFeature OR NOT 
(VSTORVersionV4R >=v10.0.40303) OR NOT (VSTORVersionV4 >=v10.0.21022) "/>
                     <MsiPackage SourceFile="$(var.Setup.TargetPath)" 
Vital="yes" Compressed="yes" Id="WordAddIns" DisplayInternalUI="yes" />
              </Chain>
       </Bundle>


Any help appreciated.

Thanks & Regards,
Chetan Rajakumar

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not 
to copy, disclose, or distribute this e-mail or its contents to any other 
person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken 
every reasonable precaution to minimize this risk, but is not liable for any 
damage 
you may sustain as a result of any virus in this e-mail. You should carry out 
your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this 
e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to