[WiX-users] Question regarding .wixproj and conditions

2010-03-10 Thread John H. Bergman (XPedient Technologies)
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: $(regis

[WiX-users] Question reagrding Wix Conditions

2010-03-10 Thread Gupta, Anshumali S (Anshu)
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 ---

Re: [WiX-users] Toggle shield icon for button depending on administrator/user installation?

2010-03-10 Thread Michael Urman
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 an

Re: [WiX-users] UAC Patching on WIndows 2008

2010-03-10 Thread Bob Arnson
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/

Re: [WiX-users] Preventing install if application is running

2010-03-10 Thread Bob Arnson
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 sched

Re: [WiX-users] Component GUID rules

2010-03-10 Thread Bob Arnson
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/ --

Re: [WiX-users] Install additional components depending on selected languages

2010-03-10 Thread Bob Arnson
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/ --

Re: [WiX-users] Patching a single component

2010-03-10 Thread Andy Glass
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-

Re: [WiX-users] Patching a single component

2010-03-10 Thread Wilson, Phil
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:a

Re: [WiX-users] Checkbox not transparent

2010-03-10 Thread Neil Sleightholm
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

[WiX-users] Patching a single component

2010-03-10 Thread Andy Glass
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.

[WiX-users] WiX Integration with VS 2008 Problem

2010-03-10 Thread Alexander Volkov
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 manuall

Re: [WiX-users] Preventing install if application is running

2010-03-10 Thread sd
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 eit

Re: [WiX-users] Calling Deferred custom action

2010-03-10 Thread Sagar1111
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

Re: [WiX-users] Preventing install if application is running

2010-03-10 Thread Cody Gibson
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

Re: [WiX-users] Calling Deferred custom action

2010-03-10 Thread Sagar1111
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. -

[WiX-users] UAC Patching on WIndows 2008

2010-03-10 Thread Anurag Pahwa
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 Int

Re: [WiX-users] Toggle shield icon for button depending on administrator/user installation?

2010-03-10 Thread Rob Hamflett
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

Re: [WiX-users] Preventing install if application is running

2010-03-10 Thread Peter Shirtcliffe
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

Re: [WiX-users] Install additional components depending on selected languages

2010-03-10 Thread Oleksandr Y. Nechyporenko
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 d

[WiX-users] Toggle shield icon for button depending on administrator/user installation?

2010-03-10 Thread Kristoffer Danielsson
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,

Re: [WiX-users] Component GUID rules

2010-03-10 Thread Oleksandr Y. Nechyporenko
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

Re: [WiX-users] Checkbox not transparent

2010-03-10 Thread Kristoffer Danielsson
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...@jo

Re: [WiX-users] Preventing install if application is running

2010-03-10 Thread Cody Gibson
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

Re: [WiX-users] Component GUID rules

2010-03-10 Thread Bob Arnson
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 genera

Re: [WiX-users] Calling Deferred custom action

2010-03-10 Thread Bob Arnson
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Ā® Parall

Re: [WiX-users] Older package version not removed in some cases

2010-03-10 Thread Bob Arnson
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/ --

Re: [WiX-users] Install additional components depending on selected languages

2010-03-10 Thread Bob Arnson
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

Re: [WiX-users] Checkbox not transparent

2010-03-10 Thread Bob Arnson
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/ --

Re: [WiX-users] Reinstall not updating correct registry value.

2010-03-10 Thread Bob Arnson
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:/

Re: [WiX-users] Passing data to uninstaller or detecting how it was invoked

2010-03-10 Thread Bob Arnson
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/ -- Downlo

Re: [WiX-users] How to set property with return value from custom action

2010-03-10 Thread Bob Arnson
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/ --

Re: [WiX-users] How to create a big MSI like Microsoft Office

2010-03-10 Thread Christopher Painter
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

Re: [WiX-users] Checkbox not transparent

2010-03-10 Thread Nuno Romao
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,

[WiX-users] Calling Deferred custom action

2010-03-10 Thread Sagar1111
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 cu

[WiX-users] Checkbox not transparent

2010-03-10 Thread Kristoffer Danielsson
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

[WiX-users] How to set property with return value from custom action

2010-03-10 Thread Christian Kraut
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

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-03-10 Thread Sagar1111
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> elemen