Why is your bootstrapper installing in the system context?
On Sat, Dec 29, 2012 at 10:56 AM, Gabriel Ivanes <g...@fastmail.net> wrote: > Ok. So here a more complete explanation. Be clement, more english is > poor. > > The bootstrapper is installed in system-context, so UserLanguageID can't > work. > I need to search the user language by parsing HKUSERS and Volatile > Enviroment to find the Logonuser. This task needs to be done with a > custom action. Since few months that's the way i did it. Another > solution ? > > The first disappointment is that burn doesn't accept custom action. > That's what i read. And I tried without success. No of execution in log. > > Let's say i have 4 languages with each one a msi and mst. i thought > putting a launchcondition with this custom action. The packagegroup > will have these 4 msi with no condition but vital=no. So each > installation is attempted but only the right one will go on with a good > condition. It was ok but not a good way to do things. Failed > installation would'nt have been trapped. > > Then, i tried to convert this custom action (vbs) in a binary and > executing it in the first sequence of the bundle. > This exe slightly modified put the key in HKUSERS... in > HKLM\Software\[WixBundleName]. Next, i tried use a registrysearch and > use the result in condition for each language's msi. Ok but > RegistrySearch didn't find anything because ExePackage wasn't executed. > > The second disappointment was that bundle's conditions (here MsiPackage) > are evalued before any installation begins. This would have been the > solution. > > I discover that parameters to bundle can be used with MsiPackage. But in > this case i'd need for conditions... > > Ok, what about HKUSERS\.DEFAULT, i wondered. But > MachinePreferredUILanguages's value in a REG_MULTI_SZ.. > > I would dig Ramirez's book if i could find how to incorpore a custom > action in a custom bundle. But maybe my approach is wrong. Anyway, i > didn't find a way to make a suitable bundle. As my experience in Wix is > small, i'd love to hear that there is a simplier approach and a good > solution. Using UserLanguageID ? :) > > Thanks. > > Sincerely, > Gabriel > > > Le Ven 28 Décembre 2012, à 23:54, Rob Mensching a écrit : > > I'm not sure I understood the original requirement completely, but if you > > wanted the user language in the Bundle, would the UserLanguageID variable > > have worked? > > > > > > On Thu, Dec 27, 2012 at 12:29 AM, Gabriel Ivanes <g...@fastmail.net> > > wrote: > > > > > Finally, I used an MST, a launchcondition and with vital=no. > > > > > > -- > > > > > > "I know no way of judging the future but by the past." > > > Patrick Henry > > > > > > "You can never plan the future by the past." > > > Edmund Burke > > > > > > > > > > ------------------------------------------------------------------------------ > > > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > > > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > > > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > > > MVPs and experts. ON SALE this month only -- learn more at: > > > http://p.sf.net/sfu/learnmore_122712 > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > -- > > virtually, > > > > Rob Mensching > > http://RobMensching.com LLC > > > ------------------------------------------------------------------------------ > > Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and > > much more. Get web development skills now with LearnDevNow - > > 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > > SALE $99.99 this month only -- learn more at: > > http://p.sf.net/sfu/learnmore_122812 > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > -- > > "I know no way of judging the future but by the past." > Patrick Henry > > "You can never plan the future by the past." > Edmund Burke > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122912 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching http://RobMensching.com LLC ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users