Deployment issues using VS2015 and WIX

Add-in Express™ Support Service
That's what is more important than anything else

Deployment issues using VS2015 and WIX
 
Bob Bestvina


Guest


Hi,
I am having issues deploying my Outlook addin which was originally created using VS2010 and the add-in express Clicktwice method. I never experienced any issues with the original installation and all my customers could load the software with XP or Win7.
I am developing with VS2015 on Win7 using the latest service pack and using the latest release of your tools. I have no issues locally running the software at all.
I am not using your new WIX toolset but I only require a very basic installation so I am creating the setup by using Add-in express -> create setup project and selecting WIX. I also check the "Sign project output, loader and manifest" under Signing options and select my Code Signing Certificate. I then goto Add-in express -> Publish and Make sure all my prerequisites are selected.

- Rebuild my project, rebuild the WIXsetup goto add-in express -> Publish
- Instalation URL is set to my website
- Signing Certificate is entered
- Hit the Publish
- I get verification that "The project has just been published Successfuly."
- Move files to my website

- Try to install and I get the "Setup has detected that the file 'C:\Users\210042~1\AppData\Local\Temp\VSD73E.tmp\SQL Server Native Client 10\sqlncli64.msi' has changed since it was initially published."

- It appears that my bootstapper files are not signed as they were in the Clicktwice method.

See Full Log Below - Can you shed any light on what I need to do to correct the situation?

Thanks for your help,
Bob


Install.log
The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [NTProductType] = 1 {int}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 6.1.1 {version}
Running checks for package 'SQL Server Native Client 10.0', phase BuildList
Running MsiProductCheck with ProductCode '{4F44B5AE-82A6-4A8A-A3E3-E24D489728E3}'
MsiQueryProductState returned '-1'
Setting value '-1 {int}' for property 'x86_Installed'
Running MsiProductCheck with ProductCode '{BBDE8A3D-64A2-43A6-95F3-C27B87DF7AC1}'
MsiQueryProductState returned '-1'
Setting value '-1 {int}' for property 'x64_Installed'
The following properties have been set for package 'SQL Server Native Client 10.0':
Property: [x64_Installed] = -1 {int}
Property: [x86_Installed] = -1 {int}
Running checks for command 'SQL Server Native Client 10\sqlncli32.msi'
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': true
Result of checks for command 'SQL Server Native Client 10\sqlncli32.msi' is 'Bypass'
Running checks for command 'SQL Server Native Client 10\sqlncli64.msi'
Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of checks for command 'SQL Server Native Client 10\sqlncli64.msi' is 'Install'
'SQL Server Native Client 10.0' RunCheck result: Install Needed
Running checks for package 'Microsoft .NET Framework 4 (x86 and x64)', phase BuildList
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
Read string value '4.0.30319'
Setting value '4.0.30319 {string}' for property 'DotNet40Full_TargetVersion'
The following properties have been set for package 'Microsoft .NET Framework 4 (x86 and x64)':
Property: [DotNet40Full_TargetVersion] = 4.0.30319 {string}
Running checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe' is 'Bypass'
Running checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'DotNet40Full_TargetVersion' and value '4.0.30129': true
Result of checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe' is 'Bypass'
'Microsoft .NET Framework 4 (x86 and x64)' RunCheck result: No Install Needed
Installation of components 'SQL Server Native Client 10.0' was accepted.
Copying files to temporary directory "C:\Users\210042~1\AppData\Local\Temp\VSD73E.tmp\"
Downloading files to "C:\Users\210042~1\AppData\Local\Temp\VSD73E.tmp\"
(10/6/2015 1:53:52 PM) Downloading 'SQL Server Native Client 10\sqlncli64.msi' from

'http://www.sonsautomation.com/files/Download/mms/1033/2.0.0074/prerequisites/SQL Server Native Client 10/sqlncli64.msi' to 'C:\Users

\210042~1\AppData\Local\Temp\VSD73E.tmp\'
Download completed at 10/6/2015 1:53:53 PM
Verifying file integrity of C:\Users\210042~1\AppData\Local\Temp\VSD73E.tmp\SQL Server Native Client 10\sqlncli64.msi
WinVerifyTrust returned -2146762749
Subject form unknown
Running checks for package 'SQL Server Native Client 10.0', phase BeforePackage
Running MsiProductCheck with ProductCode '{4F44B5AE-82A6-4A8A-A3E3-E24D489728E3}'
MsiQueryProductState returned '-1'
Setting value '-1 {int}' for property 'x86_Installed'
Running MsiProductCheck with ProductCode '{BBDE8A3D-64A2-43A6-95F3-C27B87DF7AC1}'
MsiQueryProductState returned '-1'
Setting value '-1 {int}' for property 'x64_Installed'
The following properties have been set for package 'SQL Server Native Client 10.0':
Property: [x64_Installed] = -1 {int}
Property: [x86_Installed] = -1 {int}
Running checks for command 'SQL Server Native Client 10\sqlncli64.msi'
Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of checks for command 'SQL Server Native Client 10\sqlncli64.msi' is 'Install'
'SQL Server Native Client 10.0' RunCheck result: Install Needed
Verifying file integrity of C:\Users\210042~1\AppData\Local\Temp\VSD73E.tmp\SQL Server Native Client 10\sqlncli64.msi
WinVerifyTrust returned -2146762749
Subject form unknown
Error: Setup has detected that the file 'C:\Users\210042~1\AppData\Local\Temp\VSD73E.tmp\SQL Server Native Client 10\sqlncli64.msi' has changed since it was initially published.
Posted 07 Oct, 2015 22:40:18 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Bob,

Please disable signing in the ClickTwice publish wizard. This option is not fully supported in the public beta version of Add-in Express. We will publish the release version next week and you will be able to use this option in ClickTwice too.
Posted 08 Oct, 2015 09:35:00 Top