Re: [WiX-users] XmlConfig and uninstall

2007-04-18 Thread Andre Strik
I knew that would happen. Solved it just after posting... It looks like for an uninstall action, the @ElementPath points to the parent node, while the @VerifyPath is relative to the @ElementPath. So this works: Cheers, Andre From: [EM

[WiX-users] XmlConfig and uninstall

2007-04-18 Thread Andre Strik
Hi all, Has anyone successfully used util:XmlConfig to modify an XML file on uninstall? Adding nodes is working, but removing them on uninstall is still beyond me. Even with the VerifyPath attribute set, I'm still having no joy. The below component successfully adds a tag to a web.conf

[WiX-users] Where to install samples

2007-04-18 Thread Quinton Tormanen
I have a .NET assembly that we've built for use by our customers. We have just added a bunch of sample projects using our assembly that can be also be installed. I'm unclear on where to install these samples. I thought of putting them under "[PersonalFolder]\RMCLink Samples", but the negatives soon

Re: [WiX-users] Installing a dll with WiX similar to regsvr32

2007-04-18 Thread Bob Arnson
DEVAL SHAH wrote: > What should I do? Is there someother way to register my dll. > Tallow creates output that you need to edit to match your build environment (e.g., using environment variables or relative paths). -- sig://boB http://bobs.org --

Re: [WiX-users] DIFx and v2 / v3 ??

2007-04-18 Thread Bob Arnson
Robert Randall wrote: > Does this mean that DIFx and Wix just do not work in v3? > The DIFx .wixlib is only supplied in a v2 .wixlib. There's a bug open that v3 should be able to read v2 .wixlibs but it's not clear how/when/if that will be supported. (WiX v3 made some major changes in how in

Re: [WiX-users] UpgradeScenario: CopyFile Problem

2007-04-18 Thread Bob Arnson
sandy wrote: > All the properties are set correctly I can see their correct value in the log > but it doesn't copy the file from source to destination neither do I get any > error. > Check a verbose log for the DuplicateFiles action -- that's the standard action and table that the CopyFile e

Re: [WiX-users] Testing for membership of a domain

2007-04-18 Thread Bob Arnson
Alec Siu wrote: Is there a way to check if you're a member of a domain from within WiX? I thought of using a Condition which references the USERDOMAIN environment variable like this: All users are in a "domain," even if it's just the individual machine. You can t

Re: [WiX-users] Passing Parameters to the Merge Modules.

2007-04-18 Thread Bob Arnson
[EMAIL PROTECTED] wrote: I'm opting to use Merge modules instead of nested msi. Can someone throw some light on how to send parameters /properties to the included merge modules ? Once merged, modules lose their independent identity. So there's no concept, really, of passing parameters. What a

Re: [WiX-users] Making the installer use the LongName of a Directory

2007-04-18 Thread Bob Arnson
Nathan Lane wrote: > Well, I think I might have figured out how to get around the problem, > by having the directory already exist, but when I run the installer, > the short name for the installation directory comes up under Custom > instead of the Long name. For example if Name="VCP" and > Lo

Re: [WiX-users] ASP.NET uninstall and home directory question

2007-04-18 Thread mmenaker
Does anybody have any insight on these 2 problems? mmenaker wrote: > > I'm having 2 problems: > > > > 1. My web applications that I create don't delete the virtual dirs/apps > from the Default Web Site section in IIS. The folders created are gone > but you can see the app in the IIS. > >

[WiX-users] Installing a dll with WiX similar to regsvr32

2007-04-18 Thread DEVAL SHAH
Hello, I have a dll which I install using regsvr32. Now I want to do that using WiX. I tried: tallow -s mydll > a.wxs. Now this generates a fragment which contains: This path is constant. Now if I try to install this on some other machine C:\YProj\mydll.dll does not exist. I tried to put a dir

[WiX-users] Testing for membership of a domain

2007-04-18 Thread Alec Siu
Hi All, Is there a way to check if you're a member of a domain from within WiX? I thought of using a Condition which references the USERDOMAIN environment variable like this: But this doesn't seem to work... any ideas? Cheers, Alec --

[WiX-users] I flicked the switch and the loud whirring was startling.

2007-04-18 Thread allow
The class seems pretty social which is, I think, a good thing if school is as stressful as they say. Still, gotta work harder at budgeting my time. A puddle of preservative chemicals pooled around her face, and I felt guilty. But I guess if everyone's behind, no one's behind. The first hour was

[WiX-users] Conditionally set ALLUSERS and InstallDirectory when Privileged is 1 or 0

2007-04-18 Thread Ming Liu
I like to set the installation directory and ALLUSERS differently when Privileged property is 1 or 0. I tried a few examples without success. Could anybody give some examples on this? Thanks! Ming - This SF.net email is spo

[WiX-users] How to install a certificate

2007-04-18 Thread Andrei
Hi all, I need to install a certificate after the installation of the main binary. The code snippet below does not work because it cannot find [INSTALLDIR]MyCert.cer (see bold fragment). However if I change the bold fragment with a path to the initial location of the certificate file, it succ

Re: [WiX-users] Wix project for ASP.NET web project

2007-04-18 Thread Mike Dimmick
Automatically generating WiX scripts is not recommended due to the strong likelihood of breaking component rules. If you're careful to ensure that component GUIDs and component contents are stable across versions - for which you'll need to parse the original WiX file, find the differences and gener

Re: [WiX-users] What is the use of an application (.exe) GUID ?

2007-04-18 Thread Mike Dimmick
Windows Installer installs products in units of components - they are the building blocks of the installation. It installs a component if it believes that the component is not up to date or is missing, which it determines from the component's key path. It stores a list of all the components which a

[WiX-users] DIFx and v2 / v3 ??

2007-04-18 Thread Robert Randall
Light is giving me an error that is making me sad: \msft\DIFxApp\English-US\WiXLib\x86\DIFxApp.wixlib : error LGHT0141 : The library file format v ersion 2.0.2207.0 is not compatible with the expected library file format version 3.0.2002.0. NMAKE : fatal error U1077: '"..\tools\wix3-binaries\ligh

[WiX-users] Harvesting Directories /Webservers

2007-04-18 Thread jrcolons
Hi! I'm using Wix 3 and I'm trying to harvest a website using heat, but I don't know how to... then I tried to harvest the directory but it gives me a component for each file. Can I get 1 component per directory containing all the files contained in a directory? how do I can get it? Thanks in

[WiX-users] Plumbing the Depth of and

2007-04-18 Thread Lorne Laliberte
I think I just learned something about . The Depth attribute means something different when there is a child element. If there is no child element, the Depth attribute means "the number of levels below the parent to look for @Path." If there is a child element, the Depth attribute means "the

[WiX-users] Errata

2007-04-18 Thread Matt Anderson
Matt Anderson andrsn.net> writes: > I tried using REINSTALLMODE, but it appears that it aborts the installation > (because it's not an upgrade of a previous install?). The installation does not abort. It just says that the installation was sucessfull, but it in fact did nothing. No errors we

[WiX-users] Overwriting Files

2007-04-18 Thread Matt Anderson
Is there a way to ensure that a file on the target machine will get overwritten regardless of versioning rules (the files don't have versions nor am I in a position to ensure they do)? I have three installers: the third installer will overwrite some files of the first two and add other files.

Re: [WiX-users] Modify a Pre-Existing Service with WiX?

2007-04-18 Thread Scott Parker
On 4/18/07, Neil Sleightholm <[EMAIL PROTECTED]> wrote: You could just modify the appropriate registry key and mark it to left on uninstall. Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state Value: Start Change the value data from 3 to 2. I suspect this is somet

Re: [WiX-users] Modify a Pre-Existing Service with WiX?

2007-04-18 Thread Neil Sleightholm
You could just modify the appropriate registry key and mark it to left on uninstall. Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state Value: Start Change the value data from 3 to 2. I suspect this is something that is frowned upon but that is what I would do.

Re: [WiX-users] CustomAction DLL (type 1) with dependencies - help

2007-04-18 Thread Robert Randall
The CA is sequence 6701 (post GAC update). The DLL is using DIFxAPI and the dependency is the difxapi.dll. I'll attempt a work-a-round by using the standard DIFx support and adjusting my strategy a bit. I'm installing drivers for virtual devices so I have to use the SetupAPI to create the device

[WiX-users] UpgradeScenario: CopyFile Problem

2007-04-18 Thread sandy
I've an upgrade scenario where I'm copying one file from the version 1 to version 2. Product gets installed in the PROGRAMFILES\Product\VersionNo folder so both of the version will have different directories and I'm copying the config file from product\V1 to Product\V2 for that I created a wxs

Re: [WiX-users] ConfigureSQL Leaked MSIHANDLE

2007-04-18 Thread Rob Mensching
Hmm. Can you quickly try the latest WiX v2 release: http://wix.sourceforge.net/releases/2.0.5213.0/. That should quickly tell us if there is still a problem. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don Tasanasanta Sent: Wednesday, April 18, 2007 10:24 AM To: wix-users@l

[WiX-users] ConfigureSQL Leaked MSIHANDLE

2007-04-18 Thread Don Tasanasanta
I've looked back and seen that there's some history to this problem. I'm wondering if a solution has been found and implemented. I'm using wix version 2.0.4820.0 and now encountering this problem 100% of the time in the last 2 builds during silent installs only. --

Re: [WiX-users] HKCU registry settings

2007-04-18 Thread Wilson, Phil
I'm guessing you're expecting to see the key show up for other users because it's a keypath, right? If so, you won't see that key when you log on as the other user, only when you do something that causes the install-on-demand to take place (is the keypath in a feature in which there is a shortcut?)

Re: [WiX-users] CustomAction DLL (type 1) with dependencies - help

2007-04-18 Thread Rob Mensching
Yeah, this scenario doesn't work well at all. The ideal is that your CustomActions have as few dependencies on the system as possible. My suggestion is always that CustomActions should only depend on stuff that ships with lowest OS you support "out of the box". Typically, this means sharing c

Re: [WiX-users] CustomAction DLL (type 1) with dependencies - help

2007-04-18 Thread Brett Kapilik
Robert, Where is the custom action called from - where is it scheduled? Is it deferred? - Brett > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Robert Randall > Sent: Wednesday, April 18, 2007 9:40 AM > To: wix-users@lists.sourceforge.net > Su

Re: [WiX-users] Localization question

2007-04-18 Thread Rennie Petersen
Are you sure you're using the Norwegian localization file during your final link? (Are you saying some text is localized and some isn't?) Rennie From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Bjørnsen Sent: 18. april 2

Re: [WiX-users] Localization question

2007-04-18 Thread Rob Hamflett
Thomas Bjørnsen wrote: > Me again :P got some more questions regarding WIX I can't quite figure out. > > > If I set the Language/Languages properties of the Product/Package tags > to say 1044 for Norwegian, should not error-messages be shown in > Norwegian then? The language settings just refe

Re: [WiX-users] Stupid question about the property element

2007-04-18 Thread Lorne Laliberte
> I have a property: > > > Then I use this property value in the element > Action='write' Type='string'/> > It will create HKCU\Software\MyProductName. So far Ok. > > However if I try doing the same with element, it > fails to work > > LongName in this case will be [Product], not MyProductN

Re: [WiX-users] Forcing a .NET 2.0 install as a prerequisite

2007-04-18 Thread Thomas Bjørnsen
Yes I am using Wix 2.0 I will check out 3.0/Votive to see if it's any easier there and if it doesn't break what I already have. I have little experience with MSBuild so the whole scriptingpart made little sense to me to be honest. -Thomas On 4/18/07, Michael Collins <[EMAIL PROTECTED]> wrote:

[WiX-users] Localization question

2007-04-18 Thread Thomas Bjørnsen
Me again :P got some more questions regarding WIX I can't quite figure out. If I set the Language/Languages properties of the Product/Package tags to say 1044 for Norwegian, should not error-messages be shown in Norwegian then? I checked out WixUI_en-us.wxl and WixUI_no-no.wxl, why do they only

Re: [WiX-users] Problem with Directory attribute in IniFile element

2007-04-18 Thread Lorne Laliberte
> -Original Message- > From: Bob Arnson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 17, 2007 10:51 PM > > Lorne Laliberte wrote: > > ...but the "any other property representing a full path" > > part doesn't seem to hold true. > > Seems wrong -- the MSI doc is the definitive answer

[WiX-users] CustomAction DLL (type 1) with dependencies - help

2007-04-18 Thread Robert Randall
I have a CustomAction DLL that was working just fine. However, I recently updated it and it now depends on another DLL. That DLL isn't a typical system DLL and is not already on the system. I can't seem to figure out WHERE to put the DLL so that it is available when the CustomAction is invoked.

Re: [WiX-users] Forcing a .NET 2.0 install as a prerequisite

2007-04-18 Thread Michael Collins
Sorry...my bad. It looks like you're using WiX 2.0. WiX 3.0/Votive is now producing MSBuild-based project files, which is how my script below works. It's been a while since I've used WiX 2.0. One option would be to create a custom MSBuild script and include the bootstrapper

Re: [WiX-users] Forcing a .NET 2.0 install as a prerequisite

2007-04-18 Thread Thomas Bjørnsen
is my whole wixproj file, I don't seem to have the "Wix.targets" anywhere. Installer.wxs is the main Wix file with the product, errormessages, actions etc. Files.wxs is project spesific file

[WiX-users] Stupid question about the property element

2007-04-18 Thread Andrei
Hi all, I have a property: Then I use this property value in the element It will create HKCU\Software\MyProductName. So far Ok. However if I try doing the same with element, it fails to work LongName in this case will be [Product], not MyProductName Why the property is not substituted with

Re: [WiX-users] Making the installer use the LongName of a Directory

2007-04-18 Thread Nathan Lane
Well, I think I might have figured out how to get around the problem, by having the directory already exist, but when I run the installer, the short name for the installation directory comes up under Custom instead of the Long name. For example if Name="VCP" and LongName="Vehix Consumer Portal",

[WiX-users] Passing Parameters to the Merge Modules.

2007-04-18 Thread lav.gupta
Hi I'm new to WIX. I'm opting to use Merge modules instead of nested msi. Can someone throw some light on how to send parameters /properties to the included merge modules ? Thanks in Advance. -Lav Kumar Gupta - This SF.ne

[WiX-users] What is the use of an application (.exe) GUID ?

2007-04-18 Thread teckJBMsia
Hi, Following is quoted from WIX Tutorial. I wish to know what is the purpose of that Guid. Besides that, can WIX search for that GUID before installing a program to make sure that program has not been installed previously ? ( Note : in my case, the product GUID can be same but n

Re: [WiX-users] HKCU registry settings

2007-04-18 Thread Tony Hoyle
Damitha Bogahawatta wrote: > > Hi, > > I am trying to set a registry key in HKCU area and have that registry key > applied to > all users on the PC and new accounts created on the PC. I have created a > component with > the registry key and set the KeyPath='yes', but it only applies to the