So, bug submitted. We're going to try the vs build environment thing anyway, because I need this to work.
On Fri, Jul 31, 2009 at 3:51 PM, Blair<os...@live.com> wrote: > The core toolset and the extensions don’t depend on VS (unlike building > native C++) and are supposed to run in a pure msbuild environment. > > -----Original Message----- > From: Mark Roden [mailto:mmro...@gmail.com] > Sent: Friday, July 31, 2009 2:39 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Is there a walkthrough that works for > installingdrivers in an MSI, wix v 3 (5120)? > > I guess so. > > By the way, the build server does not have visual studio installed, > I'm just running directly off of msbuild via the compiler that comes > with .NET. I don't know if that functionatlity is supported; I'm > going to be installing visual studio on the build server later today, > just to test that out. > > Mark > > On Fri, Jul 31, 2009 at 2:13 PM, Blair<os...@live.com> wrote: >> I don't know. Walking the codepath, I don't see how you can build without >> errors without generating that table. >> >> Open a bug? >> >> -----Original Message----- >> From: Mark Roden [mailto:mmro...@gmail.com] >> Sent: Friday, July 31, 2009 6:36 AM >> To: General discussion for Windows Installer XML toolset. >> Subject: Re: [WiX-users] Is there a walkthrough that works for >> installingdrivers in an MSI, wix v 3 (5120)? >> >> I've upgraded to the July 4th build. Still no joy. >> >> On Thu, Jul 30, 2009 at 10:42 PM, Blair<os...@live.com> wrote: >>> Under msbuild, the build succeeds but there is no MsiDriverPackages > table, >>> while from Visual Studio there now is a table? >>> >>> Can you try an upgrade to 3.0.5419.0 (the released build)? >>> >>> -----Original Message----- >>> From: Mark Roden [mailto:mmro...@gmail.com] >>> Sent: Thursday, July 30, 2009 12:53 PM >>> To: General discussion for Windows Installer XML toolset. >>> Subject: Re: [WiX-users] Is there a walkthrough that works for >>> installingdrivers in an MSI, wix v 3 (5120)? >>> >>> Just kidding, it's not fixed. >>> >>> Apparently, the driver installation isn't working when I try to do a >>> build on hudson server through msbuild, rather than through the >>> development environment. >>> >>> The MsiDriverPackages flag just doesn't show up in the build made >>> there, but it does when I build through the development environment. >>> >>> That seems particularly strange to me... >>> >>> The WiX tools are checked into the repository and the build server has >>> the July 4th WiX installation installed there, same as on my local >>> machine. >>> >>> Any thoughts? >>> Mark >>> >>> On Thu, Jul 30, 2009 at 12:35 PM, Mark Roden<mmro...@gmail.com> wrote: >>>> On Wed, Jul 29, 2009 at 4:36 PM, Blair<os...@live.com> wrote: >>>>> Most of us have not used DIFxApp to install drivers, so we are just >>> shooting >>>>> in the dark. >>>> Fair enough, but as I've discovered, the in-the-dark shooting does >>>> appear to hit targets occasionally. >>>> >>>>> >>>>> Are you installing on 32-bit or 64-bit OS? >>>> 32 bit. >>>> >>>>> Is your .inf file the keypath for your component? Looking at your MSI > in >>>>> Orca, is anything in your MsiDriverPackages table? >>>> Since there is no MsiDriverPackages table displayed in Orca, I'm going >>>> to assume that that's a no. >>>> >>>> Once I added the 'keypath' element to the component, everything worked >>>> like magic. >>>> >>>> So now, the xml looks like: >>>> >>>> <Directory Id='SystemFolder' Name='System32'> >>>> <Directory Id='DriversFolder' Name='drivers' /> >>>> </Directory> >>>> ... >>>> <DirectoryRef Id="DriversFolder"> >>>> <Component Id ="cyusb" Guid="954D30C8-5CDC-D6AB-3AF6-6CF9823200B3"> >>>> <File Id="cyusb.inf" Source="..\Includes\cyusb.inf" >> KeyPath="yes"/> >>>> <File Id="cyusb.sys" Source="..\Includes\cyusb.sys"/> >>>> <dfx:Driver Legacy="yes" ForceInstall="yes" DeleteFiles="yes"/> >>>> </Component> >>>> </DirectoryRef> >>>> >>>> Apparently, the magic word is 'keypath'! >>>> >>>> Thanks for that! >>>> Mark >>>> >>>>> What does the installation log show (does the MsiProcessDrivers action >>> run? >>>>> Are any errors shown? Etc.) >>>>> >>>>> DIFxApp is created by a different team at Microsoft. All the WiX team >>> (with >>>>> v3) has done is to repackage the contribution that team made in v2. >>>>> >>>>> -----Original Message----- >>>>> From: Mark Roden [mailto:mmro...@gmail.com] >>>>> Sent: Wednesday, July 29, 2009 3:19 PM >>>>> To: General discussion for Windows Installer XML toolset. >>>>> Subject: Re: [WiX-users] Is there a walkthrough that works for >>>>> installingdrivers in an MSI, wix v 3 (5120)? >>>>> >>>>> Wow, really? >>>>> >>>>> That takes me to here: >>>>> http://msdn.microsoft.com/en-us/library/ms790289.aspx >>>>> >>>>> where there's a single line of code, namely: >>>>> >>>>> <Component Id="C__70708CBF27634C5FB5295CDE6954A1BB" >>>>> Guid="953D30C9-5CCC-D5AE-3AF3-6CF9823200B0" DriverForceInstall="no" >>>>> DriverSequence="0"> >>>>> >>>>> going further takes me to here: >>>>> >>>>> http://msdn.microsoft.com/en-us/library/dd163212.aspx >>>>> >>>>> Where the promised code is nowhere to be found. No links, nothing, no >>>>> way to get sample code. >>>>> >>>>> I did my homework. Nothing like this exists on the microsoft website. >>>>> Every question asked on this forum about driver installation ends up >>>>> with absolutely zero responses, or something about writing my own >>>>> action, or something involving WiX 2 and not WiX 3. >>>>> >>>>> How do I do these things? All I want to do is install an inf and an >>>>> sys. It should seriously take at most ten lines of code. I have this >>>>> so far: >>>>> >>>>> ... >>>>> xmlns:dfx="http://schemas.microsoft.com/wix/DifxAppExtension"> >>>>> ... >>>>> >>>>> <Directory Id="TARGETDIR" Name="SourceDir"> >>>>> <Directory Id='SystemFolder' Name='System32' /> >>>>> ... >>>>> >>>>> >>>>> <DirectoryRef Id="SystemFolder"> >>>>> <Component Id="cyusb" Guid="954D30C8-5CDC-D6AB-3AF6-6CF9823200B3"> >>>>> <File Id="cyusb.inf" Source="..\Includes\cyusb.inf" /> >>>>> <File Id="cyusb.sys" Source="..\Includes\cyusb.sys" /> >>>>> <dfx:Driver Legacy="yes" ForceInstall="yes" DeleteFiles="yes"/> >>>>> </Component> >>>>> </DirectoryRef> >>>>> >>>>> And that just does not work. How do I make it work? Does it need to >>>>> go into the driver directory? When I plug the USB device in, it >>>>> should say, hey, I've got a new device here, and I'll go ahead and >>>>> look for the driver for that device. It should then find this INF. >>>>> That's all I want. I've spent two days on this, and I can't figure >>>>> out the magic words I need to make this incantation work. >>>>> >>>>> Please.... help... me... >>>>> >>>>> >>>>> On Wed, Jul 29, 2009 at 2:26 PM, Jeremy > Farrell<jfarr...@pillardata.com> >>>>> wrote: >>>>>> Perhaps MSDN will be helpful: >>>>>> >>>>>> http://msdn.microsoft.com/en-us/library/ms790295.aspx?ppud=4 >>>>>> >>>>>> Regards, >>>>>> jjf >>>>>> >>>>>>> -----Original Message----- >>>>>>> From: Mark Roden [mailto:mmro...@gmail.com] >>>>>>> Sent: Wednesday, July 29, 2009 8:06 PM >>>>>>> To: General discussion for Windows Installer XML toolset. >>>>>>> Subject: Re: [WiX-users] Is there a walkthrough that works >>>>>>> for installingdrivers in an MSI, wix v 3 (5120)? >>>>>>> >>>>>>> Well, now I get the drivers tags, but the driver itself still isn't >>>>>>> getting installed. >>>>>>> >>>>>>> Seriously, is there a walkthrough or anything on how to use this? >>>>>>> I've found numerous sites where people _ask_ the question, but none >>>>>>> with actual responses with actual code that says "Here is how you > take >>>>>>> an inf and a sys and install it." >>>>>>> >>>>>>> Thanks, >>>>>>> Mark >>>>>>> >>>>>>> On Wed, Jul 29, 2009 at 7:56 AM, Mark Roden<mmro...@gmail.com> wrote: >>>>>>> > I had not done that. Hopefully, that will be all I need to >>>>>>> get it done. >>>>>>> > >>>>>>> > Thanks, >>>>>>> > Mark >>>>>>> > >>>>>>> > On Wed, Jul 29, 2009 at 12:28 AM, Blair<os...@live.com> wrote: >>>>>>> >> Are you talking about Intellisense in VisualStudio? You added the >>>>>>> >> DifxAppExtension's namespace, right? >>>>>>> >> >>>>>>> >> Here is a short example (warning: not tested): >>>>>>> >> >>>>>>> >> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" >>>>>>> >> xmlns:dfx="http://schemas.microsoft.com/wix/DifxAppExtension"> >>>>>>> >> ... >>>>>>> >> <Component ...> >>>>>>> >> <File .../> >>>>>>> >> <dfx:Driver AddRemovePrograms="no" ForceInstall="no"/> >>>>>>> >> ... >>>>>>> >> >>>>>>> >> -----Original Message----- >>>>>>> >> From: Mark Roden [mailto:mmro...@gmail.com] >>>>>>> >> Sent: Tuesday, July 28, 2009 10:18 PM >>>>>>> >> To: General discussion for Windows Installer XML toolset. >>>>>>> >> Subject: Re: [WiX-users] Is there a walkthrough that works >>>>>>> for installing >>>>>>> >> drivers in an MSI, wix v 3 (5120)? >>>>>>> >> >>>>>>> >> It doesn't work. The driver tags aren't showing up. According to >>>>>>> >> what I can see in the schema, the driver tags are derived from >>>>>>> >> component, and neither the component tag has driver tags, >>>>>>> nor does it >>>>>>> >> contain driver tags, nor is a driver tag being recognized. >>>>>>> They are >>>>>>> >> all failing. So, I figure I'm probably doing something wrong. >>>>>>> >> >>>>>>> >> I've updated to the release version, in case that was the >>>>>>> problem. It >>>>>>> >> didn't help. >>>>>>> >> >>>>>>> >> On Tue, Jul 28, 2009 at 8:33 PM, Blair<os...@live.com> wrote: >>>>>>> >>> DifxApp? >>>>>>> >>> >>>>>>> >>> See the Difxapp Schema page in wix.chm. >>>>>>> >>> >>>>>>> >>> -----Original Message----- >>>>>>> >>> From: Mark Roden [mailto:mmro...@gmail.com] >>>>>>> >>> Sent: Tuesday, July 28, 2009 4:17 PM >>>>>>> >>> To: wix-users@lists.sourceforge.net >>>>>>> >>> Subject: [WiX-users] Is there a walkthrough that works >>>>>>> for installing >>>>>>> >>> drivers in an MSI, wix v 3 (5120)? >>>>>>> >>> >>>>>>> >>> Hi all, >>>>>>> >>> >>>>>>> >>> I'm running wix v 3.0.5120, and I need to install a driver. >>>>>>> >>> Basically, it's one inf file and onesys files, and I'm >>>>>>> having no joy. >>>>>>> >>> I've tried this: >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> <Directory Id='DriversFolder' Name='Drivers'/> >>>>>>> >>> >>>>>>> >>> ... >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> <DirectoryRef Id="DriversFolder"> >>>>>>> >>> <Component Id="cyusb_inf" Guid="*"> >>>>>>> >>> <File Id="cyusb.inf" >>>>>>> >>> Source="..\Includes\cyusb.inf" /> >>>>>>> >>> </Component> >>>>>>> >>> <Component Id="cyusb_sys" Guid="*"> >>>>>>> >>> <File Id="cyusb.sys" >>>>>>> >>> Source="..\Includes\cyusb.sys" /> >>>>>>> >>> </Component> >>>>>>> >>> </DirectoryRef> >>>>>>> >>> >>>>>>> >>> I've also tried putting things into system32. The >>>>>>> drivers are there, >>>>>>> >>> and they work perfectly well on a vista machine if I tell >>>>>>> the system >>>>>>> >>> exactly where to look, but I'd like it to Just Work. >>>>>>> >>> >>>>>>> >>> Thanks! >>>>>>> >>> Mark >>>>>>> >>> >>>>>>> >>> >>>>>>> >> >>>>>>> -------------------------------------------------------------- >>>>>>> -------------- >>>>>>> >>> -- >>>>>>> >>> Let Crystal Reports handle the reporting - Free Crystal >>>>>>> Reports 2008 >>>>>>> >> 30-Day >>>>>>> >>> trial. Simplify your report design, integration and >>>>>>> deployment - and focus >>>>>>> >>> on >>>>>>> >>> what you do best, core application coding. Discover >>>>>>> what's new with >>>>>>> >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>> >>> _______________________________________________ >>>>>>> >>> WiX-users mailing list >>>>>>> >>> WiX-users@lists.sourceforge.net >>>>>>> >>> https://lists.sourceforge.net/lists/listinfo/wix-users >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> >>>>>>> >> >>>>>>> -------------------------------------------------------------- >>>>>>> -------------- >>>>>>> >> -- >>>>>>> >>> Let Crystal Reports handle the reporting - Free Crystal >>>>>>> Reports 2008 >>>>>>> >> 30-Day >>>>>>> >>> trial. Simplify your report design, integration and >>>>>>> deployment - and focus >>>>>>> >> on >>>>>>> >>> what you do best, core application coding. Discover >>>>>>> what's new with >>>>>>> >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>> >>> _______________________________________________ >>>>>>> >>> WiX-users mailing list >>>>>>> >>> WiX-users@lists.sourceforge.net >>>>>>> >>> https://lists.sourceforge.net/lists/listinfo/wix-users >>>>>>> >>> >>>>>>> >> >>>>>>> >> >>>>>>> -------------------------------------------------------------- >>>>>>> -------------- >>>>>>> >> -- >>>>>>> >> Let Crystal Reports handle the reporting - Free Crystal >>>>>>> Reports 2008 30-Day >>>>>>> >> trial. Simplify your report design, integration and >>>>>>> deployment - and focus >>>>>>> >> on >>>>>>> >> what you do best, core application coding. Discover what's new > with >>>>>>> >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>> >> _______________________________________________ >>>>>>> >> WiX-users mailing list >>>>>>> >> WiX-users@lists.sourceforge.net >>>>>>> >> https://lists.sourceforge.net/lists/listinfo/wix-users >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> -------------------------------------------------------------- >>>>>>> ---------------- >>>>>>> >> Let Crystal Reports handle the reporting - Free Crystal >>>>>>> Reports 2008 30-Day >>>>>>> >> trial. Simplify your report design, integration and >>>>>>> deployment - and focus on >>>>>>> >> what you do best, core application coding. Discover what's new > with >>>>>>> >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>> >> _______________________________________________ >>>>>>> >> WiX-users mailing list >>>>>>> >> WiX-users@lists.sourceforge.net >>>>>>> >> https://lists.sourceforge.net/lists/listinfo/wix-users >>>>>>> >> >>>>>>> > >>>>>>> >>>>>>> -------------------------------------------------------------- >>>>>>> ---------------- >>>>>>> Let Crystal Reports handle the reporting - Free Crystal >>>>>>> Reports 2008 30-Day >>>>>>> trial. Simplify your report design, integration and >>>>>>> deployment - and focus on >>>>>>> what you do best, core application coding. Discover what's new with >>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>> _______________________________________________ >>>>>>> WiX-users mailing list >>>>>>> WiX-users@lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/wix-users >>>>>>> >>>>>> >>>>>> >>>>> >>> >> > ---------------------------------------------------------------------------- >>>>> -- >>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>> 30-Day >>>>>> trial. Simplify your report design, integration and deployment - and >>> focus >>>>> on >>>>>> what you do best, core application coding. Discover what's new with >>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>> _______________________________________________ >>>>>> WiX-users mailing list >>>>>> WiX-users@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/wix-users >>>>>> >>>>> >>>>> >>> >> > ---------------------------------------------------------------------------- >>>>> -- >>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> 30-Day >>>>> trial. Simplify your report design, integration and deployment - and >>> focus >>>>> on >>>>> what you do best, core application coding. Discover what's new with >>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>> _______________________________________________ >>>>> WiX-users mailing list >>>>> WiX-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/wix-users >>>>> >>>>> >>>>> >>> >> > ---------------------------------------------------------------------------- >>> -- >>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> 30-Day >>>>> trial. Simplify your report design, integration and deployment - and >>> focus on >>>>> what you do best, core application coding. Discover what's new with >>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>> _______________________________________________ >>>>> WiX-users mailing list >>>>> WiX-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/wix-users >>>>> >>>> >>> >>> >> > ---------------------------------------------------------------------------- >>> -- >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >>> trial. Simplify your report design, integration and deployment - and > focus >>> on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> WiX-users mailing list >>> WiX-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wix-users >>> >>> >>> >> > ---------------------------------------------------------------------------- >> -- >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >>> trial. Simplify your report design, integration and deployment - and > focus >> on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> WiX-users mailing list >>> WiX-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wix-users >>> >> >> > ---------------------------------------------------------------------------- >> -- >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> >> > ---------------------------------------------------------------------------- > -- >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day >> trial. Simplify your report design, integration and deployment - and focus > on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > > ---------------------------------------------------------------------------- > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users