Issue when creating setup project with wix

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

Issue when creating setup project with wix
 
Ustun Ozgur


Guest


We are getting following exception while trying to create a setup project with wix as described here https://www.add-in-express.com/creating-addins-blog/2011/02/22/deploying-peruser-office-extension-msi-installer/

Detailed technical information follows:
---

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files (x86)/Add-in Express/Add-in Express for .NET/Bin/Packages/VS2005/AddinExpress.Wizard.dll
Assembly Full Name: AddinExpress.Wizard, Version=8.7.4430.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 8.7.4430.0

Exception Source: AddinExpress.Wizard
Exception Type: System.NullReferenceException
Exception Message: Object reference not set to an instance of an object.
Exception Target Site: ProcessWiXSetupTemplate

---- Stack Trace ----
AddinExpress.SetupWizard.SetupWizardForm.ProcessWiXSetupTemplate(supportProjectGroups As Boolean, targetFramework As String, adxInstallDir As String, primaryOutputPath As String, patchPath As String, projectGuid As String, upgradeGuid As String, setupFile As String, dependencies As String, wixNamespace As String, brokerProjectName As String, brokerCfgFileName As String, multiLanguage As Boolean, dualPurpose As Boolean, setupText As String&, productText As String&, supportedLangs As String&)
AddinExpress.Wizard.dll: N 5695 (0x163F) IL
AddinExpress.SetupWizard.SetupWizardForm.CreateSetupProject(primaryOutputPath As String)
AddinExpress.Wizard.dll: N 2747 (0xABB) IL
AddinExpress.SetupWizard.SetupWizardForm.CreateSetupProject(project As Project, targetFramework As UInt32, serviceProvider As IServiceProvider)
AddinExpress.Wizard.dll: N 0127 (0x7F) IL
AddinExpress.Wizard.ADXPackage.Exec(guidCmdGroup As Guid&, cmdID As UInt32, nCmdexecopt As UInt32, pvaIn As IntPtr, pvaOut As IntPtr)
AddinExpress.Wizard.dll: N 1076 (0x434) IL
Posted 11 Jan, 2018 08:52:01 Top
Sergey Grischenko


Add-in Express team


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

What version of Visual Studio and WiX Toolset do you use?
Posted 11 Jan, 2018 11:12:36 Top
Ustun Ozgur


Guest


Microsoft Visual Studio Professional 2017
Version 15.4.4
VisualStudio.15.Release/15.4.4+27004.2009
Microsoft .NET Framework Version 4.7.02046


WiX Toolset Visual Studio Extension 0.9.21.62588
WiX Toolset Visual Studio Extension version 0.9.21.62588


and WiX Toolset v3.11 build tools.
Posted 11 Jan, 2018 16:22:35 Top
Sergey Grischenko


Add-in Express team


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

Please check if the registry key below exists on your PC.

For 32 bits OS:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows

For 64 bits OS:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows

If the key doesn't exist, please create it manually via the regedit.exe system tool or just install Windows SDK.
Please let me know if the issue still exists.
Posted 12 Jan, 2018 07:42:45 Top