Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed
Finally How did u accomplish it ?? In your InstallExecuteSequence did you schedule both the custom Actions (immediate and then deferred)?? I also have exactly the same query but its not resolved... Can u please post element of both immediate and deferred CA. and < InstallExecuteSequence> element. and the C# code to call the deferred custom action. Does the deferred custom action get executed because you are calling it from immediate CA using session.doAction(); or does it get executed as it is scheduled in < InstallExecuteSequence> ?? -- View this message in context: http://n2.nabble.com/Triggering-a-Custom-Action-ONLY-When-All-Files-Have-Been-Deployed-tp4622626p4707713.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
[WiX-users] How to set property with return value from custom action
Hi Community, I have defined the following custom action With this custom action I want to check if the "Net.Tcp Port Sharing Service" is running or not. If it is stopped than the state=1, and if the service is running than the state=4. How can I get the return value of the above query? Kind regards, Christian -- 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] Checkbox not transparent
Take a look here: http://www.tramontana.co.hu/wix/lesson8.php Or more specifically: http://www.tramontana.co.hu/wix/customdone.gif That checkbox looks ugly. How do you make it transparent (or solve it some other way)? Thanks _ Mejla på krogen! 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
[WiX-users] Calling Deferred custom action
i have the following requirement 1)install an xml file. 2)to modify the installed xml file 3) to pass the modified xml file as an argument to a executable in command line mode. (this has been accomplished by using CA of type 1025) Afetr browing the forum what i have understood is that i need 2 custom action to modify the task mentioned in second requirement. 1) an immediate custom action to collect the collect CustomActionData 2) a deferred custom action to actually modify the xml file as per the users input. Now this deferred custom action cannot access session objects as it is deferred. So i need to access the properties using session.CustomActionData which would be populated by my first CustomAction. Here is my Declaration of my both the custom actionsWhat should be in InstallExecuteSequence? Do I need to schedule both Custom Actions ? And how does my deferred action get executed using session.DoAction("ModifyUserXMLFile", customActionData); or just schedule it in NOT Installed NOT Installed NOT Installed NOT Installed and leave it to get executed automatically by installer . Can anybody help me with a working dummy code in this scenario -- View this message in context: http://n2.nabble.com/Calling-Deferred-custom-action-tp4708880p4708880.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] Checkbox not transparent
Take a look at this: http://www.dizzymonkeydesign.com/blog/misc/adding-and-customizing-dlgs-in-wix-3/ -- 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
Office is a tiny and simple install compared to the ones I work on. :-) I currently use a combination of WiX ( to create merge modules ) and InstallShield ( to consume them ). We practice product line development methologies which means we have several dozen "service families" that all exist on multiple branches. Each family/branch has a build that ultimately generates binaries and merge modules. The binaries are used for downstream build references and the the merge modules are aggregated to create an installer. Additionally there is a WiX fragment that describes the features that their modules express. Then we use some custom build automation to pump this metadata into InstallShield through their COM automation interface. The result is a very powerful and flexible system that gives me the best of WiX and InstallShield. I'm able to support insanely complex installers this way. How insane? Imagine Clearcase branch inheritance where wix updates are done on feature branches along with the .NET code by developers and then it gets merged to one to many integ/product branches. A new product manager then comes by, states which features he wants ( wix fragment with FeatureRefs and FeatureGroupRefs ) along with it's branding metadata and instantly you have defined a small to massive installer with a very clean design that does what that product manager wants for his customer. Eventually I intend to rewrite the InstallShield portion in WiX and replace all of my Merge/MergeRef's with ComponentGroupRefs but for the moment I'm not there yet. Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me -- 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 set property with return value from custom action
On 3/10/2010 3:44 AM, Christian Kraut wrote: > How can I get the return value of the above query? > Custom actions only return success or failure. If you need more control, you need to wrap the code in a DLL custom action. -- 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] Passing data to uninstaller or detecting how it was invoked
On 3/9/2010 9:28 AM, Tom Crozier wrote: > Or is there an existing property that lets me know how it was invoked? > See the MSI SDK for the UPGRADINGPRODUCTCODE property. -- 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] Checkbox not transparent
On 3/10/2010 6:21 AM, Kristoffer Danielsson wrote: > That checkbox looks ugly. How do you make it transparent (or solve it some > other way)? > Checkboxes can't be transparent. You can customize the dialog to remove or resize the bitmap. -- 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] Reinstall not updating correct registry value.
On 3/9/2010 1:33 PM, Sachin Dubey wrote: > 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. > See the Property/@Secure attribute. -- 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] Install additional components depending on selected languages
On 3/9/2010 10:11 AM, Oleksandr Y. Nechyporenko wrote: > Are there easy way to select language(s) at first step of installation and > automatically include language depended components to related features? > MSI doesn't support multi-language installers (e.g., UI) but you can include language-specific components and add conditions to suppress them. Or group all the language-specific components in features and let the user choose to install them or not. -- 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] Older package version not removed in some cases
On 3/10/2010 1:38 AM, nro...@gmail.com wrote: > I'm seeing a situation in which a major upgrade fails to uninstall the > previous version. I have three package versions like this: > Check a verbose log to see why MSI didn't remove the product. -- 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] Calling Deferred custom action
On 3/10/2010 8:05 AM, Sagar wrote: > i have the following requirement > 1)install an xml file. > 2)to modify the installed xml file > Use XmlConfig. -- 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] Component GUID rules
On 3/9/2010 11:14 AM, Oleksandr Y. Nechyporenko wrote: > 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. > Use Component/@Guid="*" (or omit it in recent WiX v3.5 builds) to have WiX generate the GUID. -- 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] Preventing install if application is running
This is something I implemented in my installer and I'm willing to share it with the community. Basically I did it using a custom action. Here's the relevant pieces from my .wxs file: The RUNDEVENV variable allows me to control from the command line whether or not the prompt is activated (and a one other action not relevant to this discussion). If the user enters "msiexec /i installer.msi RUNDEVENV=0" then the CA doesn't even run. The binary file is a very simple C# program. The main file is this: using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using Microsoft.Deployment.WindowsInstaller; using System.Windows.Forms; namespace ArtOfTest.PromptCloseDevenv { public class CustomActions { static ClosePrompt closeDialog; [CustomAction] public static ActionResult CloseDevenvPrompt(Session session) { session.Log("Begin PromptToCloseDevenv"); while (devenvIsRunning()) { if (null == closeDialog) { closeDialog = new ClosePrompt(); closeDialog.Show(); } Application.DoEvents(); Thread.Sleep(100); } if (null != closeDialog) { closeDialog.Hide(); closeDialog = null; } session.Log("End PromptToCloseDevenv"); return ActionResult.Success; } static bool devenvIsRunning() { Process[] procList = Process.GetProcesses(); foreach (Process p in procList) { if (p.ProcessName == "devenv") { return true; } } return false; } } } The ClosePrompt class referenced in the above code is a very quick and simple WinForms dialog written in C#. In the end the sequence goes like this: 1) User launches installer 2) User selects the features and location to install 3) User clicks Install 4) CA kicks in and immediately shows a "Please close all instances of Visual Studio" dialog 5) CA periodically checks (every 100 milliseconds) to see if Visual Studio is still running. If it is, it sleeps for another 100 milliseconds. 6) When the CA recognizes that Visual Studio is no longer running, the CA exits and installation continues. If Visual Studio was not running at the start, the dialog doesn't even get displayed. The CA almost immediately exists. Hope that helps, Cody -Original Message- From: s...@pacaccess.com [mailto:s...@pacaccess.com] Sent: Tuesday, March 09, 2010 6:59 PM To: wix-users@lists.sourceforge.net Subject: [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 -- Download Intel® Para
Re: [WiX-users] Checkbox not transparent
Thanks for the tip. Transparent checkboxes are indeed a pain. To make them transparent you'd have to read the brush of the parent and stuff. A workaround is to have a checkbox with no text and a label just left/right of it. /Chris > Date: Wed, 10 Mar 2010 09:17:19 -0500 > From: b...@joyofsetup.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Checkbox not transparent > > On 3/10/2010 6:21 AM, Kristoffer Danielsson wrote: > > That checkbox looks ugly. How do you make it transparent (or solve it some > > other way)? > > > > Checkboxes can't be transparent. You can customize the dialog to remove > or resize the bitmap. > > -- > 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 _ 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
Re: [WiX-users] Component GUID rules
Bob, Thank you for answer. If I will use Component/@Guid="*", it will produce different GUIDs for components even inside same product after the each MSI rebuild. I'm not sure, but as I've understood it will be a problem to create patches in this case. -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Wednesday, March 10, 2010 4:25 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Component GUID rules On 3/9/2010 11:14 AM, Oleksandr Y. Nechyporenko wrote: > 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. > Use Component/@Guid="*" (or omit it in recent WiX v3.5 builds) to have WiX generate the GUID. -- 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] Toggle shield icon for button depending on administrator/user installation?
One MSI to fit them all! Is it possible to have a radio button (or any other type of control) that toggles between two states: * Computer installation (Requires elevation) * User installation If a computer installation is selected, the "Install" button gets the shield icon. Otherwise, the icon goes away. (Important!) Computer installations would be installed to C:\Program Files\MyApp whereas user installations would go into %localappdata%\MyApp. Also, any registered COM objects would go into HKLM vs HKCU. Thanks _ Mejla från tåget! 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
Re: [WiX-users] Install additional components depending on selected languages
Ok, It seems I've found solution. But now have another problem. I've created additional dialog ... And have described features with following way So by default Level of sub-feature with French language is 0 so it will not be installed. Also I hide it from user. Now I need to install FeatureDesktop.fr_FR if PRODUCT_LANGUAGE = "fr-FR" and FeatureDesktop is selected to install local. But I'm not sure, how to do it. I've tried the following: LicenseAccepted = "1" 1 1 1 But unfortunately it don't work. Am I missing something? Also I'm not sure how it will work if user will skip CustomizeDlg for example by select Full Installation on previous screen (in this case I also need to install FeatureDesktop.fr_FR only if French language selected on language selection screen). Is there better place to specify AddLocal and Remove? Thanks. -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Wednesday, March 10, 2010 4:26 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Install additional components depending on selected languages On 3/9/2010 10:11 AM, Oleksandr Y. Nechyporenko wrote: > Are there easy way to select language(s) at first step of installation and > automatically include language depended components to related features? > MSI doesn't support multi-language installers (e.g., UI) but you can include language-specific components and add conditions to suppress them. Or group all the language-specific components in features and let the user choose to install them or not. -- 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
Re: [WiX-users] Preventing install if application is running
See CloseApplication Element (Util Extension) in the Util Schema section of the Wix help. -Original Message- From: s...@pacaccess.com [mailto:s...@pacaccess.com] Sent: 10 March 2010 00:59 To: wix-users@lists.sourceforge.net Subject: [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 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
Re: [WiX-users] Toggle shield icon for button depending on administrator/user installation?
On 10/03/2010 16:05, Kristoffer Danielsson wrote: > If a computer installation is selected, the "Install" button gets the shield > icon. Otherwise, the icon goes away. (Important!) You could possibly have 2 buttons, one with the shield and one without, and conditionally hide/show them based on the property the radio buttons set (which will probably be ALLUSERS), Rob -- 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] UAC Patching on WIndows 2008
Hi, The following link below states that UAC patching is not supported on WIN2k8. Is there way we can do this on Windows 2008 ? http://msdn.microsoft.com/en-us/library/aa372388(VS.85).aspx Thanks Anurag -- 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] Calling Deferred custom action
My project requires me to use managed custom action as it does various modifications under various conditions -- View this message in context: http://n2.nabble.com/Calling-Deferred-custom-action-tp4708880p4710663.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] Preventing install if application is running
I'm not the original person posing the question... but I did try that when I wanted the functionality that Jeff is asking for. The problem I ran into with the CloseApplication element is that it would either forcefully close the application or schedule a reboot. It would not kindly prompt the user to close the application, allowing the user the save his work in progress and close it at his leisure. I prefer the CA that I implemented to kindly prompt the user to close the running application. Cody -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Wednesday, March 10, 2010 10:26 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Preventing install if application is running See CloseApplication Element (Util Extension) in the Util Schema section of the Wix help. -Original Message- From: s...@pacaccess.com [mailto:s...@pacaccess.com] Sent: 10 March 2010 00:59 To: wix-users@lists.sourceforge.net Subject: [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 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 -- 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] Calling Deferred custom action
Thanks for the suggestion Bob, My project requires me to use managed custom action as it does various modifications under various conditions -- View this message in context: http://n2.nabble.com/Calling-Deferred-custom-action-tp4708880p4710675.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] Preventing install if application is running
Thanks Cody and Peter. I was unaware of CloseApplication (I'm new to Wix and still getting my feet wet) but just tried it, and just verified that it has the behavior Cody described (target app is sent a WM_CLOSE message), which is NOT the desired behavior I want (which is to prompt the user to either close the application or abort the install), so I'll go and implement a custom action. It's a shame this isn't already in Wix as this seems like a pretty common thing to do. Again, thanks for the help. Jeff > I'm not the original person posing the question... but I did try that when > I > wanted the functionality that Jeff is asking for. The problem I ran into > with the CloseApplication element is that it would either forcefully close > the application or schedule a reboot. It would not kindly prompt the user > to > close the application, allowing the user the save his work in progress and > close it at his leisure. I prefer the CA that I implemented to kindly > prompt > the user to close the running application. > > Cody > > -Original Message- > From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] > Sent: Wednesday, March 10, 2010 10:26 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Preventing install if application is running > > See CloseApplication Element (Util Extension) in the Util Schema section > of the Wix help. > > -Original Message- > From: s...@pacaccess.com [mailto:s...@pacaccess.com] > Sent: 10 March 2010 00:59 > To: wix-users@lists.sourceforge.net > Subject: [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 > > > 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 > > > -- > Download Intel® Parallel Studio Ev
[WiX-users] WiX Integration with VS 2008 Problem
Hi, I have two Visual Studios installed: 2005 and 2008. Somehow WiX project type did not get added to VS 2008. WiX works with VS 2005 as expected, though. Running ProjectAggregator does nothing noticeable. Did it with VS shut down, then restarted. What would be my steps to add WiX targets manually? I have them in F:\Program Files\MSBuild\Microsoft\WiX\v3.0 (my system drive is F, WiX is installed and properly working at F:\Program Files\Windows Installer XML v3). Thank you very much for your help. Alex -- 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] Patching a single component
As part of my first foray into the world of patching, I have been tasked with creating hotfix patches for our product. As part of the daily build, the version numbers for all files in the product are incremented, but I only want to patch the specific files that were fixed as part of the hotfix. After reading through the tutorial, various blogs, and the mailing list archives, I got the implication that adding a ComponentRef as a child of my PatchFamily would do what I want, so I went ahead and created a patch for Component A. After installing the patch, not only was the file in Component A updated to the new version, so were all other files that had changed between the builds. Is there some way to create a patch that only includes a single file, despite the two .wixpdb files used to create it having many other differences, or would I need to generate the patch using a .wixpdb file that only contained the change for the file I wish to patch? -Andy -- 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] Checkbox not transparent
My preferred approach is to make the checkbox only as wide as the checkbox part and then use a label for the label part. This works but has the downside of not allowing you to click the label to set the check (IMHO I think this doesn't matter and matches the way most web pages work). Neil -Original Message- From: Kristoffer Danielsson [mailto:kristoffer.daniels...@live.se] Sent: 10 March 2010 11:21 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Checkbox not transparent Take a look here: http://www.tramontana.co.hu/wix/lesson8.php Or more specifically: http://www.tramontana.co.hu/wix/customdone.gif That checkbox looks ugly. How do you make it transparent (or solve it some other way)? Thanks _ Mejla på krogen! 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
Re: [WiX-users] Patching a single component
I'm not sure where this is specified in WiX patching, but the PCP file has a TargetImages table with an IgnoreMissingSrcFiles option that sounds like what you want: http://msdn.microsoft.com/en-us/library/aa372066(VS.85).aspx Phil Wilson -Original Message- From: Andy Glass [mailto:agl...@laserfiche.com] Sent: Wednesday, March 10, 2010 1:46 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Patching a single component As part of my first foray into the world of patching, I have been tasked with creating hotfix patches for our product. As part of the daily build, the version numbers for all files in the product are incremented, but I only want to patch the specific files that were fixed as part of the hotfix. After reading through the tutorial, various blogs, and the mailing list archives, I got the implication that adding a ComponentRef as a child of my PatchFamily would do what I want, so I went ahead and created a patch for Component A. After installing the patch, not only was the file in Component A updated to the new version, so were all other files that had changed between the builds. Is there some way to create a patch that only includes a single file, despite the two .wixpdb files used to create it having many other differences, or would I need to generate the patch using a .wixpdb file that only contained the change for the file I wish to patch? -Andy -- 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] Patching a single component
It looks like that would work for patching using .pcp files, since when you do the required administrative install, you have control over which files are actually present. I was hoping for a solution in which I could still use the .wixpdb files to generate a .wixmst. -Original Message- From: Wilson, Phil [mailto:phil.wil...@invensys.com] Sent: Wednesday, March 10, 2010 3:15 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Patching a single component I'm not sure where this is specified in WiX patching, but the PCP file has a TargetImages table with an IgnoreMissingSrcFiles option that sounds like what you want: http://msdn.microsoft.com/en-us/library/aa372066(VS.85).aspx Phil Wilson -Original Message- From: Andy Glass [mailto:agl...@laserfiche.com] Sent: Wednesday, March 10, 2010 1:46 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Patching a single component As part of my first foray into the world of patching, I have been tasked with creating hotfix patches for our product. As part of the daily build, the version numbers for all files in the product are incremented, but I only want to patch the specific files that were fixed as part of the hotfix. After reading through the tutorial, various blogs, and the mailing list archives, I got the implication that adding a ComponentRef as a child of my PatchFamily would do what I want, so I went ahead and created a patch for Component A. After installing the patch, not only was the file in Component A updated to the new version, so were all other files that had changed between the builds. Is there some way to create a patch that only includes a single file, despite the two .wixpdb files used to create it having many other differences, or would I need to generate the patch using a .wixpdb file that only contained the change for the file I wish to patch? -Andy -- 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 -- 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] Component GUID rules
On 3/10/2010 10:34 AM, Oleksandr Y. Nechyporenko wrote: > If I will use Component/@Guid="*", it will produce different GUIDs for > components even inside same product after the each MSI rebuild. No, it generates stable IDs. -- 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] Install additional components depending on selected languages
On 3/10/2010 11:15 AM, Oleksandr Y. Nechyporenko wrote: > But unfortunately it don't work. Am I missing something? Check a verbose log to see if MSI is showing the feature changes being made. -- 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] Preventing install if application is running
On 3/10/2010 12:01 PM, Cody Gibson wrote: > I'm not the original person posing the question... but I did try that when I > wanted the functionality that Jeff is asking for. The problem I ran into > with the CloseApplication element is that it would either forcefully close > the application or schedule a reboot. It also allows you to set a property when an app is running, so you can condition your own UI or launch condition to block install. -- 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] UAC Patching on WIndows 2008
On 3/10/2010 11:42 AM, Anurag Pahwa wrote: > The following link below states that UAC patching is not supported on WIN2k8. > Is there way we can do this on Windows 2008 ? > The MSI SDK is the authoritative source on what's supported and what's not. -- 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] Toggle shield icon for button depending on administrator/user installation?
On Wed, Mar 10, 2010 at 10:34, Rob Hamflett wrote: > On 10/03/2010 16:05, Kristoffer Danielsson wrote: >> If a computer installation is selected, the "Install" button gets the shield >> icon. Otherwise, the icon goes away. (Important!) > > You could possibly have 2 buttons, one with the shield and one without, and > conditionally hide/show > them based on the property the radio buttons set (which will probably be > ALLUSERS), While this is true, you cannot conditionally elevate until Windows 7 and MSI 5, and there only with ALLUSERS in conjugation with MSIINSTALLPERUSER. So unless you can depend on Windows 7, the (non-UI) behavior is an impossible requirement to fill. Michael -- 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 using WIXUI_INSTALLDIR dialog in my Wix setup program. In the EULA screen, I want the "I agree..." checkbox to get enabled only when the user has scrolled through the entire License text. Is there any way this can be done? 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
[WiX-users] Question regarding .wixproj and conditions
I am working through some conditional logic in getting the project, and hence TFS Build to build our installs. The issue I am coming up against is that the SDK install locations are different on different computers. Currently, I detect this using this logic inside the WixProj file: $(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft sdks\windows\v7@installationfolder) $(SDK70A) C:\Program Files\Microsoft SDKs\Windows\v6.0A\ I would like to enhance this further because the location of the bootstrapper directory apparently varies depending on what is installed, and perhaps what order it was installed. Is there a way to determine if a directory exists within the WixProj file that will allow it to work in both Visual Studio, as well as MSBuild? Thanks, John -- 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