[WiX-users] Older package version not removed in some cases
I'm seeing a situation in which a major upgrade fails to uninstall the previous version. I have three package versions like this: Package A: Version 1.0.1, installs the VC++ redistributable merge module Package B: Version 1.5.0, does not install the VC++ redistributable merge module, same product code as package A Package C: Version 2.0.0, does not install the VC++ redistributable merge module, different product code from packages A and B The only significant difference in the Wix source between these packages is that A installs the VC++ components but packages B and C don't. Also, C has a different product code GUID. If A is installed and then C, C will install but A will not be removed, so I end up with both A and C installed at the same time. If B is installed and then C, this works as expected and B is removed. B cannot replace A without first manually uninstalling A, but this is expected (and unfortunate). Can someone explain why C correctly uninstalls B but not A? -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Preventing install if application is running
I wish to add a feature to my installer which detects if a certain application is running, and then presents the user with a message asking them to quit all instances of the application or abort installation. I'm new to wix development, but I've searched on this subject and although I've seen a few messages asking about this type of functionality, I haven't seen any finished solutions on how to do this so I have a few questions: -Some of the postings I've read have said that in v2 a custom action was needed, but in v3 there is something like this built in. If so, what is it? I haven't been able to find it. Is there something like this built into v3? (That's the version I'm using) -If there isn't anything which checks for running applications already built into wix v3.0, I can write my own custom action, but before I do, has anyone already written a 'check for running application' custom application? If there is I don't want to reinvent the wheel. -I'm new to wix but I have read the docs (or at least some of them). It seems like what I'm trying to do would fall into the "standard custom action" category, yet I don't see anything listed on the standard custom actions page (http://wix.sourceforge.net/manual-wix3/standard_customactions.htm). If anyone can suggest some tips on where to look, I'd appreciate it. If I can't find anything I'll write my own custom action, but if something like this already exists I'd prefer to use something that already works. Thanks, Jeff -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Replace path text inside installed files.
You might want to check the Template wix extensions in http://msiext.codeplex.com. You can write something like [INSTALLLOCATION] in your file and it will get replaced on install. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Gary Smith [mailto:gary.sm...@holdstead.com] Sent: Thursday, February 25, 2010 9:45 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] Replace path text inside installed files. Does anyone have a sample of how to replace text inside a file (or set of files) based upon install path? Basically, I have a DLL that will be installed where the users want to install it BUT the samples that they can compile and test against point to never never land (i.e. some path in my development environment). I would like to replace the path inside the project file with the appropriate installed path. 1) is this possible 2) is there a sample somewhere of doing this? TIA Gary- -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] If certain version (or higher) of Java's JDK is installed, continue, else download & install latest JDK
This can be done with a bootstrapper. Try http://dotnetinstaller.codeplex.com. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Alec Taylor [mailto:alec.tayl...@gmail.com] Sent: Wednesday, March 03, 2010 6:09 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] If certain version (or higher) of Java's JDK is installed, continue, else download & install latest JDK Top of the Morning to you, I've noticed in some Installers, eg; NSIS, it is possible to do what the subject is requesting. Is this possible with WiX? If so, what's the method? Please alleviate my confusion. Thank you so much, Alec Taylor -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Tip: Version number updater
I recommend having a consistent versioning scheme for all types of code, including wix. We do major.minor.sourcecontrolrevision.0 and populate all necessary artifacts for C++, C#, Wix and other code using various techniques, primarily template files. http://code.dblock.org/ShowPost.aspx?id=19 Hope this helps, dB. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Saturday, March 06, 2010 10:52 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Tip: Version number updater On 3/5/2010 1:05 PM, admiristra...@cox.net wrote: > I was searching around for a solution to easily update my MSI version > numbers with each build, but I couldn't find one. So I wrote this and now I > don't have to remember. Thought I'd share... > Even easier method: Use binder variables to pick up the version info from a file: -- sig://boB http://joyofsetup.com/ -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Question reagrding Wix Conditions
Hello, I am trying to add a condition for checking the version of the Microsoft management console assembly in the wix code. Here is the snippet: The version of the Microsoft.ManagementConsole.dll on the install system is 5.2.3790.3959. However, the condition fails. Any suggestions, why? Thanks Anshu -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] SSRS deployment using Custom Actions - Error
You didn't specify here (or I missed it) exactly what the error is, but I'll take a shot: When you are publishing reports to an SSRS server, you need credentials specific to your SSRS server. If its on the network (or even the local machine) you need to be sure that the current user has permissions to write/publish files to the server and that you are passing those credentials along to the server (Logging them on). I doubt that your SSRS server has been deployed to authenticate against the Local System account, and it may not be configured for your user either. Since you can't 'elevate' a user from within the windows installer, you might need to create a new screen to allow the user to provide the proper information to login and authenticate against the SSRS server. Stryder On Tue, Mar 9, 2010 at 10:39 AM, Sachin Dubey wrote: > > Agree here, however my need is to run the CA with current logged-in user's > elevated credentials. > > and none of the option provided (Installing user without elevation and > Local System) are working for me. > > > > Do we have any way for elevating installing user's credentials. > > > > > From: os...@live.com > > To: wix-users@lists.sourceforge.net > > Date: Mon, 8 Mar 2010 03:32:38 -0800 > > Subject: Re: [WiX-users] SSRS deployment using Custom Actions - Error > > > > In Windows Installer there are only two possible credentials that are > used: > > those of the "installing user" (without changing elevation status) and > > "local system". The only thing that UAC is used for by Windows Installer > is > > permissions/access to the service. > > > > -Original Message- > > From: Sachin Dubey [mailto:sachin.du...@live.com] > > Sent: Saturday, March 06, 2010 11:18 AM > > To: Wix Users > > Subject: Re: [WiX-users] SSRS deployment using Custom Actions - Error > > > > > > Thanks for the response Bob, > > > > If I set impersonation to No it tries to run the action using local sytem > > only and custom action throws error. > > > > > Date: Sat, 6 Mar 2010 10:47:18 -0500 > > > From: b...@joyofsetup.com > > > To: wix-users@lists.sourceforge.net > > > Subject: Re: [WiX-users] SSRS deployment using Custom Actions - Error > > > > > > On 3/5/2010 6:08 PM, Sachin Dubey wrote: > > > > I have a WIX 3.0 installer that deploys SSRS reports using a differed > C# > > custom actions. > > > > > > > > The impersonation it set to "yes". > > > > > > > > > > Impersonated custom actions aren't elevated. If you need elevation, it > > > must be "no." > > > > > > -- > > > sig://boB > > > http://joyofsetup.com/ > > > > > > > > > > > > > > -- > > > Download Intel® Parallel Studio Eval > > > Try the new software tools for yourself. Speed compiling, find bugs > > > proactively, and fine-tune applications for parallel performance. > > > See why Intel Parallel Studio got high marks during beta. > > > http://p.sf.net/sfu/intel-sw-dev > > > ___ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > _ > > Hotmail: Trusted email with Microsoft's powerful SPAM protection. > > http://clk.atdmt.com/GBL/go/201469226/direct/01/ > > > > > -- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > -- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > _ > Hotmail: Free, trusted and rich email service. > http://clk.atdmt.com/GBL/go/201469228/direct/01/ > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > __
Re: [WiX-users] migratefeaturestates
Found it, the inclusion range was not correct. -- View this message in context: http://n2.nabble.com/migratefeaturestates-tp4695528p4705376.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Shared windows service between multiple products
This is an "it just works" situation if you use the same component guid and the ServiceInstall/Control elements and stay away from code-based installs like ServiceInstaller classes. You could put the service in a merge module or WiX object/fragment thingy and share it between products. Phil Wilson -Original Message- From: Oleksandr Y. Nechyporenko [mailto:alexnc69...@gmail.com] Sent: Tuesday, March 09, 2010 7:26 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Shared windows service between multiple products We have two versions of our product (Desktop and Enterprise). Both versions can be installed on the same computer on the same time. I.e. they have different product and upgrade code GUIDs. But each of these versions contains same windows service. This service should be installed only once and should be shared between two products. We've described this service as component. What is most correct way to include it to both installers? Is it enough to include it to both installers with same Component GUID? How we should "say" to installer to uninstall this service only if last of installed products will be uninstalled? Thanks. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at Portland House, Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] SSRS deployment using Custom Actions - Error
Agree here, however my need is to run the CA with current logged-in user's elevated credentials. and none of the option provided (Installing user without elevation and Local System) are working for me. Do we have any way for elevating installing user's credentials. > From: os...@live.com > To: wix-users@lists.sourceforge.net > Date: Mon, 8 Mar 2010 03:32:38 -0800 > Subject: Re: [WiX-users] SSRS deployment using Custom Actions - Error > > In Windows Installer there are only two possible credentials that are used: > those of the "installing user" (without changing elevation status) and > "local system". The only thing that UAC is used for by Windows Installer is > permissions/access to the service. > > -Original Message- > From: Sachin Dubey [mailto:sachin.du...@live.com] > Sent: Saturday, March 06, 2010 11:18 AM > To: Wix Users > Subject: Re: [WiX-users] SSRS deployment using Custom Actions - Error > > > Thanks for the response Bob, > > If I set impersonation to No it tries to run the action using local sytem > only and custom action throws error. > > > Date: Sat, 6 Mar 2010 10:47:18 -0500 > > From: b...@joyofsetup.com > > To: wix-users@lists.sourceforge.net > > Subject: Re: [WiX-users] SSRS deployment using Custom Actions - Error > > > > On 3/5/2010 6:08 PM, Sachin Dubey wrote: > > > I have a WIX 3.0 installer that deploys SSRS reports using a differed C# > custom actions. > > > > > > The impersonation it set to "yes". > > > > > > > Impersonated custom actions aren't elevated. If you need elevation, it > > must be "no." > > > > -- > > sig://boB > > http://joyofsetup.com/ > > > > > > > > -- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > _ > Hotmail: Trusted email with Microsoft's powerful SPAM protection. > http://clk.atdmt.com/GBL/go/201469226/direct/01/ > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users _ Hotmail: Free, trusted and rich email service. http://clk.atdmt.com/GBL/go/201469228/direct/01/ -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Reinstall not updating correct registry value.
Hi Bob, This makes sense, however I am not retrieving values set during the install time. During the change only the properties set in UI sequence are not getting forwarded to Install sequence. and this happens only on machines with UAC enabled and logged in user is non build-in Admin. In other cases it works all well. To note: All works well if I run MSI with elevated command prompt or on a machine with UAC disabled. >From one of the MSDN posts here >(http://social.msdn.microsoft.com/forums/en-US/windowscompatibility/thread/48265402-1fbc-41d4-aedc-2c711750fe4a/) > this is what I am facing: (I haven't got any response to this on that post) Vista's new UAC and the existing managed install functionality are interacting in a bad way for me. My software allows you to change some settings when you select Modify from Software Explorer. The UAC prompt doesn't appear, the install is automatically elevated, BUT the install also sets the RestrictedUserControl property that prevents any of the new settings from reaching the server side of the installation: MSI (s) (E4:C8) [14:30:51:473]: PROPERTY CHANGE: Adding RestrictedUserControl property. Its value is '1'. MSI (s) (E4:C8) [14:30:51:473]: Ignoring disallowed property INSTALLDIR MSI (s) (E4:C8) [14:30:51:473]: Ignoring disallowed property... "Elevation" is not useful here. We need full privileges for a successful re-install. Before Vista, we used to test if the user is an admin and give an error message if not. Vista gives us the capability to tell if the user is an admin or if the install is elevated. But how do we know in advance if RestrictedUserControl will be set? We don't want to wait until the server side of the installation starts, after the user has already entered data. Could there be a way to force UAC elevation when the user selects Modify from add/remove programs? Many ways are provided to suppress the UAC prompt, but how do we make it appear when we need it? > Date: Mon, 8 Mar 2010 08:36:34 -0500 > From: b...@joyofsetup.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Reinstall not updating correct registry value. > > On 3/6/2010 3:06 PM, Sachin Dubey wrote: > > My installer creates a registry key in HKLM and stores the INSTALLDIR > > value. It provides default INSTALLDIR, however user can change it and the > > changed value gets stored in registry. > > > MSI doesn't persist property values for you, so you need to write them > like you're doing and retrieve them using RegistrySearch for maintenance > mode like reinstall. > > -- > sig://boB > http://joyofsetup.com/ > > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users _ Hotmail: Powerful Free email with security by Microsoft. http://clk.atdmt.com/GBL/go/201469230/direct/01/ -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WiX Question : Do I need to define $ProjectDir in the .wixproj file in order for the bootstrapper to work properly?
I am a bit new to WiX and I am working on a client installation program. So I want to install .Net 3.5 SP1 using a boot strap, and this is what I have in the .wixproj file .NET Framework 3.5 SP1 Windows Installer 3.1 Now, do I have to define "ProjectDir" anywhere in my .wixproj ? Thanks, Karen --- Karen Lin Software Developer Solarsoft Business Systems T 905.224. Ext 360 F 905.224.2221 www.solarsoft.com -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Unable to run 64-bit custom action using CA Quite exec
Hi, I am trying to run a 64-bit custom action using CA quite exec, but it ends up running in 32-bit mode. And the pain part is that it is disbaling the system level Perf counters due to which I am not able to run my application properly. Example:- The above doesn't run in 64-bit, thus causing me problem in disabling the perf counters. The temporary work around I did for this is But I am very much I need to get my custom actions work using CA quite exec, as it make logging very easy to me, which I am not able to achieve using Execommand. Thanks in advance for your help, Regards, Sujith -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] sql express
Hi, I have added the bootstrapper tags to the wixproj file to check for and install SP3, installer 3.1 and Sql Express 2005. The problem is when I try the installer on a 64bit machine, I get an error as SQL express is only the 32bit version. Can I place a check in the bootstrapper to determine which OS version it is and install the appropriate SQL express version? Also the windows SDK only has the 32bit version fo sql express - I'm thinking the 64bit version is sql express2008. How to package that in with the bootstrapper? Thanks _ Send us your Hotmail stories and be featured in our newsletter http://clk.atdmt.com/UKM/go/195013117/direct/01/ -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Component GUID rules
I have additional question. As I've specified in one of my previous posts, we have two versions of our product (Desktop and Enterprise). Both versions can be installed on the same computer on the same time but in __different folders__. There is a set of files that should be included to both installations, and I don't want to make it shared. Is it allowed to write something like this: http://schemas.microsoft.com/wix/2006/wi"; xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";> .. So, after the build with different var.DesktopType value I will receive two MSI with different Product / Upgrade codes. But each of this MSIs will contain component with same GUID. Is it OK? Is it allowed to have components with same GUID across products with different Product / Upgrade codes? Does installer recognize component by Product / Upgrade Code GUID + Component GUID combination? I know that it will be better to generate new GUIDs for components in different products, but it is a little difficult to generate different GUIDs for each component. Thanks. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] duplicate file-names; depending on conditions
Thanks. I moved the conditions into the components and now have one merge module for the driver. That works. Thanks again, Johann _ FN: 53380 a; Landesgericht Salzburg; DVR-Nr: 0684317 Please consider the environment before printing this e-mail. This message is intended for the named addressee(s) only. It may contain privileged and confidential information. Any disclosure, copying or distribution of this message is prohibited and may be unlawful. If you are not the intended recipient, please destroy this message and notify us immediately. Thank you for your cooperation. -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Dienstag, 09. März 2010 14:24 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] duplicate file-names; depending on conditions On 3/8/2010 12:10 PM, Johann Taferl, T-AU wrote: > I have to install some driver to a given folder. For Win Vista, they > have to- and for all previous Win-versions, they must not be signed. To > solve this problem I thought of two separate merge-modules. To install > the correct one, I use conditions: > The conditions need to be on the components, not the features. -- sig://boB http://joyofsetup.com/ -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Install additional components depending on selected languages
We have multilanguage version of our product. Depended files for each of languages are included to separate components. I.e. we have for example (contains Component 1) (contains Component 2) Are there easy way to select language(s) at first step of installation and automatically include language depended components to related features? I.e. we can write but in this case user should be select French language support for each of features separately. It will be difficult for user. What is easiest way to include all language depended components in "one click"? Thanks. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to create a big MSI like Microsoft Office
On 3/9/2010 12:10 AM, puyo puy wrote: > mean I cannot use bootstrapper. I’m think of creating msm for each product > and > assign a feature for each msm. There's no need for merge modules; use a ComponentGroup instead. -- sig://boB http://joyofsetup.com/ -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Shared windows service between multiple products
We have two versions of our product (Desktop and Enterprise). Both versions can be installed on the same computer on the same time. I.e. they have different product and upgrade code GUIDs. But each of these versions contains same windows service. This service should be installed only once and should be shared between two products. We've described this service as component. What is most correct way to include it to both installers? Is it enough to include it to both installers with same Component GUID? How we should "say" to installer to uninstall this service only if last of installed products will be uninstalled? Thanks. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Combobox Display Question/Problem
Hi, Does no one else have to issue? The obvious workaround is to use the text for the 'Text' and 'Value' attributes but this certainly isn't optimal nor does it seem to be how it was intended to work. Thanks, Kevin On Mon, 2010-03-08 at 12:27 -0600, Kevin Garman wrote: > bump > > > > On Thu, 2010-03-04 at 16:02 -0600, Kevin Garman wrote: > > > Hi, > > > > I'm trying to use a combobox on a dialog with the following code: > > > > > Width='100' Height='13' Property='SET_LOCALE'> > > > > > > > > > > > > > > > > > > > > Now, the way I interpret this is that if ListItem 2 is selected (the US > > English one), then the combobox display text should be 'English (USA)' > > and the value of SET_LOCALE should be 'en-us'. Is this correct? What > > is actually happening is that the combobox display text and the value of > > SET_LOCALE are both 'en-us'. I must be doing something wrong but I > > can't see it. If this is the correct behavior, then what is the point > > of the 'text' attribute on the ListItem? > > > > Thanks, > > Kevin > > > > -- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] display warning if shared components not removed on uninstall
These sound like odd requirements to me. But that said, I'd use the action states of the components to figure this out. If you want to consider it from the first-installed product perspective, it will have to poke in and know at least one of the merge module's components (or perhaps create a configurable merge module that can use the consuming product's ProductCode). Then refer to ?component-state and $component-action (or use MsiGetComponentState or another language's equivalent) to figure out whether the component was already installed, and/or is being uninstalled. You'll have to store something, perhaps in the registry, to indicate whether it was originally installed with the current product as the component states won't tell you that at uninstall. On Tue, Mar 9, 2010 at 03:45, Lisa Gracias wrote: > Thanks for that idea. It's much simpler than my approach. > There's an additional condition: The warning should be displayed only if the > product being removed is the one that first installed the merge module, > because only then will it have the shared components in its folders. How do > I find out which product installed it first? > > On Tue, Mar 9, 2010 at 2:28 PM, akash bhatia <911ak...@gmail.com> wrote: > >> Lisa, >> >> Best way is that u can write a custom action at uninstall which checks >> whether other two products r installed or not... set a property for tht >> >> if it found other products then it means tht shared files wont get deleted >> from target machine. and u can populate messagebox accordingly (as per the >> property value) at the end of the installation >> >> On Tue, Mar 9, 2010 at 2:11 PM, Lisa Gracias > >wrote: >> >> > I have 3 msi's which contain the same merge module. Apart from >> containing >> > components common to all 3 products, the merge module also writes an >> entry >> > to the HKLM registry hive. >> > >> > The first product to be installed, say Product A, will put the shared >> > components in its own folders, and the other two products will use the >> same >> > location for the shared components (even if their other components get >> > installed elsewhere). >> > >> > Now if the user uninstalls the Product A I want to display a warning >> that >> > certain shared components will not be removed, so that the user doesn't >> go >> > and remove those files on their own and break the functionality of the >> > other >> > two products. What's the best way to do this? >> > >> > I tried using a custom action sequenced after InstallFinalize to check if >> > the registry entry created by the merge module persists after uninstall >> > (since that would mean at least one other product that uses it exists on >> > the >> > system), but I don't know how to communicate the results of the check >> back >> > to Wix since I can't set a session property at that stage. >> > >> > >> -- >> > Download Intel® Parallel Studio Eval >> > Try the new software tools for yourself. Speed compiling, find bugs >> > proactively, and fine-tune applications for parallel performance. >> > See why Intel Parallel Studio got high marks during beta. >> > http://p.sf.net/sfu/intel-sw-dev >> > ___ >> > WiX-users mailing list >> > WiX-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/wix-users >> > >> >> >> >> -- >> Cheers, >> Akash >> >> -- >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> ___ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Passing data to uninstaller or detecting how it was invoked
I have 2 applications (App1 and App2). When I do a major upgrade of App1 I need to uninstall App2 (which I can accomplish by adding an upgrade element for App2). But I need to do something different in the uninstall sequence of App2 if it was invoked by the major upgrade of App1 as opposed to being uninstalled on its own. Is there some way to reference a property set in App1 and used in a condition in App2? Or is there an existing property that lets me know how it was invoked? Or do I need to set a registry value and make sure it is scheduled before RemoveExistingProducts in App1 and use in App2? Thanks - Tom -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Re [WIX-users] conditions
Hi Igor, thanks. Moving the condition out of component and just under package sorted it!! _ Got a cool Hotmail story? Tell us now http://clk.atdmt.com/UKM/go/195013117/direct/01/ -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditional FeatureTree Features
On 3/8/2010 9:11 AM, Arun Perregatturv wrote: > For COMServer - Only FeatureF should be selected and displayed(cannot uncheck > this feature for this type of install) and rest is displayed but unchecked. > Is this possible? > The selection tree control doesn't support that. > Do have I have add code for each feature like this > >Value="FeatureA"> > If you want to replace the selection tree control, yes. -- sig://boB http://joyofsetup.com/ -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] duplicate file-names; depending on conditions
On 3/8/2010 12:10 PM, Johann Taferl, T-AU wrote: > I have to install some driver to a given folder. For Win Vista, they > have to- and for all previous Win-versions, they must not be signed. To > solve this problem I thought of two separate merge-modules. To install > the correct one, I use conditions: > The conditions need to be on the components, not the features. -- sig://boB http://joyofsetup.com/ -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] display warning if shared components not removed on uninstall
you can combine both workarounds given by me before...guess it will resolve ur problem in ur scenario On Tue, Mar 9, 2010 at 4:06 PM, akash bhatia <911ak...@gmail.com> wrote: > if you have different install directories for all then may be u can check > for the files existed before uninstalling. > > > On Tue, Mar 9, 2010 at 3:15 PM, Lisa Gracias > wrote: > >> Thanks for that idea. It's much simpler than my approach. >> There's an additional condition: The warning should be displayed only if >> the >> product being removed is the one that first installed the merge module, >> because only then will it have the shared components in its folders. How >> do >> I find out which product installed it first? >> >> On Tue, Mar 9, 2010 at 2:28 PM, akash bhatia <911ak...@gmail.com> wrote: >> >> > Lisa, >> > >> > Best way is that u can write a custom action at uninstall which checks >> > whether other two products r installed or not... set a property for tht >> > >> > if it found other products then it means tht shared files wont get >> deleted >> > from target machine. and u can populate messagebox accordingly (as per >> the >> > property value) at the end of the installation >> > >> > On Tue, Mar 9, 2010 at 2:11 PM, Lisa Gracias < >> lisathelugubri...@gmail.com >> > >wrote: >> > >> > > I have 3 msi's which contain the same merge module. Apart from >> > containing >> > > components common to all 3 products, the merge module also writes an >> > entry >> > > to the HKLM registry hive. >> > > >> > > The first product to be installed, say Product A, will put the shared >> > > components in its own folders, and the other two products will use the >> > same >> > > location for the shared components (even if their other components get >> > > installed elsewhere). >> > > >> > > Now if the user uninstalls the Product A I want to display a warning >> > that >> > > certain shared components will not be removed, so that the user >> doesn't >> > go >> > > and remove those files on their own and break the functionality of the >> > > other >> > > two products. What's the best way to do this? >> > > >> > > I tried using a custom action sequenced after InstallFinalize to check >> if >> > > the registry entry created by the merge module persists after >> uninstall >> > > (since that would mean at least one other product that uses it exists >> on >> > > the >> > > system), but I don't know how to communicate the results of the check >> > back >> > > to Wix since I can't set a session property at that stage. >> > > >> > > >> > >> -- >> > > Download Intel® Parallel Studio Eval >> > > Try the new software tools for yourself. Speed compiling, find bugs >> > > proactively, and fine-tune applications for parallel performance. >> > > See why Intel Parallel Studio got high marks during beta. >> > > http://p.sf.net/sfu/intel-sw-dev >> > > ___ >> > > WiX-users mailing list >> > > WiX-users@lists.sourceforge.net >> > > https://lists.sourceforge.net/lists/listinfo/wix-users >> > > >> > >> > >> > >> > -- >> > Cheers, >> > Akash >> > >> > >> -- >> > Download Intel® Parallel Studio Eval >> > Try the new software tools for yourself. Speed compiling, find bugs >> > proactively, and fine-tune applications for parallel performance. >> > See why Intel Parallel Studio got high marks during beta. >> > http://p.sf.net/sfu/intel-sw-dev >> > ___ >> > WiX-users mailing list >> > WiX-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/wix-users >> > >> >> -- >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> ___ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > > > > -- > Cheers, > Akash > -- Cheers, Akash -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] display warning if shared components not removed on uninstall
if you have different install directories for all then may be u can check for the files existed before uninstalling. On Tue, Mar 9, 2010 at 3:15 PM, Lisa Gracias wrote: > Thanks for that idea. It's much simpler than my approach. > There's an additional condition: The warning should be displayed only if > the > product being removed is the one that first installed the merge module, > because only then will it have the shared components in its folders. How do > I find out which product installed it first? > > On Tue, Mar 9, 2010 at 2:28 PM, akash bhatia <911ak...@gmail.com> wrote: > > > Lisa, > > > > Best way is that u can write a custom action at uninstall which checks > > whether other two products r installed or not... set a property for tht > > > > if it found other products then it means tht shared files wont get > deleted > > from target machine. and u can populate messagebox accordingly (as per > the > > property value) at the end of the installation > > > > On Tue, Mar 9, 2010 at 2:11 PM, Lisa Gracias < > lisathelugubri...@gmail.com > > >wrote: > > > > > I have 3 msi's which contain the same merge module. Apart from > > containing > > > components common to all 3 products, the merge module also writes an > > entry > > > to the HKLM registry hive. > > > > > > The first product to be installed, say Product A, will put the shared > > > components in its own folders, and the other two products will use the > > same > > > location for the shared components (even if their other components get > > > installed elsewhere). > > > > > > Now if the user uninstalls the Product A I want to display a warning > > that > > > certain shared components will not be removed, so that the user doesn't > > go > > > and remove those files on their own and break the functionality of the > > > other > > > two products. What's the best way to do this? > > > > > > I tried using a custom action sequenced after InstallFinalize to check > if > > > the registry entry created by the merge module persists after uninstall > > > (since that would mean at least one other product that uses it exists > on > > > the > > > system), but I don't know how to communicate the results of the check > > back > > > to Wix since I can't set a session property at that stage. > > > > > > > > > -- > > > Download Intel® Parallel Studio Eval > > > Try the new software tools for yourself. Speed compiling, find bugs > > > proactively, and fine-tune applications for parallel performance. > > > See why Intel Parallel Studio got high marks during beta. > > > http://p.sf.net/sfu/intel-sw-dev > > > ___ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > -- > > Cheers, > > Akash > > > > > -- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Cheers, Akash -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] conditions
Hi, You are trying to create Launch Condition and refer to Wix documentation to create Launch Condition you Condition element should be child node under Product or Fragment element, so you simply need to remove Component above your Condition. Igor -Original Message- From: Shabbir Ahsan [mailto:shabbir_ah...@hotmail.com] Sent: Tuesday, March 09, 2010 11:03 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] conditions Hi, I am tyring to use a condition to check if a pre-requisite application is installed. The way I am doing it is to set a property with a registry search. I am checking this preperty in a condition, nd want the installation to stop if the registry is not found, and display a message to the user. The problem I am getting is that when I try to compile, I get the error message that the condition element contains an unexpected attribute 'Message'. Where can I put the message? Here is the code: Thanks. _ We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now http://clk.atdmt.com/UKM/go/195013117/direct/01/ -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users http://www.sdl.com";>http://www.sdl.com/images/email logo_150dpi-01.png" alt="www.sdl.com" border="0"/> http://www.sdl.com"; style="color:005740; font-weight: bold">www.sdl.com SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] conditions
Hi, I am tyring to use a condition to check if a pre-requisite application is installed. The way I am doing it is to set a property with a registry search. I am checking this preperty in a condition, nd want the installation to stop if the registry is not found, and display a message to the user. The problem I am getting is that when I try to compile, I get the error message that the condition element contains an unexpected attribute 'Message'. Where can I put the message? Here is the code: Thanks. _ We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now http://clk.atdmt.com/UKM/go/195013117/direct/01/ -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] display warning if shared components not removed on uninstall
Thanks for that idea. It's much simpler than my approach. There's an additional condition: The warning should be displayed only if the product being removed is the one that first installed the merge module, because only then will it have the shared components in its folders. How do I find out which product installed it first? On Tue, Mar 9, 2010 at 2:28 PM, akash bhatia <911ak...@gmail.com> wrote: > Lisa, > > Best way is that u can write a custom action at uninstall which checks > whether other two products r installed or not... set a property for tht > > if it found other products then it means tht shared files wont get deleted > from target machine. and u can populate messagebox accordingly (as per the > property value) at the end of the installation > > On Tue, Mar 9, 2010 at 2:11 PM, Lisa Gracias >wrote: > > > I have 3 msi's which contain the same merge module. Apart from > containing > > components common to all 3 products, the merge module also writes an > entry > > to the HKLM registry hive. > > > > The first product to be installed, say Product A, will put the shared > > components in its own folders, and the other two products will use the > same > > location for the shared components (even if their other components get > > installed elsewhere). > > > > Now if the user uninstalls the Product A I want to display a warning > that > > certain shared components will not be removed, so that the user doesn't > go > > and remove those files on their own and break the functionality of the > > other > > two products. What's the best way to do this? > > > > I tried using a custom action sequenced after InstallFinalize to check if > > the registry entry created by the merge module persists after uninstall > > (since that would mean at least one other product that uses it exists on > > the > > system), but I don't know how to communicate the results of the check > back > > to Wix since I can't set a session property at that stage. > > > > > -- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > -- > Cheers, > Akash > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] display warning if shared components not removed on uninstall
Lisa, Best way is that u can write a custom action at uninstall which checks whether other two products r installed or not... set a property for tht if it found other products then it means tht shared files wont get deleted from target machine. and u can populate messagebox accordingly (as per the property value) at the end of the installation On Tue, Mar 9, 2010 at 2:11 PM, Lisa Gracias wrote: > I have 3 msi's which contain the same merge module. Apart from containing > components common to all 3 products, the merge module also writes an entry > to the HKLM registry hive. > > The first product to be installed, say Product A, will put the shared > components in its own folders, and the other two products will use the same > location for the shared components (even if their other components get > installed elsewhere). > > Now if the user uninstalls the Product A I want to display a warning that > certain shared components will not be removed, so that the user doesn't go > and remove those files on their own and break the functionality of the > other > two products. What's the best way to do this? > > I tried using a custom action sequenced after InstallFinalize to check if > the registry entry created by the merge module persists after uninstall > (since that would mean at least one other product that uses it exists on > the > system), but I don't know how to communicate the results of the check back > to Wix since I can't set a session property at that stage. > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Cheers, Akash -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] disk cost dialog
Thank you, this was what was causing the problem. I set ROOTDRIVE and now it works perfectly. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] display warning if shared components not removed on uninstall
I have 3 msi's which contain the same merge module. Apart from containing components common to all 3 products, the merge module also writes an entry to the HKLM registry hive. The first product to be installed, say Product A, will put the shared components in its own folders, and the other two products will use the same location for the shared components (even if their other components get installed elsewhere). Now if the user uninstalls the Product A I want to display a warning that certain shared components will not be removed, so that the user doesn't go and remove those files on their own and break the functionality of the other two products. What's the best way to do this? I tried using a custom action sequenced after InstallFinalize to check if the registry entry created by the merge module persists after uninstall (since that would mean at least one other product that uses it exists on the system), but I don't know how to communicate the results of the check back to Wix since I can't set a session property at that stage. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] "This will store the source file separately in the final installation package"
Thanks for you reply. That makes sense. So basically you're saying that the icon of MSI shortcuts are retrieved from another source than the exe files - even if you make the MSI using VC++? You don't happen to know where these icons are stored? I don't want to add my "orphan" icons to the application directory! > Date: Tue, 9 Mar 2010 14:54:21 +1100 > From: sascha.beaum...@gmail.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] "This will store the source file separately in the > final installation package" > > I would say that VC++ automatically references/extracts/adds the item > for you without requiring an additional manual step, while WiX just > does exactly what you specify. > > > On Tue, Mar 9, 2010 at 10:34 AM, Kristoffer Danielsson > wrote: > > > > I read this in the WIX tutorial: > > > > > > This will store the source file separately in the final installation > > packagee (so if you refer to your main executable you will end up with two > > copies). If the size of the file is large enough to cause concern create a > > small .exe or .ico containing nothing but the icons. > > > > That makes no sense! In VC++ I can use the exe as an icon without having to > > add it multiple times or extract the icons used. > > > > Please clarify! > > Thanks. > > > > _ > > Mejla i busskön! Hotmail i mobilen > > http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx > > -- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users _ Klicka här! http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users