Well conceptually, you don't need the InstallDir dialog if you're installing perUser as it's always going into the LocalAppData tree anyway. It's a pretty straight forward translation of WixUI_Advanced. Even the somewhat troublesome custom actions could be moved to another file since they run scheduled in both the Execute and UI sequences.
About two hours of work and most of it to verify functionality. No, I don't have ready-made source for you. I've modified FeatureTree, Mondo, and InstallDir extensively, but I've never done. Advanced. Two reasons: 1) management wants compatibility with Windows Installer Service 4.5 and the ability to install on late service packs of XP and Server 2003 (with Windows Installer Service 4.5 installed on them); 2) management wants 100% visibility of all installed products on all machines by one account; 3) management wants patching and upgrading to behave in the same manner (e.g., under one account); and 4) management wants GPO deployability. Just because software has a capability doesn't mean it should be used. There should be a business justification for it. -- John Merryweather Cooper Build & Install Engineer -- ESA Jack Henry & Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -----Original Message----- From: jo...@msli.com [mailto:jo...@msli.com] Sent: Friday, August 30, 2013 2:16 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Add install InstallScopeDlg to WixUI_InstallDir.wxs Thank you for your concern, but Yes, I do want the per-user/per-machine choice in my installer. - Only clients Windows 7 or higher are to be supported. - I only perform major upgrades. - The Setup Project msi allows this choice and thats what I'm replacing, so it must also offer the choice. Have you a WixUI_*.xml that adds to WixUI_InstallDir.wxs a per-user/per-machine choice? On Fri, 2013-08-30 at 18:18 +0000, John Cooper wrote: > Although being able to specify perUser or perMachine is superficially very > appealing, it has significant implications for patching and upgrading that > are unacceptable in many deployment scenarios. > > Make sure you're will to live with ALL of those implications. In my > experience, too many products are deployed perMachine, but network > administrators have certain expectations about who can patch and upgrade > across a network or over a farm that perUser breaks (in particular, there's a > nearly universal expectation that they can see all installed products from an > appropriately permissioned user). > > Also, I believe this is only really going to work if you limited yourself to > installing on Windows Installer Service 5.0 or later. Will that work for > you? For example, that will totally cut out support for XP and Server 2003. > > -- > John Merryweather Cooper > Build & Install Engineer -- ESA > Jack Henry & Associates, Inc.(r) > Shawnee Mission, KS 66227 > Office: 913-341-3434 x791011 > jocoo...@jackhenry.com > www.jackhenry.com > > > > > -----Original Message----- > From: jo...@msli.com [mailto:jo...@msli.com] > Sent: Friday, August 30, 2013 12:59 PM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Add install InstallScopeDlg to > WixUI_InstallDir.wxs > > Hay anyone modified WixUI_InstallDir.wxs to enable a per-user vs. > per-machine install? > > I really like the flow of WixUI_InstallDir, but I need to add an install > scope (per-user vs per-machine), to make it more like the old VS Setup > Project. > > I am trying to take pars of WixUI_Advanced.wxs and add them to a copy of > WixUI_InstallDir.wxs, but before I go too deep, I'm wondering if anyone else > has done this, or is there a better way? > > > NOTICE: This email may contain confidential information. Please see > http://www.meyersound.com/confidential/ for our complete policy. > > ---------------------------------------------------------------------- > -------- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL > 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.c > lktrk _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > NOTICE: This electronic mail message and any files transmitted with it > are intended exclusively for the individual or entity to which it is > addressed. The message, together with any attachment, may contain > confidential and/or privileged information. > Any unauthorized review, use, printing, saving, copying, disclosure or > distribution is strictly prohibited. If you have received this message > in error, please immediately advise the sender by reply email and delete all > copies. > > > ---------------------------------------------------------------------- > -------- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL > 2012, more! > Discover the easy way to master current and previous Microsoft > technologies and advance your career. Get an incredible 1,500+ hours > of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.c > lktrk _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users