WiXInstaller
WiXInstaller copied to clipboard
AddIn set up
Hi Govert,
I am trying to use this installer but I cannot seem to add my Add-In project as a reference to the ExcelAddInDeploy project. Is this setup project supposed to be independent of the actual ExcelDNA project ? And I would just need to specify the physical path to the actual xll file (after compile) in the Product.wxs file ?
Thanks.
I didn't make the WiXinstaller, but I'm happy to support it. Yes - I think you make a copy of the WiXInstaller and customize it, using your compiled add-in. I guess they can be part of the same solution, but don't have other links like a reference or anything.
Okay, yes I got it to work that way. Also I upgraded the version number and re-deployed the ExcelAddInDeploy project and created a new msi file. Then when I open Excel it does not detect that there is an upgrade and it does not try to upgrade to new version on Auto Open. How can that be made possible ?
Doing some kind of auto-upgrade would be a whole different story. It's probably something you'd do by structuring your add-in in two parts, a master add-in that just checks for the current version, and downloads it if needed, and then the real add-in itself, with different versions. Maybe there's some way to get the MSI installer to help, but it's not an area I'm familiar with at all.
Ah okay. Do you know how to get rid of the Licence agreement bit? Maybe just get rid of that "I agree" check box ?
Thanks.
From http://stackoverflow.com/questions/13045658/removing-license-dialog it looks like you can change the setup from WixUI_Minimal
in this part
<UI Id="UI">
<!--See http://wix.sourceforge.net/manual-wix3/WixUI_index.htm for more information
The following line adds the minimal WiX Dialog set to the install-->
<UIRef Id="WixUI_Minimal"/>
<!-- This TextStyle is used in the CustonMessages.wxl file -->
<TextStyle Id="Black10" FaceName="Tahoma" Size="10" Red="0" Green="0" Blue="0" Bold="yes" />
</UI>
to
<UI>
<UIRef Id="WixUI_InstallDir" />
<!-- Skip license dialog -->
<Publish Dialog="WelcomeDlg"
Control="Next"
Event="NewDialog"
Value="InstallDirDlg"
Order="2">1</Publish>
<Publish Dialog="InstallDirDlg"
Control="Back"
Event="NewDialog"
Value="WelcomeDlg"
Order="2">1</Publish>
</UI>
Google has a lot more too...
@akothoor Did you find solution? I have the same problem.