Re: [WiX-users] Condition for Component
Sandeep, If you are using this to work with databases, I would suggest you a different approach. I am creating my databases using SQLScripts elements, and not using WIX's SQLDatabase element. That way, I have a better granularity of what I want to do, particularly regarding the way I create the database. This is my code: /sql:SqlDatabase> INSTALL_DATA=1 And Not Installed Note that the SqlDatabase element is not within a component. Also, I have a component per script to create/alter tables, and one script for dropping the database. Hope this helps. Eitan On Sun, Oct 5, 2008 at 8:34 AM, Sandeep Gautam (HCL Technologies Ltd) < [EMAIL PROTECTED]> wrote: > I have tried this option also. On repair/repair, with this option it is > deleting the data base . But On remove/repair, I don 't want to do any with > this component on repair/DB(component which is creating DB at the time of > installation). > > Please help me out. > > Regards > Sandeep > > -Original Message- > From: Eitan Behar [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 04, 2008 11:23 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Condition for Component > > Transitive="yes"> > Not Installed > > > > On Sun, Oct 5, 2008 at 1:45 AM, Sandeep Gautam (HCL Technologies Ltd) < > [EMAIL PROTECTED]> wrote: > > > No, I did not use this attribute.Shall I mark this attribute as No ? > > > > > > > > -Original Message- > > From: Rob Mensching [mailto:[EMAIL PROTECTED] > > Sent: Friday, October 03, 2008 10:33 PM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Condition for Component > > > > Is the Component marked Transitive? > > > > -Original Message- > > From: Sandeep Gautam (HCL Technologies Ltd) [mailto: > [EMAIL PROTECTED] > > ] > > Sent: Friday, October 03, 2008 19:28 > > To: General discussion for Windows Installer XML toolset. > > Subject: [WiX-users] Condition for Component > > > > Hi , > > I have one component which is creating Data bases. Now I want to execute > > this component only at the time of first time installation. I don't want > to > > execute this on repair and remove(don't want to drop the Db at the time > > remove) options. I have tried conditions so many conditions with > component > > like > > > > Not Installed > > > > But every time is going into this component. > > > > Please help me out. > > > > Regards > > Sandeep > > > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand priz
[WiX-users] newbie question: How to install driver?
Hello. I'm new to installers and wix in particular, therefore, maybe, stupid question, but I didn't find answer on the surface. I have a product 9for which I want to make an installer) that consists of: 1. kernel-mode driver, that is root-enumerable pnp device (software only); 2. accompanying service; 3. user-mode console application. My driver can be installed through add new hardware wizard. The question is - how to do the same through Windows Installer (and wix)? I tried to use Driver element from WixDifxAppExtension , but it doesn't seem to do the right job: it "preinstalls" the driver into DriverStore and prompts to connect the device to computer at the end of installation. I know that I should use Custom Action, but question is: are there ready-to-use custom actions, or should I make my own? Another question is about wix itself: so far I have made an MSI file that checks OS version and admin privileges, prompts user for installation directory and copies files to target machine. It has the appearance of wizard, but with odd texts on the buttons (without arrows): "Next" rather than "Next >" etc. Is it normal? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Single installer instance question
Hi, I want to limit the UI to open for the second MSI installer. So, do I write a Custom Action for it. Or are there any Launch conditions available in Wix which can do that job? In case of Custom Action which condition do I need to check. Thanks. Regards, Kamal >Date: Wed, 01 Oct 2008 12:01:48 +0100 >From: Rob Hamflett <[EMAIL PROTECTED]> >Subject: Re: [WiX-users] Single installer instance question >To: wix-users@lists.sourceforge.net >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed >That's supposed to be taken care of by Windows Installer itself. You can >run >as many as you like in >the UI mode, but there's supopsed to be a guard so that only one instance >can >perform the >server-side actions. Are you seeing something different, or do you mean >you >want to only have one >instance of your UI open? If the latter, does knowing about the built-in >>guard mean this is no >longer a concern for you? >Rob kamal sharma wrote: >> Hi All, >> >> I am newbie to Wix. >> >> I wanted to know if there is any option by which I can allow only a single >> instance of MSI to run. >> Right now, if I execute one instance of MSI and start the other one, then it >> allows seamlessly to run both the msi installers. Ideally, only one should >> be allowed. >> >> Any pointers would help. >> >> Regards, >> Kamal >> >> >> > >> - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] adding registry entries when a checkbox is checked
Hi: I need to add registry entries when/if a checkbox is checked on my finish page. I also need these entries to be removed during uninstallation if added diring installation. What is the best way of achieving this? Cheers Sean. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] My Dialog with WixUi
wow, that would be very nice :-) I use mondo and I want to insert my dialog right after the license agreement dialog. > -Ursprüngliche Nachricht- > Von: "Bhavdeep Singh" <[EMAIL PROTECTED]> > Gesendet: 04.10.08 21:54:18 > An: General discussion for Windows Installer XML toolset. > > Betreff: Re: [WiX-users] My Dialog with WixUi > Hi, > > i have done this before, let me know which UI you want to use and where do u > want your dialog to be inserted. ill try to write a code for you and send you. > or i could send you code i have. I have customized WixUI_FeatureTree and > added Backup Dialog to perform backup operations. > Let me knowThanks and RegardsBhavdeep Singh > > > > > Date: Tue, 30 Sep 2008 13:33:08 +0100> From: [EMAIL PROTECTED]> To: > > wix-users@lists.sourceforge.net> Subject: Re: [WiX-users] My Dialog with > > WixUi> > >>Now I want to insert it somewhere between the Wixui Dialogs, is > > it> somehow possible?> > I have blogged about this here:> > > http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html.> I > > think it explains how you can do what you want to do.> > Neil> > Neil > > Sleightholm> X2 Systems Limited> [EMAIL PROTECTED]> > > > > > > -> > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge> Build the coolest Linux based applications with Moblin SDK & win > > great prizes> Grand prize is a trip for two to an Open Source event > > anywhere in the world> > > http://moblin-contest.org/redirect.php?banner_id=100&url=/> > > ___> WiX-users mailing list> > > WiX-users@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/wix-users > _ > Get more out of the Web. Learn 10 hidden secrets of Windows Live. > http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008 > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > _ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071&distributionid=0066 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Custom action dll function is not executed
Hi guys, I am using WiX 2.0. I have a custom action dll which is written in C. The custom action doesn't get executed. Even though I checked that its function ordinal number is really 4. My dll is 9KB in size but my MSI is only increased by 1 KB with the custom action added. I have checked the logs and none of it is showing my custom action dll is executing. My relevant WiX custom action code is as below. My C function is as below. #pragma comment(linker, "/EXPORT:[EMAIL PROTECTED]") extern "C" UINT __stdcall IsOpenGL_14 (MSIHANDLE hInstall) { Start(); // Initialize the OpenGL and get its version, code is not shown if(!g_szVersion.empty()) { if( g_szVersion.at(0) > '1' ) // version 2 or above { MessageBox(NULL,L"Your OpenGL version is 2.0 or more.",L"Graphics driver is up to date",MB_OK); return ERROR_SUCCESS; } else if( g_szVersion.at(0) == '1' && g_szVersion.at(2) >= '4') // version 1.4 or above { MessageBox(NULL,L"Your OpenGL version is 1.4 or more.",L"Graphics driver is up to date",MB_OK); return ERROR_SUCCESS; } } MessageBox(NULL,L"Your OpenGL version is less than 1.4.\nPlease update your graphics driver and try again.",L"Graphics driver not up to date",MB_OK); return ERROR_INSTALL_FAILURE; } My C function has MessageBoxes, is that a problem? Thanks! Best regards, Wong Shao Voon - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Condition for Component
Thanks Eithan, But I just want to know what ever I am using is this known open issue or I am giving some thing wrong condition. Regards -Sandeep -Original Message- From: Eitan Behar [mailto:[EMAIL PROTECTED] Sent: Sunday, October 05, 2008 12:25 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Condition for Component Sandeep, If you are using this to work with databases, I would suggest you a different approach. I am creating my databases using SQLScripts elements, and not using WIX's SQLDatabase element. That way, I have a better granularity of what I want to do, particularly regarding the way I create the database. This is my code: /sql:SqlDatabase> INSTALL_DATA=1 And Not Installed Note that the SqlDatabase element is not within a component. Also, I have a component per script to create/alter tables, and one script for dropping the database. Hope this helps. Eitan On Sun, Oct 5, 2008 at 8:34 AM, Sandeep Gautam (HCL Technologies Ltd) < [EMAIL PROTECTED]> wrote: > I have tried this option also. On repair/repair, with this option it is > deleting the data base . But On remove/repair, I don 't want to do any with > this component on repair/DB(component which is creating DB at the time of > installation). > > Please help me out. > > Regards > Sandeep > > -Original Message- > From: Eitan Behar [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 04, 2008 11:23 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Condition for Component > > Transitive="yes"> > Not Installed > > > > On Sun, Oct 5, 2008 at 1:45 AM, Sandeep Gautam (HCL Technologies Ltd) < > [EMAIL PROTECTED]> wrote: > > > No, I did not use this attribute.Shall I mark this attribute as No ? > > > > > > > > -Original Message- > > From: Rob Mensching [mailto:[EMAIL PROTECTED] > > Sent: Friday, October 03, 2008 10:33 PM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Condition for Component > > > > Is the Component marked Transitive? > > > > -Original Message- > > From: Sandeep Gautam (HCL Technologies Ltd) [mailto: > [EMAIL PROTECTED] > > ] > > Sent: Friday, October 03, 2008 19:28 > > To: General discussion for Windows Installer XML toolset. > > Subject: [WiX-users] Condition for Component > > > > Hi , > > I have one component which is creating Data bases. Now I want to execute > > this component only at the time of first time installation. I don't want > to > > execute this on repair and remove(don't want to drop the Db at the time > > remove) options. I have tried conditions so many conditions with > component > > like > > > > Not Installed > > > > But every time is going into this component. > > > > Please help me out. > > > > Regards > > Sandeep > > > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > Wi
[WiX-users] Problem using WiX tasks(MSBuild task)
Hi guys, I got the error as below, 2>Project "d:\xx\xx\Installer\MakeInstaller.proj" (default targets): 2>Target BuildInstaller: 2> d:\xx\xx\Installer\MakeInstaller.proj(43,9): error MSB4067: The element beneath element is unrecognized. 2>Done building target "BuildInstaller" in project "MakeInstaller.proj" -- FAILED. 2>Done building project "MakeInstaller.proj" -- FAILED. 2>Build FAILED. 2>d:\xx\xx\Installer\MakeInstaller.proj(43,9): error MSB4067: The element beneath element is unrecognized. 2> 0 Warning(s) 2> 1 Error(s) 2>Time Elapsed 00:00:00.01 My MS Build task is attached as MakeInstaller.proj in this email, it is just a very short XML. Please help! Thank you! Best regards, Shao Voon - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Condition for Component
I am still trying to "decipher" the proper use of SQLDatabase on all scenarios, install, upgrade, rollback, etc. If you manage to work it out, let us know. -Original Message- From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2008 5:02 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Condition for Component Thanks Eithan, But I just want to know what ever I am using is this known open issue or I am giving some thing wrong condition. Regards -Sandeep -Original Message- From: Eitan Behar [mailto:[EMAIL PROTECTED] Sent: Sunday, October 05, 2008 12:25 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Condition for Component Sandeep, If you are using this to work with databases, I would suggest you a different approach. I am creating my databases using SQLScripts elements, and not using WIX's SQLDatabase element. That way, I have a better granularity of what I want to do, particularly regarding the way I create the database. This is my code: /sql:SqlDatabase> INSTALL_DATA=1 And Not Installed Note that the SqlDatabase element is not within a component. Also, I have a component per script to create/alter tables, and one script for dropping the database. Hope this helps. Eitan On Sun, Oct 5, 2008 at 8:34 AM, Sandeep Gautam (HCL Technologies Ltd) < [EMAIL PROTECTED]> wrote: > I have tried this option also. On repair/repair, with this option it is > deleting the data base . But On remove/repair, I don 't want to do any with > this component on repair/DB(component which is creating DB at the time of > installation). > > Please help me out. > > Regards > Sandeep > > -Original Message- > From: Eitan Behar [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 04, 2008 11:23 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Condition for Component > > Transitive="yes"> > Not Installed > > > > On Sun, Oct 5, 2008 at 1:45 AM, Sandeep Gautam (HCL Technologies Ltd) < > [EMAIL PROTECTED]> wrote: > > > No, I did not use this attribute.Shall I mark this attribute as No ? > > > > > > > > -Original Message- > > From: Rob Mensching [mailto:[EMAIL PROTECTED] > > Sent: Friday, October 03, 2008 10:33 PM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Condition for Component > > > > Is the Component marked Transitive? > > > > -Original Message- > > From: Sandeep Gautam (HCL Technologies Ltd) [mailto: > [EMAIL PROTECTED] > > ] > > Sent: Friday, October 03, 2008 19:28 > > To: General discussion for Windows Installer XML toolset. > > Subject: [WiX-users] Condition for Component > > > > Hi , > > I have one component which is creating Data bases. Now I want to execute > > this component only at the time of first time installation. I don't want > to > > execute this on repair and remove(don't want to drop the Db at the time > > remove) options. I have tried conditions so many conditions with > component > > like > > > > Not Installed > > > > But every time is going into this component. > > > > Please help me out. > > > > Regards > > Sandeep > > > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ---
Re: [WiX-users] Problem using WiX tasks(MSBuild task)
Shao Voon, Your attachment didn't come through, but I'm curious: why are you trying to hand-author build process for this? WiX ships with a complete build process for building WiX projects using MSBuild. See the topic "Using WiX with MSBuild" in the Wix.chm file that ships with your install. It's much, much, easier than trying to write your own process using the shipping tasks. Neil From: Wong Shao Voon [EMAIL PROTECTED] Sent: Sunday, October 05, 2008 9:52 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Problem using WiX tasks(MSBuild task) Hi guys, I got the error as below, 2>Project "d:\xx\xx\Installer\MakeInstaller.proj" (default targets): 2>Target BuildInstaller: 2> d:\xx\xx\Installer\MakeInstaller.proj(43,9): error MSB4067: The element beneath element is unrecognized. 2>Done building target "BuildInstaller" in project "MakeInstaller.proj" -- FAILED. 2>Done building project "MakeInstaller.proj" -- FAILED. 2>Build FAILED. 2>d:\xx\xx\Installer\MakeInstaller.proj(43,9): error MSB4067: The element beneath element is unrecognized. 2>0 Warning(s) 2>1 Error(s) 2>Time Elapsed 00:00:00.01 My MS Build task is attached as MakeInstaller.proj in this email, it is just a very short XML. Please help! Thank you! Best regards, Shao Voon - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] adding registry entries when a checkbox is checked
Sean Farrow wrote: > I need to add registry entries when/if a checkbox is checked on my > finish page. > I also need these entries to be removed during uninstallation if added > diring installation. > What is the best way of achieving this? > There's no way to add registry entries after installation ("finish page"). To do it during installation, create a component and give it a condition of the check box's property value; that way, MSI will install it only when the property is set. -- sig://boB http://joyofsetup.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Votive Installation for VS2008
Michael Faden wrote: > I'm trying to install Votive 2.0.5805 on XP (32bit) with Visual Studio > 2008 Professional Edition installed. Votive v2 supports VS2003 and VS2005, but not VS2008. > I used the X64-Version of Votive on > another box and it worked perfectly. > That's the WiX v3 installer, in which Votive supports VS2005 and VS2008. -- sig://boB http://joyofsetup.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Weird dialog behaviour
Sergey Abakumoff wrote: >Width="56" Height="17" > Cancel="yes" Text="Browse..."> > ... > The problem is if I click on X(close window) button, then BrowseDlg is > opened instead of CancelDlg! > What I am doing wrong? > MSI is treating the close button as the Cancel button and you have the Browse button marked as Cancel="yes". -- sig://boB http://joyofsetup.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] major upgrades and component states
Ian Elliott (Excell Data Corporation) wrote: > If I condition out the component that contains the scripts, it doesn't get > installed during major upgrade. I see in the log that ComponentRegister then > registers that component as State=-7. When you finally uninstall, the > component does not get uninstalled. So, apparently conditioning the component > on major upgrade causes it to remain upon uninstall. > I think you want to avoid component conditions if you want the state persisted across major upgrades. I'd suggest using a versioned file as the key path; that way, as long as you use a "late" RemoveExistingProducts scheduling, the component won't be upgraded but will still be uninstalled. -- sig://boB http://joyofsetup.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] embedding cab files in .msi
Bryan Turner wrote: > > Make sure you set the Package/@Compressed attribute to 'yes'. -- sig://boB http://joyofsetup.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Shortcut : enable QuickEdit mode
fluorite wrote: > The above example created a short cut properly but I want to change the > default console shortcut properties such as QuickEdit mode, background color > and etc. Shortcut doesn't seem to have attributes to change these options. > Anyone knows how to do this? Is this even doable using WIX? > MSI doesn't expose attributes to set those. You'd need to use the shell IShellLinkDataList interface to add an NT_CONSOLE_PROPS data block. -- sig://boB http://joyofsetup.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditionally Removing Files on Uninstall
Edward Forgács wrote: > >From testing, it seems that the setting of the property in the UI is > >completely ignored, i.e., the installer has already made up its mind as to > >whether the component will run or not. The files either get removed every > >time, or never. > When you uninstall a product, MSI is going to remove every component it installed (minus shared components). Otherwise it would leave an orphaned component behind. -- sig://boB http://joyofsetup.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to add a localization file to a WiX (VS2005) project?
Hi, I have tried to add in various ways but no success. What is the correct way of adding a wxl file to a WiX (VS2005) project? Thank you very much! Best regards, Shao Voon - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users