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

Reply via email to