Thanks James, good point.
The driver will be signed for production; it just isn't at the moment. I 
shouldn't need the Legacy option.
I've been mulling over perUser vs. perMachine installs and my conclusion is 
that there's no point in a per-user install because the user would need to be 
an admin anyway (or be elevated) to install the driver.
So I was a bit surprised when my per-machine installer failed but I _think_ 
it's because of where I put my self-signed certificate (in the user store, not 
the machine store) - I just want to be sure that I'm not missing something and 
the install won't fail in the field, and you guys are the experts!
ThanksPete



----------------------------------------
> From: johnst...@inn-soft.com
> To: wix-users@lists.sourceforge.net
> Date: Mon, 16 Jan 2012 19:29:41 +0000
> Subject: Re: [WiX-users] difx extension and perMachine installs
>
> Did you remember to set the Legacy attribute to "yes" on your Driver
> element?
>
> See http://wix.sourceforge.net/manual-wix3/difxapp_xsd_driver.htm for more
> info. Specifically:
>
> "Legacy YesNoType If set to "yes", configures DIFxApp to install
> unsigned driver packages and driver packages with missing files"
>
> Also see http://msdn.microsoft.com/en-us/library/ff547653(VS.85).aspx for
> more info on what legacy mode is.
>
> James
>
> -----Original Message-----
> From: Peter Hull [mailto:peterhul...@hotmail.com]
> Sent: Monday, January 16, 2012 14:59
> To: WiX Users
> Subject: [WiX-users] difx extension and perMachine installs
>
>
>
> I am building an installer with a device driver, to be installed with the
> WiX difx extension. The driver is self-signed for testing purposes. I set my
> <Package> element to <Package Description="..."
>                  InstallerVersion="200"
>                  InstallScope="perUser"
>                  Compressed="yes"
>                  InstallPrivileges="elevated" /> and everything seemed fine.
> However I reasoned that a device driver had better be perMachine so I
> changed the InstallScope to perMachine.
> Now the installer fails and rolls back. Looking at the logs it is difx,
> returning error TRUST_E_NOSIGNATURE.
> My questions:
> 1. Does WiX handle the case where a perUser install has a device driver (as
> long as InstallPrivileges is elevated)?
> 2. Am I correct in saying that the problem is my self-signed certificate -
> it's trusted by 'me' but for a perMachine install it is no longer trusted?
>
> Thanks in advance,
> Pete
>
>
>
> ----------------------------------------------------------------------------
> --
> RSA(R) Conference 2012
> Mar 27 - Feb 2
> Save $400 by Jan. 27
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev2
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Mar 27 - Feb 2
> Save $400 by Jan. 27
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev2
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to