I am not sure I follow, I can't use the same key that is yours and you don't ship the private part (quite correctly) and if you use the public key you can't run the code.
The build process allows you to supply your own key via OFFICIAL_WIX_BUILD then everything is signed with my key. I can see this code everywhere even in WixBuild.Common.targets which is used by the Votive build. Neil -----Original Message----- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: 08 January 2009 15:52 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Building signed WiX Source That's it! I totally forgot about this. You have to use the same public key token (or modify the build system to use your public key token) or the InternlsVisibleTo won't match up. Been so long since we changed the keys that I forgot about this step. -----Original Message----- From: Simon Dahlbacka [mailto:simon.dahlba...@gmail.com] Sent: Thursday, January 08, 2009 00:24 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Building signed WiX Source from the error message, a plausible explanation is the key used is one that is used is also used in an InternalsVisibleToAttribute and the code takes advantage of this On Thu, Jan 8, 2009 at 9:48 AM, Neil Sleightholm <n...@x2systems.com> wrote: > Is it possible it only works because you are using an official Microsoft key and that gives permissions to load something else? They key I generated was simply done with "sn -k mykey.snk" is that appropriate? > > I'll raise a bug so this isn't lost. > > Neil > > Neil Sleightholm > X2 Systems Limited > n...@x2systems.com <mailto:n...@x2systems.com> > > > ________________________________ > > From: Rob Mensching [mailto:rob.mensch...@microsoft.com] > Sent: Wed 07/01/2009 23:14 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Building signed WiX Source > > > > I don't know. Works on the build machine today. <shrug/> > > -----Original Message----- > From: Neil Sleightholm [mailto:n...@x2systems.com] > Sent: Wednesday, January 07, 2009 15:00 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Building signed WiX Source > > I have both "Visual Studio 2008 SDK Version 1.0" and "Visual Studio 2005 > SDK Version 4.0" installed. > (This details the full config: > http://neilsleightholm.blogspot.com/2008/10/how-to-create-wix-build-mach > ine.html) > > Should I raise a bug for this? > > Neil > > -----Original Message----- > From: Rob Mensching [mailto:rob.mensch...@microsoft.com] > Sent: 07 January 2009 22:52 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Building signed WiX Source > > 2005 and 2008 both. I think that's a 2008 thing but I'm not sure if > that fixes the 2005 official build. Votive is mainly handled by Justin. > > -----Original Message----- > From: Neil Sleightholm [mailto:n...@x2systems.com] > Sent: Wednesday, January 07, 2009 14:32 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Building signed WiX Source > > If I build without setting OFFICIAL_WIX_BUILD everything is ok, it is > only a problem when I try to sign it. > > Is "VSIP SDK" == "Visual Studio 2005 SDK Version 4." > > Neil > > -----Original Message----- > From: Rob Mensching [mailto:rob.mensch...@microsoft.com] > Sent: 07 January 2009 22:18 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Building signed WiX Source > > Do you have the VSIP SDK? I *think* that's what is required. There is > a fair bit of software that has to be installed when doing an official > build. > > -----Original Message----- > From: Neil Sleightholm [mailto:n...@x2systems.com] > Sent: Wednesday, January 07, 2009 13:44 > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Building signed WiX Source > > I want to be able to build the WiX source to run on machines other than > the build machine. By default the build processes delay signs the code > with the public WiX key and so it won't run unless you trust the public > key. Looking at the build code it seems the answer to this is to create > my own public/private key and set OFFICIAL_WIX_BUILD to point at it. > > This works for most of the code but Votive2005.csproj fails with this > error: > WixExtensionReferenceNodeProperties.cs(59,10): error CS0122: > 'System.SRCategoryAttribute' is inaccessible due to its protection level > > Does anyone have any idea why this is happening? > > Is this the correct way to generate signed code? > > Thanks > > Neil > > Neil Sleightholm > X2 Systems Limited > n...@x2systems.com > > > ------------------------------------------------------------------------ > ------ > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------ > ------ > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------ > ------ > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------ > ------ > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------ ------ > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------ ------ > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------ ------ > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------ ------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users