Re: [WiX-users] Special Folders: How do I?

2007-12-14 Thread Rory Clark
do I? Rory Clark wrote: > In my WxS file, I want to install a file into a subdirectory of "My > Documents". Does anyone have a sample for that? Doing an web search > isn't turning anything up. Try the PersonalFolder property. It should point to Documents folder of the cur

[WiX-users] Special Folders: How do I?

2007-12-13 Thread Rory Clark
In my WxS file, I want to install a file into a subdirectory of "My Documents". Does anyone have a sample for that? Doing an web search isn't turning anything up. Thanks! Rory - SF.Net email is sponsored by: Check out the new

[WiX-users] Looking for docs on IIS metabase manipulation in WiX

2007-10-10 Thread Rory Clark
Is there a source of WiX documentation for all of the fun things you can do to the IIS metabase? Specifically, I'm looking for docs or points or something that gives me a better idea of what I can do natively in WiX what I have to write a custom action to handle, such as detecting if a website exis

[WiX-users] Question about an MSI failure...

2007-09-20 Thread Rory Clark
This does not appear to be a WiX issue, but I figured I would bounce this here to see if anyone has hit this before. My installs are failing intermittently, though I don't know the exact frequency since it's happened 3 out of 4 installs. Here's the pertinent information from the MSI log of 5859 l

[WiX-users] Intentionally leaving a file behind...

2007-08-21 Thread Rory Clark
Is it possible mark as left behind if changed? Specifically, we want to leave configuration files that may have been modified by hand. Does WiX/Windows Installer allow that? I haven't found anything yet that says one way or the other. Thanks! Rory -

[WiX-users] Clarification question about rollbacks...

2007-07-20 Thread Rory Clark
I've been reading through Phil Wilson's The Definitive Guild to the Wndows Installer . I got the distinct impression, though I can't find it now, t

[WiX-users] Custom rollback custom action...

2007-07-19 Thread Rory Clark
I have a custom action that makes configuration changes. I want to modify it so that if it fails it can rollback the install or uninstall. At first, it didn't return a value, so I modified it to return MsiError.InstallFailure. That didn't work. Nope, it was installed. So, I had it re-throw the

[WiX-users] Using XmlFile in a fragment generates an unresolved reference error

2007-07-18 Thread Rory Clark
I'm trying to put together a sample on how to modify web.config using our tool to generate WiX source files and a NAnt build script to build them. At this stage, I'm just trying to get the generated source to work with the fragment I've written. When I call light.exe with the lib_install.wixobj and

[WiX-users] Windows Installer Service and reference counting...

2007-07-09 Thread Rory Clark
Where does the installer service store its reference counting data for modules? We're trying to preserve the idea of ref counting without merging modules into an MSI. Yes, we realize there are dangers to this approach, but we are trying to solve some problems with install, reinstall, and uninstal

[WiX-users] Question about writing custom actions...

2007-06-28 Thread Rory Clark
...how do I tell if I am uninstalling a product or installing it? We have a library we've written to do some configuration changes, but now we want to different things when a user installs and when a user uninstalls. I poked through the MSI SDK, but nothing really jumped out while skimming the CHM

[WiX-users] Module dependencies

2007-06-22 Thread Rory Clark
I have a merge module that has a dependency element defined: When the module is merged into an MSI, I have an entry in the module dependency: ModuleID: kenbase_1.0.0.0.49C6F91B_94B1_73FC_410E_8D1110FF1DC3 ModuleLanguange: 0 RequiredID: unittest_1.0.0.0.07C25BE8_

Re: [WiX-users] Making upgrades work without the msiexec command lines?

2007-05-17 Thread Rory Clark
rom: Brian Simoneau [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 9:51 AM To: Rory Clark; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Making upgrades work without the msiexec command lines? I think this is wishful thinking. A minor upgrade is going to require command line para

[WiX-users] Making upgrades work without the msiexec command lines?

2007-05-17 Thread Rory Clark
I have a wxs script to build an MSI with a product node that looks something like this: If I previously installed version 2.0.0 on the box and then change the version number to 2.0.1 and then double click on the MSI, I get the "please uninstall the old version first" message.

Re: [WiX-users] Reinstalling with different MSM's...

2007-05-17 Thread Rory Clark
mmick [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 11:56 PM To: Rory Clark; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Reinstalling with different MSM's... That still sounds as if you're adding and removing components from features. You'll need to do a

Re: [WiX-users] Reinstalling with different MSM's...

2007-05-16 Thread Rory Clark
May 16, 2007 2:01 PM To: Rory Clark; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Reinstalling with different MSM's... I'm assuming that you're installing the MSMs as files i.e. they're for your end-users to use to build their own installers, therefore the fact tha

[WiX-users] Reinstalling with different MSM's...

2007-05-16 Thread Rory Clark
We've hit an interesting scenario in our work where we're not seeing one of the MSM's getting applied in a re-install scenario. We start off with some.msi that contains the following merge modules: * a.msm * b.msm * c.msm * d.msm Some.msi now lays down all of the merge m

Re: [WiX-users] Looking for a sample code for XML manipulation...

2007-04-27 Thread Rory Clark
value... From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rory Clark Sent: Friday, April 27, 2007 12:36 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Looking for a sample code for XML manipulation... Preface: I found the sample located at http://www.tramontana.co.h

Re: [WiX-users] Looking for a sample code for XML manipulation...

2007-04-27 Thread Rory Clark
Rory From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Friday, April 27, 2007 12:47 PM To: Rory Clark; wix-users@lists.sourceforge.net Subject: RE: Looking for a sample code for XML manipulation... WiX v2's XmlConfig is a bit more powerful and will probably work

[WiX-users] Looking for a sample code for XML manipulation...

2007-04-27 Thread Rory Clark
Preface: I found the sample located at http://www.tramontana.co.hu/wix/lesson5.php#5.11 for manipulating XML files and creating elements and assigning attribute values. However, it does not quite cover our use case here. Take this snippet of a web.config file:

Re: [WiX-users] Question about the Dependency element?

2007-04-12 Thread Rory Clark
007 9:47 PM To: Rory Clark Cc: Rob Mensching; [EMAIL PROTECTED] Subject: Re: [WiX-users] Question about the Dependency element? Rory Clark wrote: What is the difference between the MergeRef (MSI's) and Dependency (MSM) elements? Merge/MergeRef tell WiX to merge a module. Depende

Re: [WiX-users] Question about the Dependency element?

2007-04-11 Thread Rory Clark
Whoops! Brain disconnect here. Let's scratch the below comments and try this again. What is the difference between the MergeRef (MSI's) and Dependency (MSM) elements? Thanks! Rory From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [WiX-users] Question about the Dependency element?

2007-04-11 Thread Rory Clark
an undocumented feature or bug here? Thanks! Rory From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 2:28 PM To: Rory Clark; wix-users@lists.sourceforge.net Subject: RE: Question about the Dependency element? 1. Dependency element is onl

[WiX-users] Question about the Dependency element?

2007-04-11 Thread Rory Clark
I have a question about the Dependency element: What is the difference between have a Dependency element in a MSM and an MSI? What is the gains of putting it in one and not that other? For example, in the MSI and not in the MSM? What are the problems of listing the dependencies in the MSI and no

[WiX-users] Question on the Dependency element

2007-03-28 Thread Rory Clark
What exactly does the Dependency element do? Here is my situation: We have the web application framework, the Framework, which my company has developed. Framework.msi FrameworkRuntime.msm FrameworkSDK.msm We have an extension to the Fra

[WiX-users] Merge Module references in other Merge Modules

2007-03-16 Thread Rory Clark
Does someone have a sample of a merge module referencing another merge module? Specifically, we have a merge module that contains a DLL for custom actions. I did not see anything like this on the WiX tutorial site. Of course, I may have missed it. Thanks! Rory --

Re: [WiX-users] Help with Upgrade scenarios.

2007-03-14 Thread Rory Clark
That solved the short term problem, but isn't a long term solution. Looks like I need to do a lot more research and a lot more reading. Thanks! Rory From: Levi Wilson [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 11:39 AM To: Rory Clark Cc

[WiX-users] Help with Upgrade scenarios.

2007-03-14 Thread Rory Clark
In the project I'm working on, we've hit a pain point and we're not certain how to overcome it. Right now if we want to do an upgrade, the user has to uninstall before installing the new version. I am sure this has to be possible, I just need some pointers on the "how to" side of things. Thank