Re: [WiX-users] ComponentSearch and *

2010-12-28 Thread Alex Ivanoff
I just realized that we may using the wrong approach. We have two installers: InstallerA and InstallerB. InstallerB can only be installed if InstallerA is installed. So we are using component search to find one of the components of InstallerA. Should we be using upgrade table instead? On Tue, Dec

Re: [WiX-users] ComponentSearch and *

2010-12-28 Thread Rob Mensching
Yes, but you'll need to open the MSI in Orca to find the GUID. On Tue, Dec 28, 2010 at 4:43 PM, Alex Ivanoff wrote: > If the component Guid is autogenerated (Guid="*") is there a way to use > this component in ComponentSearch? > > >

Re: [WiX-users] obtaining a features install state

2010-12-28 Thread Rob Mensching
There used to be a function called WcaGetComponentState() but we replaced it with a more useful WcaGetComponentTodo(). You pass in the Component Id and it tells you what "to do". On Tue, Dec 28, 2010 at 10:35 AM, Sean Farrow wrote: > Is there support for component states in wcautil? If yes, what

Re: [WiX-users] what happens during a repair

2010-12-28 Thread Rob Mensching
wix\src\ca\wixca\dll\secureobj.cpp is pretty straight forward. On Tue, Dec 28, 2010 at 10:34 AM, Sean Farrow wrote: > Hi: > Can you give me some examples of WiX custom actions that modify machine > state? > Cheers > Sean. > > -Original Message- > From: Rob Mensching [mailto:r...@robmensch

Re: [WiX-users] Deferred vs Immediate custom action

2010-12-28 Thread Rob Mensching
1. No, quiet exec CA doesn't clear the property. If you have sensitive stuff in there, mark it hidden. 2. Typically, the WiX custom actions schedule (via WcaDoAction()) the rollback custom actions by name. Have you looked at how the WiX custom actions work? I think you'll learn a lot. On Tue, De

[WiX-users] ComponentSearch and *

2010-12-28 Thread Alex Ivanoff
If the component Guid is autogenerated (Guid="*") is there a way to use this component in ComponentSearch? -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, stan

[WiX-users] main feature and sub feature size

2010-12-28 Thread CP YEH
Hi All, I created an installer and that has a feature that has two other features as its children. When the user clicks 'custom' and check out the size of these features, it says that main feature size is zero but the size of sub features are not zero. This makes sense to me in that the size of ea

Re: [WiX-users] change install location from custom to default

2010-12-28 Thread CP YEH
I am having the same problem as the following email describes. Just out of curiosity, Lisa were you able to resolve this issue? Or if anyone has any suggestion, please kindly let me know. Thanks in advance. YEH On Tue, Mar 2, 2010 at 9:57 AM, Lisa Gracias wrote: > In my msi there are 3 types of

Re: [WiX-users] obtaining a features install state

2010-12-28 Thread Sean Farrow
Is there support for component states in wcautil? If yes, what functions should I look at? Cheers Sean. -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 28 December 2010 16:25 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] ob

Re: [WiX-users] what happens during a repair

2010-12-28 Thread Sean Farrow
Hi: Can you give me some examples of WiX custom actions that modify machine state? Cheers Sean. -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 28 December 2010 16:27 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] what happe

Re: [WiX-users] Deferred vs Immediate custom action

2010-12-28 Thread Sean Farrow
Hi Rob: I'm thinking the QAQuiet custom action, and the CustomActionData property. Also, how do I distinguish between a rollback and a standard custom action, is it just in the xml authoring or do I have to do something special in the ca itself. Cheers Sean. -Original Message- From: Rob

Re: [WiX-users] Wix Question

2010-12-28 Thread Rob Mensching
Sounds a lot like: http://wix.sourceforge.net/manual-wix3/run_program_after_install.htm On Thu, Dec 23, 2010 at 2:53 PM, Minarto Margoliono < mmargoli...@seamless.com.au> wrote: > If i want to open a webpage after the installation finished, where the > website address is from a custom ui dialog,

Re: [WiX-users] Deferred vs Immediate custom action

2010-12-28 Thread Rob Mensching
Certainly sounds like you are modifying machine state. If the user clicks cancel after the custom action runs, should the files be removed (probably "Yes" unless they are temp files in the temp folder)? If so, then you must be deferred and you need a rollback custom action. Which custom action in

Re: [WiX-users] Cannot execute Custom Action

2010-12-28 Thread Rob Mensching
Your CA DLL needs a version resource. On Thu, Dec 23, 2010 at 3:17 PM, Wang, Miaohsi wrote: > Dear All, > > I created an empty C++ custom action (a CA that does nothing) in VS2008 > using its C++ CA dll template and tried to call the CA from a WiX 3.5 > install program. I got the error below reco

Re: [WiX-users] what happens during a repair

2010-12-28 Thread Rob Mensching
The custom action will run again. For data driven custom actions that modify machine state, the custom action should decide what to do (create, delete, update) based on the action state of a Component. This is important because in repair you could have Components in all action states: none, install

Re: [WiX-users] obtaining a features install state

2010-12-28 Thread Rob Mensching
It would be very unusual to base the action of a custom action off of a Feature state. That's why you don't find support for it in wcautil. Component states are (in my experience) always the better choice (given the way the Windows Installer works). On Mon, Dec 27, 2010 at 3:06 AM, Sean Farrow wro

[WiX-users] Deferred vs Immediate custom action

2010-12-28 Thread Sean Farrow
Hi: I'm currently using the QuietExec custom action to run a command line tool which itself creates extra files. Given that this creates files is this considered changing the state of the system? If so should I run this as a Deferred action? Or can I get away with an immediate action? Also does

Re: [WiX-users] modifying a dialog

2010-12-28 Thread Tobias S
Just am not sure whether the line ABCWixUIRMOption~="UseRM" has additional impact to the functionality. From my current point here maybe WixUIRMOption~="UseRM" should handle the Restart manager functionality correctly Hope at least the mentioned mod

Re: [WiX-users] modifying a dialog

2010-12-28 Thread Tobias S
You need to reference a changed dialog set. For the following I assume you work with Votive in VS and this sample shows the changes for WixUI_Mondo.wxs: - Copy the WixUI_Mondo.wxs (from WiX Source) to WixUI_ABCMondo.wxs in your solution. - Reference instead of to - Change in WixUI_ABCMondo

Re: [WiX-users] FW: Wix 3.5 - IIS 7 - Failed to commit IIS transaction due to a sharing violation. Some other application may be configuring IIS

2010-12-28 Thread Matteo Canessa
Hi Rob, thank you very much for your reply. I installed Wix 3.5.2415 and now all works fine! Thanks again, Matteo > Make sure you are running the very latest drop of the WiX toolset. There > have been many fixes to this area in the IIS7 CustomAction trying to fix > this bug and we think we ha