WIX-Installer : Digitally signed Bootstapper exe failing to install - windows

I am unable to proceed with the installation using digitally signed WIX installer bootstrapped exe.
Below is log extract highlighting the issue.
[39B8:26D4][2017-09-04T20:03:31]i371: Updating registry key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{c6dca553-993e-473c-be4b-8ffa184cd19f}, resume: Active, restart initiated: No, disable resume: No
[3904:3A84][2017-09-04T20:03:31]i336: Acquiring container: WixAttachedContainer, copy from: F:\Digital Signature\MyApp.exe
[3904:3A84][2017-09-04T20:03:31]i000: Setting string variable 'WixBundleLastUsedSource' to value 'F:\Digital Signature\'
[3904:19F4][2017-09-04T20:03:31]e000: Error 0x80070001: Failed to extract all files from container, erf: 1:2:0
[3904:3A84][2017-09-04T20:03:31]e000: Error 0x80070001: Failed to wait for operation complete.
[3904:3A84][2017-09-04T20:03:31]e000: Error 0x80070001: Failed to open container.
[3904:3A84][2017-09-04T20:03:31]e000: Error 0x80070001: Failed to open container: WixAttachedContainer.
[3904:3A84][2017-09-04T20:03:31]e312: Failed to extract payloads from container: WixAttachedContainer to working path: C:\Users\Admin\AppData\Local\Temp{18826196-247C-4057-B849-948AF1A2A7E5}\14B0A9896E9807C47A99BA7BF6B295B54ACE22FD, error: 0x80070001.
[3904:39A4][2017-09-04T20:03:31]e000: Error 0x80070001: Failed while caching, aborting execution.
[39B8:26D4][2017-09-04T20:03:31]i372: Registry key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{c6dca553-993e-473c-be4b-8ffa184cd19f}, resume: None, restart: None, disable resume: No
[39B8:26D4][2017-09-04T20:03:31]i330: Removed bundle dependency provider: {c6dca553-993e-473c-be4b-8ffa184cd19f}
[39B8:26D4][2017-09-04T20:03:31]i352: Removing cached bundle: {c6dca553-993e-473c-be4b-8ffa184cd19f}, from path: C:\ProgramData\Package Cache{c6dca553-993e-473c-be4b-8ffa184cd19f}\
I am able to install with WIX non-signed boot strapping exe.
What is the problem with digitally signed bootstrapper?
Please let me know if anyone had similar issue and solution to address it.

Related

Haskell on Windows - Stack fails to fetch package index

I'm trying to install Haskell on Windows. Downloaded the installer and just clicked through everything, then tried to use Stack to install a package, ran it from a temporary folder in which everything has write access:
C:\t>stack install hfmt
Using latest snapshot resolver: lts-8.3
Writing implicit global project config file to: C:\sr\global-project\stack.yaml
Note: You can change the snapshot via the resolver field there.
Downloaded lts-8.3 build plan.
Fetching package index ...=.git""=="gui" was unexpected at this time.
C:\sr\indices\Hackage\git-update\all-cabal-hashes>#if ""--git-dir=.git""=="gui" #goto gui
Process exited with ExitFailure 255: C:\Program Files (x86)\Git\cmd\git.CMD --git-dir=.git fetch --tags
Failed to fetch package index, retrying.
removeDirectoryRecursive: permission denied (Access is denied.)
What's going wrong, and how can I fix it? Or should I forget about Stack and just use Cabal instead?
Tried rerunning the command as administrator. This time the response was instant:
C:\t>stack install hfmt
Fetching package index ...=.git""=="gui" was unexpected at this time.
C:\sr\indices\Hackage\git-update\all-cabal-hashes>#if ""--git-dir=.git""=="gui" #goto gui
Process exited with ExitFailure 255: C:\Program Files (x86)\Git\cmd\git.CMD --git-dir=.git fetch --tags
Failed to fetch package index, retrying.
removeDirectoryRecursive: permission denied (Access is denied.)

Error on installing .Net Core

Trying to install .Net Core over VS Community 2015 update 3. I am stuck with the following error. Tried downloading and copying the msi file (AspNetCoreLocalFeed_.msi) manually but the destination folder as seen in the log file is being created dynamically so it doesn't work. Also attempted to install it manually. Nothing works.
Went through various threads on different websites on the installation errors but couldn't locate an answer for any similar issue. Any help is greatly appreciated.
[23F8:2DD8][2016-11-08T22:02:58]w343: Prompt for source of package: AspNetCoreLocalFeed, payload: AspNetCoreLocalFeed, path: C:\Users\Faisal\Downloads\packages\AspNetCoreLocalFeed_.msi
[23F8:2DD8][2016-11-08T22:02:58]i338: Acquiring package: AspNetCoreLocalFeed, payload: AspNetCoreLocalFeed, download from: https://download.microsoft.com/download/5/5/7/557D02A5-C3D0-4EF6-A570-4F75CD0DA5BF/packages/AspNetCoreLocalFeed_.msi
[0190:0850][2016-11-08T22:05:07]e000: Error 0x80070490: Process returned error: 0x490
[0190:0850][2016-11-08T22:05:07]e000: Error 0x80070490: Failed to execute EXE package.
[23F8:3008][2016-11-08T22:05:07]e000: Error 0x80070490: Failed to configure per-machine EXE package.
[23F8:3008][2016-11-08T22:05:07]i319: Applied execute package: DotNetCLI_x64, result: 0x80070490, restart: None
[23F8:3008][2016-11-08T22:05:07]e000: Error 0x80070490: Failed to execute EXE package.
[0190:0850][2016-11-08T22:05:07]i351: Removing cached package: DotNetCLI_x64, from path: C:\ProgramData\Package Cache\8B4ACC662D4A8759AB418CA5F92FE4721D21B190\
[23F8:2DD8][2016-11-08T22:05:07]e000: Error 0x80070642: Failed attempt to download URL: 'https://download.microsoft.com/download/5/5/7/557D02A5-C3D0-4EF6-A570-4F75CD0DA5BF/packages/AspNetCoreLocalFeed_.msi' to: 'C:\Users\Faisal\AppData\Local\Temp\{B803D3CE-B0AC-4779-8D29-E1D7B9070031}\AspNetCoreLocalFeed'
[23F8:2DD8][2016-11-08T22:05:07]e000: Error 0x80070642: Failed to acquire payload from: 'https://download.microsoft.com/download/5/5/7/557D02A5-C3D0-4EF6-A570-4F75CD0DA5BF/packages/AspNetCoreLocalFeed_.msi' to working path: 'C:\Users\Faisal\AppData\Local\Temp\{B803D3CE-B0AC-4779-8D29-E1D7B9070031}\AspNetCoreLocalFeed'
[23F8:2DD8][2016-11-08T22:05:07]e313: Failed to acquire payload: AspNetCoreLocalFeed to working path: C:\Users\Faisal\AppData\Local\Temp\{B803D3CE-B0AC-4779-8D29-E1D7B9070031}\AspNetCoreLocalFeed, error: 0x80070642.
Just to give an update in case it helps someone. Installation succeeded after reinstalling Visual Studio.

Why is AspNet5.ENU.RC1.exe failing to install on Windows Server 2012 R2?

Running AspNet5.ENU.RC1.exe on a windows server 2012 R2 instance (hosted in azure) fails with 0x80072f76 - Unspecified error.
I read about the known issue where installing from a folder that also contains earlier beta vs web tooling MSI files can fail with error 0x80091007 - The hash value is not correct, but this is a different error (and I am installing from a different folder). According to the logs it looks like it may be a network issue. However, accessing the various go.microsoft.com URL's from chrome works fine. What gives?
Example log file snippet is below:
[0F00:0E4C][2015-11-27T13:09:48]i201: Planned package: SetupBlocked_Uninstall, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0F00:0E4C][2015-11-27T13:09:48]i299: Plan complete, result: 0x0
[0F00:0E4C][2015-11-27T13:09:48]i300: Apply begin
[062C:0F18][2015-11-27T13:09:48]i358: Pausing automatic updates.
[062C:0F18][2015-11-27T13:09:48]i359: Paused automatic updates.
[062C:0F18][2015-11-27T13:09:48]i360: Creating a system restore point.
[062C:0F18][2015-11-27T13:09:48]i362: System restore disabled, system restore point not created.
[062C:0F18][2015-11-27T13:09:48]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5fefbd00-3078-41ea-a615-dbcce6a6f135}, options: 0x7, disable resume: No
[062C:0F18][2015-11-27T13:09:48]i000: Caching bundle from: 'C:\Users\SRVC-T~1\AppData\Local\Temp\2\{5fefbd00-3078-41ea-a615-dbcce6a6f135}\.be\AspNet5.ENU.RC1.exe' to: 'C:\ProgramData\Package Cache\{5fefbd00-3078-41ea-a615-dbcce6a6f135}\AspNet5.ENU.RC1.exe'
[062C:0F18][2015-11-27T13:09:48]i320: Registering bundle dependency provider: {5fefbd00-3078-41ea-a615-dbcce6a6f135}, version: 1.0.11117.0
[062C:0F18][2015-11-27T13:09:48]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5fefbd00-3078-41ea-a615-dbcce6a6f135}, resume: Active, restart initiated: No, disable resume: No
[062C:09C8][2015-11-27T13:09:48]i305: Verified acquired payload: SetupBlocked_Install at path: C:\ProgramData\Package Cache\.unverified\SetupBlocked_Install, moving to: C:\ProgramData\Package Cache\0cb88b2b-7b82-3890-96ab-deccbbb3a255\SetupBlocked.exe.
[062C:09C8][2015-11-27T13:09:48]i305: Verified acquired payload: Preparation_Uninstall_ASPNET at path: C:\ProgramData\Package Cache\.unverified\Preparation_Uninstall_ASPNET, moving to: C:\ProgramData\Package Cache\2b825b3c-fe3f-3e14-b083-a41c0f8d1b22\Preparation.exe.
[0F00:0FDC][2015-11-27T13:09:48]w343: Prompt for source of package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, path: C:\Users\srvc-teamcity\.chef\local-mode-cache\cache\aspnet5rc1\DotNetVersionManager-x64.msi
[0F00:0FDC][2015-11-27T13:09:48]i338: Acquiring package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, download from: https://go.microsoft.com/fwlink/?LinkId=690311
[0F00:0FDC][2015-11-27T13:09:48]e000: Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=690311, trying to process HTTP status code anyway.
[0F00:0FDC][2015-11-27T13:09:48]e000: Error 0x80072f76: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=690311' to: 'C:\Users\SRVC-T~1\AppData\Local\Temp\2\{5fefbd00-3078-41ea-a615-dbcce6a6f135}\DotNetVersionManager_x64'
[0F00:0FDC][2015-11-27T13:09:48]w343: Prompt for source of package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, path: C:\Users\srvc-teamcity\.chef\local-mode-cache\cache\aspnet5rc1\DotNetVersionManager-x64.msi
[0F00:0FDC][2015-11-27T13:09:51]i338: Acquiring package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, download from: https://go.microsoft.com/fwlink/?LinkId=690311
[0F00:0FDC][2015-11-27T13:09:51]e000: Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=690311, trying to process HTTP status code anyway.
[0F00:0FDC][2015-11-27T13:09:51]e000: Error 0x80072f76: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=690311' to: 'C:\Users\SRVC-T~1\AppData\Local\Temp\2\{5fefbd00-3078-41ea-a615-dbcce6a6f135}\DotNetVersionManager_x64'
[0F00:0FDC][2015-11-27T13:09:51]w343: Prompt for source of package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, path: C:\Users\srvc-teamcity\.chef\local-mode-cache\cache\aspnet5rc1\DotNetVersionManager-x64.msi
[0F00:0FDC][2015-11-27T13:09:54]i338: Acquiring package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, download from: https://go.microsoft.com/fwlink/?LinkId=690311
[0F00:0FDC][2015-11-27T13:09:54]e000: Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=690311, trying to process HTTP status code anyway.
[0F00:0FDC][2015-11-27T13:09:54]e000: Error 0x80072f76: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=690311' to: 'C:\Users\SRVC-T~1\AppData\Local\Temp\2\{5fefbd00-3078-41ea-a615-dbcce6a6f135}\DotNetVersionManager_x64'
[0F00:0FDC][2015-11-27T13:09:54]w343: Prompt for source of package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, path: C:\Users\srvc-teamcity\.chef\local-mode-cache\cache\aspnet5rc1\DotNetVersionManager-x64.msi
[0F00:0FDC][2015-11-27T13:09:57]i338: Acquiring package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, download from: https://go.microsoft.com/fwlink/?LinkId=690311
[0F00:0FDC][2015-11-27T13:09:57]e000: Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=690311, trying to process HTTP status code anyway.
[0F00:0FDC][2015-11-27T13:09:57]e000: Error 0x80072f76: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=690311' to: 'C:\Users\SRVC-T~1\AppData\Local\Temp\2\{5fefbd00-3078-41ea-a615-dbcce6a6f135}\DotNetVersionManager_x64'
[0F00:0FDC][2015-11-27T13:09:57]e000: Error 0x80072f76: Failed to acquire payload from: 'https://go.microsoft.com/fwlink/?LinkId=690311' to working path: 'C:\Users\SRVC-T~1\AppData\Local\Temp\2\{5fefbd00-3078-41ea-a615-dbcce6a6f135}\DotNetVersionManager_x64'
[0F00:0FDC][2015-11-27T13:09:57]e313: Failed to acquire payload: DotNetVersionManager_x64 to working path: C:\Users\SRVC-T~1\AppData\Local\Temp\2\{5fefbd00-3078-41ea-a615-dbcce6a6f135}\DotNetVersionManager_x64, error: 0x80072f76.
[062C:09C8][2015-11-27T13:09:57]i351: Removing cached package: Preparation_Uninstall_ASPNET, from path: C:\ProgramData\Package Cache\2b825b3c-fe3f-3e14-b083-a41c0f8d1b22\
[062C:09C8][2015-11-27T13:09:57]i351: Removing cached package: SetupBlocked_Install, from path: C:\ProgramData\Package Cache\0cb88b2b-7b82-3890-96ab-deccbbb3a255\
[0F00:0E4C][2015-11-27T13:09:57]e000: Error 0x80072f76: Failed while caching, aborting execution.
[062C:0F18][2015-11-27T13:09:57]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5fefbd00-3078-41ea-a615-dbcce6a6f135}, resume: None, restart: None, disable resume: No
[062C:0F18][2015-11-27T13:09:57]i330: Removed bundle dependency provider: {5fefbd00-3078-41ea-a615-dbcce6a6f135}
[062C:0F18][2015-11-27T13:09:57]i352: Removing cached bundle: {5fefbd00-3078-41ea-a615-dbcce6a6f135}, from path: C:\ProgramData\Package Cache\{5fefbd00-3078-41ea-a615-dbcce6a6f135}\
[062C:0F18][2015-11-27T13:09:57]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5fefbd00-3078-41ea-a615-dbcce6a6f135}, resume: None, restart initiated: No, disable resume: No
[0F00:0E4C][2015-11-27T13:09:57]i399: Apply complete, result: 0x80072f76, restart: None, ba requested restart: No
It is a network error. By default, Windows 2012 R2 has IE Enhanced Security Configuration enabled. Disable IE Enhanced Security Configuration (for both Administrators and Users) using either the Server Manager or powershell (or regedit), then run the exe again. It will succeed.
On Windows 10 I've got the same error. What does help for me:
In Internet Explorer click on the "Tools" button on the menu and select Internet Options. Select the “Advanced” tab and all the way toward the bottom you will see the option for "warn if changing between secure and non secure mode". Uncheck the option.

Deployment error: windows.licensing failed to start WSService

I get the following error when I try to deploy a windows store app:
Error : DEP0700 : Registration of the app failed. error 0xC0020017:
windows.licensing failed to start WSService while installing
My developer license is valid. I changed the package name, still the error persists.
This problem occurs with old and completely new projects.
Does anyone have an idea how to solve this?
Registration of app failed error usually occurs when you try to re-deploy an app with the same package ID from visual studio if it is already installed by a different user.
Solution is to change the Package Identity
Open the manifest
Go to the package tab
Modify the identity

Where is ODATA EF for VWD 2010 Express?

I'm currently using VWD 2010 Express and am interested in exploring WCF REST in more detail, but I can't find "ADO.NET Entity Data Model" template or any information on how to install it. Is it correct that this is also referred to as ODATA Entity Framework? I'm wanting to create a WCF REST service using an SQL Express database and later, a MySQL database.
I've searched the online templates site, but not seeing it there either.
Btw, I'm mostly interested in VB templates for now.
Also, is it accurate to assume ODATA EF will work with MySQL databases? Are there alternate templates specifically for MySQL?
*UPDATE*
As per Ian Michael William's suggestion, I try to install WcfDataServices.exe. The install fails with this in the log file:
[0A34:08FC][2012-10-29T19:02:14]: Caching bundle from: 'C:\DOCUME~1\Bob\LOCALS~1\Temp\{e0328255-3f36-4c55-b959-379ddaeee93f}\.be\WcfDataServices.exe' to: 'C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\{e0328255-3f36-4c55-b959-379ddaeee93f}\WcfDataServices.exe'
[0A34:08FC][2012-10-29T19:02:15]: Registering bundle dependency provider: {e0328255-3f36-4c55-b959-379ddaeee93f}, version: 5.0.50831.0
[0A34:0BF8][2012-10-29T19:02:16]: Error 0x80092009: Failed to get authenticode certificate embedded in: C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\.unverified\wcf_dataservices
[0A34:0BF8][2012-10-29T19:02:16]: Error 0x80092009: Failed to verify signature of payload: wcf_dataservices
[0A34:0BF8][2012-10-29T19:02:16]: Failed to verify payload: wcf_dataservices at path: C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\.unverified\wcf_dataservices, error: 0x80092009. Deleting file.
[0A34:0BF8][2012-10-29T19:02:16]: Error 0x80092009: Failed to cache payload: wcf_dataservices
[03AC:043C][2012-10-29T19:02:16]: Failed to cache payload: wcf_dataservices from working path: C:\DOCUME~1\Bob\LOCALS~1\Temp\{e0328255-3f36-4c55-b959-379ddaeee93f}\wcf_dataservices, error: 0x80092009.
[03AC:043C][2012-10-29T19:02:16]: Application requested retry of payload: wcf_dataservices, encountered error: 0x80092009. Retrying...
[0A34:0BF8][2012-10-29T19:02:17]: Error 0x80092009: Failed to get authenticode certificate embedded in: C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\.unverified\wcf_dataservices
[0A34:0BF8][2012-10-29T19:02:17]: Error 0x80092009: Failed to verify signature of payload: wcf_dataservices
[0A34:0BF8][2012-10-29T19:02:17]: Failed to verify payload: wcf_dataservices at path: C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\.unverified\wcf_dataservices, error: 0x80092009. Deleting file.
[0A34:0BF8][2012-10-29T19:02:17]: Error 0x80092009: Failed to cache payload: wcf_dataservices
[03AC:043C][2012-10-29T19:02:17]: Failed to cache payload: wcf_dataservices from working path: C:\DOCUME~1\Bob\LOCALS~1\Temp\{e0328255-3f36-4c55-b959-379ddaeee93f}\wcf_dataservices, error: 0x80092009.
[03AC:043C][2012-10-29T19:02:17]: Application requested retry of payload: wcf_dataservices, encountered error: 0x80092009. Retrying...
[0A34:0BF8][2012-10-29T19:02:18]: Error 0x80092009: Failed to get authenticode certificate embedded in: C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\.unverified\wcf_dataservices
[0A34:0BF8][2012-10-29T19:02:18]: Error 0x80092009: Failed to verify signature of payload: wcf_dataservices
[0A34:0BF8][2012-10-29T19:02:18]: Failed to verify payload: wcf_dataservices at path: C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\.unverified\wcf_dataservices, error: 0x80092009. Deleting file.
[0A34:0BF8][2012-10-29T19:02:18]: Error 0x80092009: Failed to cache payload: wcf_dataservices
[03AC:043C][2012-10-29T19:02:18]: Failed to cache payload: wcf_dataservices from working path: C:\DOCUME~1\Bob\LOCALS~1\Temp\{e0328255-3f36-4c55-b959-379ddaeee93f}\wcf_dataservices, error: 0x80092009.
[03AC:043C][2012-10-29T19:02:18]: Error 0x80092009: Failed to cache packages.
[03AC:0E64][2012-10-29T19:02:18]: Error 0x80092009: Failed while waiting for cache thread to complete before executing.
[0A34:08FC][2012-10-29T19:02:18]: Removing bundle dependency provider: {e0328255-3f36-4c55-b959-379ddaeee93f}
[0A34:08FC][2012-10-29T19:02:18]: Removing cached bundle: {e0328255-3f36-4c55-b959-379ddaeee93f}, from path: C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\{e0328255-3f36-4c55-b959-379ddaeee93f}\
[03AC:0E64][2012-10-29T19:02:18]: Apply complete, result: 0x80092009 restart: No
The Microsoft stack for creating OData services is called "WCF Data Services", not to be confused with "WCF Services" or "WCF RIA Services". I believe VWD 2010 Express does have a template for creating a new "WCF Data Service".
We are strongly recommending that developers take a dependency on our NuGet packages, and I would similarly recommend that you use EF Code First to make your life a lot easier rather than dealing with "ADO.NET Entity Data Model".
I've been planning to blog this recently. I'll try to write up the blog post and get it posted by tonight if you can wait that long. (The examples will be in C#, but there won't be anything complex in there, so it should be easy to translate to VB.NET.)
I believe there are a few providers out there that will help EF work with MySQL. I have heard they are of varying quality but have not tried them myself. DevArt is consistently well-spoken-of in this space.
I'll update this answer when I get the blog post up.
If you run the WCF Data Services 5.0 installer here:
http://www.microsoft.com/en-us/download/details.aspx?id=29306
...you should see both VB and C# item templates for VWD 2010 Express appear for 'web' projects appear.

Resources