Re: [WiX-users] Error 2343 - Specified path is empty

2006-10-18 Thread Peter Bocej
My INSTALLDIR property is defined: When the InstallDirDlg starts, INSTALLDIR property has value "C:\Program Files\BaseUI\" I don`t know how I could set initial value of

[WiX-users] VS2005 integration.

2006-10-18 Thread Jarl Friis
Hi. I would like install an XSD file in the VS2005 schema dir. I looked at how the WiX project found the directory and copied a file accoridngly (long live open source). However I expect this part to be in a feature that is installed only if VS2005 is installed on the target computer. How do I d

Re: [WiX-users] FW: Setting Permissions

2006-10-18 Thread Jonas Jonsson L (AL/EAB)
Title: Setting Permissions Welcome to the wonderful world of the 'Permissions' element. I think that You must put it since we're talking about a directory. Other settings apply for files or registry-keys.   /Jonas From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of D

[WiX-users] Install with prevous versions

2006-10-18 Thread Anton Filippov
Hello I write installer in WiX for product. This is new installer and this product already have old versions, wrote in other installer (NSIS). I search for older versions like this: UnsinstallString contains file path for uninstall.exe for older versions, like "C:\program Files\Solver3

Re: [WiX-users] Install with prevous versions

2006-10-18 Thread Arnette, Bill
I don't think there are any path manipulation capabilities in MSI, so you'll have to write a CA that sets INSTALLDIR from OLDINSTALL3 or OLDINSTALL4. You can set a property in a CA if it is an immediate (not deferred) CA using MsiSetProperty. Set the CA's @Execute attribute to 'oncePerProcess'

Re: [WiX-users] Random Wix Questions

2006-10-18 Thread Brandon Heidepriem
Can someone help?   Related Question to the UpgradeVersion: How can I pass a conditional value to a property in a merge module? I want to be able to tell that property not to install if we are upgrading.   ?'/>   Is it something like this? Value = ‘

Re: [WiX-users] Error 2343 - Specified path is empty

2006-10-18 Thread Bob Arnson
Peter Bocej wrote: > When the InstallDirDlg starts, INSTALLDIR property has value "C:\Program > Files\BaseUI\" > I don`t know how I could set initial value of the PathEdit control. > You can tie a PathEdit to a directory property, just don't use Indirect="yes" unless it's an indirect property.

Re: [WiX-users] VS2005 integration.

2006-10-18 Thread Bob Arnson
Jarl Friis wrote: > However I expect this part to be in a feature that is installed only > if VS2005 is installed on the target computer. How do I do that? > Take a look at the WiX3.msi source. The VS extension includes detection properties you can use to disable features if VS isn't installed

Re: [WiX-users] Random Wix Questions

2006-10-18 Thread Tina Basinger
Thanks Bob, that makes sense and is what I suspected.  As far as using the REINSTALL property, won't that property also be set at times other than a minor upgrade (like a repair)?  How does one differentiate between those scenarios?  Thanks! -Tina - Original Message -From: "Bob Arnson" <[E

Re: [WiX-users] Calling a dll function from another causing problem

2006-10-18 Thread Bob Arnson
Please keep wix-users on the thread. Rai Wasif wrote: thanx for ur suggestion. but i still have problem i.e. after installfile i call my function but it return with value 1627 i.e. function failed during installation. if i didn't use any dependend dll function then it work fine. secon

Re: [WiX-users] Error 0x80070057 during COMPlusInstallExecute

2006-10-18 Thread Neil Sleightholm
I don't know the answer but have you seen this: http://www.tramontana.co.hu/wix/lesson5.php#5.12. I have written a few test installs for COM+ and they all seem to work ok (I actually wrote this bit of the tutorial). I don't think you need to register the component first before adding it COM+

[WiX-users] Custom Action not being called

2006-10-18 Thread Jeff Jones
I am trying to run a custom action.  Right now that custom action just returns ERROR_SUCCESS but every invocation fails without even loading the dll. Here is the log:   Action start 10:58:35: InstallCert. MSI (s) (C4:14) [10:58:35:078]: Creating MSIHANDLE (1) of type 790542 for thread 2836

[WiX-users] uninstall: removing elements added by

2006-10-18 Thread Stephen Turton
Hi, I want to add some config handlers to machine.config during setup so I’m using . This works fine when I install: the expected elements are added to machine.config. However, I want these elements to be removed when I uninstall and I can’t figure out how to do this. My component looks

[WiX-users] Fragments, Cabinets, and Light, Oh My!

2006-10-18 Thread Peterson, Joel
Hi all.   I’m using WiX 3.0.2211.0. My installer is pretty basic, but I have a driver set provided by a partner that I want to have in its own .WXS, since creating modular installers is a good thing to do. I’ve attached both .WXS files (redacted and simplified); Product.wxs is the main an

Re: [WiX-users] Fragments, Cabinets, and Light, Oh My!

2006-10-18 Thread Simon Dahlbacka
seems missing/SimonOn 10/18/06, Peterson, Joel <[EMAIL PROTECTED] > wrote: Hi all.   I'm using WiX 3.0.2211.0. My installer is pretty basic, but I have a driver set provided by a partner that I want to have in its own .WXS, since creating modular installers is a good thing to do. I'v

Re: [WiX-users] Error 0x80070057 during COMPlusInstallExecute

2006-10-18 Thread John Watson
Thanks Neil.   I have been through the lessons. Unfortunately they're a bit light. However, after posting I reviewed and managed to figure out part of the issue. Notice below the "RegisterComPlusAssemblies: DLL: " line is missing anything. I found a snippet somewhare that clued me to the Dll

Re: [WiX-users] VS2005 integration.

2006-10-18 Thread Jarl Friis
Bob Arnson <[EMAIL PROTECTED]> writes: > Jarl Friis wrote: >> However I expect this part to be in a feature that is installed only >> if VS2005 is installed on the target computer. How do I do that? >> > > Take a look at the WiX3.msi source. The VS extension includes > detection properties you can

[WiX-users] Passing parameters to function via custom action

2006-10-18 Thread Kaushik Barat
Hi All,   Is there a way to pass parameters to function of a library using custom action? Using the CustomAction I am able to invoke the dll, how do I pass parameters as well?   Thanks, Kaushik - Using Tomcat but need to do m

[WiX-users] in gives problems.

2006-10-18 Thread Jarl Friis
I have a This results in Error LGHT0204: ICE18: KeyPath for Component: 'Comp2' is Directory: 'MyDir'. The Directory/Component pair must be listed in the CreateFolders table. According to the documentation, the above should be the way to select copying a file, by installi

[WiX-users] CustomAction not being called

2006-10-18 Thread Jeff Jones (HS)
I am trying to run a custom action.  Right now that custom action just returns ERROR_SUCCESS but every invocation fails without even loading the dll. Here is the log:   Action start 10:58:35: InstallCert. MSI (s) (C4:14) [10:58:35:078]: Creating MSIHANDLE (1) of type 790542 for thread 2836 MSI

Re: [WiX-users] Fragments, Cabinets, and Light, Oh My!

2006-10-18 Thread Peterson, Joel
Doh!   Yeah, you’re right. I totally forgot about that. I was working on and got sidetracked. One thing I don’t understand is why isn’t a parent node for . It’d be nice to have exist inside of or so you wouldn’t have to setup a with each afterwards.   Oh well. Thanks for your he

Re: [WiX-users] Install with prevous versions

2006-10-18 Thread Wilson, Phil
Some thoughts: Those non-MSI uninstallers often have a quiet switch, so if there's no need to show the uninstall UI append that to the uninstall string. I know the InstallShield one does, I'd expect the Wise equivalent to have the same. I don't think it's a good idea to have the uninstall custom

Re: [WiX-users] Install with prevous versions

2006-10-18 Thread Arnette, Bill
So your recommendation is to run the uninstaller as a deferred CA or just in the InstallExecuteSequence? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Wilson, Phil > Sent: Wednesday, October 18, 2006 4:41 PM > To: wix-users@lists.sourceforge.n

Re: [WiX-users] CustomAction not being called

2006-10-18 Thread Arnette, Bill
Make sure that is the entry point of the DLL. An exported __stdcall function is actually decorated to be [EMAIL PROTECTED] so try setting DllEntry to [EMAIL PROTECTED] If that works, you can alias the export with the with /EXPORT:[EMAIL PROTECTED] option on the linker command line. Use: dumpbin

[WiX-users] breast

2006-10-18 Thread Erasmus Lowe
you have become a great asset to absolutearts. You can visit the galley in the middle of nowhere or on this web page. Our members are in control of their contacts, exposure, sales and commissions. All art work and information in your virtual gallery is uploaded and controlled by you, via our e

Re: [WiX-users] Fragments, Cabinets, and Light, Oh My!

2006-10-18 Thread Peterson, Joel
Or even better, Heat should have a switch to throw each directory’s contents into its own . That would be very cool.   Joel Peterson Quality Assurance Engineer [EMAIL PROTECTED]   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peterson, Joel Sen

Re: [WiX-users] Install with prevous versions

2006-10-18 Thread Wilson, Phil
Yes. 1) The general rule is don't change the system in the UI sequence. Example: I'm thinking the user could go through the UI sequence during which the older product is uininstalled, and then choose your Cancel button instead of Install and the older product is now gone. 2) In MSI 4.0/UAC, the

Re: [WiX-users] CustomAction not being called

2006-10-18 Thread Jeff Jones (HS)
That doesn't seem to be the issue. 'dumpbin /EXPORTS WildcaddySetup.dll' shows: Microsoft (R) COFF/PE Dumper Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file WildcaddySetup.dll File Type: DLL Section contains the following exports for WildcaddySe

Re: [WiX-users] VS2005 integration.

2006-10-18 Thread Bob Arnson
Jarl Friis wrote: > Thanks, it seems like it is all caused by a property will evaluate to > false if it is set by that cannot find the Registry > path. > Yes, that's it exactly. -- sig://boB http://bobs.org - Using To

Re: [WiX-users] Install with prevous versions

2006-10-18 Thread Bob Arnson
Wilson, Phil wrote: > 2) In MSI 4.0/UAC, the recommendation is that actions requiring > privilege (as your uninstall of the older product probably is) should be > no impersonate/deferred in the execute sequence. > More like "must." Only deferred, no-impersonate CAs will get admin privs when

Re: [WiX-users] Fragments, Cabinets, and Light, Oh My!

2006-10-18 Thread Bob Arnson
Peterson, Joel wrote: Yeah, you’re right. I totally forgot about that. I was working on and got sidetracked. One thing I don’t understand is why isn’t a parent node for . It’d be nice to have exist inside of or so you wouldn’t have to setup a with each afterwards. Pl

Re: [WiX-users] Passing parameters to function via custom action

2006-10-18 Thread Bob Arnson
Kaushik Barat wrote: Is there a way to pass parameters to function of a library using custom action? CAs don't take arguments. Instead, you need to set properties to the arguments you want to pass, then have the CA retrieve the property values. -- sig://boB http://bobs.org

Re: [WiX-users] in gives problems.

2006-10-18 Thread Bob Arnson
Jarl Friis wrote: > This results in > Error LGHT0204: ICE18: KeyPath for Component: 'Comp2' is Directory: > 'MyDir'. The Directory/Component pair must be listed in the > CreateFolders table. > > According to the documentation, the above should be the way to select > copying a file, by installing/u

Re: [WiX-users] CustomAction not being called

2006-10-18 Thread Bob Arnson
Jeff Jones (HS) wrote: > That doesn't seem to be the issue. 'dumpbin /EXPORTS WildcaddySetup.dll' > shows: > Take a look at 'dumpbin /imports' -- the most common cause of CAs failing to load is a missing dependency. CAs in the Binary tables are extracted to a temporary directory so they don

Re: [WiX-users] uninstall: removing elements added by

2006-10-18 Thread Bob Arnson
Stephen Turton wrote: Hi, I want to add some config handlers to machine.config during setup so I’m using . This works fine when I install: the expected elements are added to machine.config. However, I want these elements to be removed when I uninstall and I can’t figure out

Re: [WiX-users] Random Wix Questions

2006-10-18 Thread Bob Arnson
Tina Basinger wrote: > > As far as using the REINSTALL property, won't that property also be > set at times other than a minor upgrade (like a repair)? How does one > differentiate between those scenarios? > Well, minor upgrades are implemented as a re-install/re-cache, so I don't know if the

Re: [WiX-users] Fragments, Cabinets, and Light, Oh My!

2006-10-18 Thread david adams
Joel: You are missing the for the that will install the file. In your case, you would create two folders, but your file would never get installed. David Adams MSN MessengerID: [EMAIL PROTECTED] From: "Peterson, Joel" <[EMAIL PROTECTED]> To: Subject: [WiX-users] Fragments, Cabinets,

Re: [WiX-users] in gives problems.

2006-10-18 Thread david adams
Jarl: Try using the CopyFile in this way: I believe that CopyFile as a child to a Component element is for a file that already exists on the machine. In your case, you look to be installing the file and copying it in your MSI. David Adams MSN MessengerID: [EMAIL PROTECTED]

Re: [WiX-users] CustomAction not being called

2006-10-18 Thread Jeff Jones (HS)
That's exactly the problem. I was accidentally compiling with debug CRTs which were in the PATH when I ran my test exe but were not when MSI was being run. The operation I am doing should be run as the person that is doing the installation. How do I avoid the impersonation? Thanks for the hel

Re: [WiX-users] CustomAction not being called

2006-10-18 Thread Bob Arnson
Jeff Jones (HS) wrote: > The operation I am doing should be run as the person that is doing the > installation. How do I avoid the impersonation? > The default is to impersonate the user, so you only need Impersonate="no" when you want the CA to run as LocalSystem. -- sig://boB http://bobs.

Re: [WiX-users] uninstall: removing elements added by

2006-10-18 Thread Crouch, John
Stephen, There were some challenges to over come with xmlfile about amonth ago – I forget the bug trackinh numbers but I too had many problems uninstalling xml for web, exe and machine.config files.  I gave up and used a customaction vbs – to my eternal shame.   br John Crouch Softwar

Re: [WiX-users] in gives problems.

2006-10-18 Thread Jarl Friis
Hi David. "david adams" <[EMAIL PROTECTED]> writes: > Jarl: > > Try using the CopyFile in this way: > > > > > > > > I believe that CopyFile as a child to a Component element is for a > file that already exists on the machine. No, actually the problem cuts down to this: A produc

Re: [WiX-users] Error 2343 - Specified path is empty

2006-10-18 Thread Peter Bocej
control. > You can tie a PathEdit to a directory property, just don't use Indirect="yes" unless it's an indirect property. -- sig://boB http://bobs.org __ Informacia od NOD32 1.1810 (20061018) __ Tat

Re: [WiX-users] uninstall: removing elements added by

2006-10-18 Thread Stephen Turton
Thanks John, I’m looking into doing something similar.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Crouch, John Sent: Wednesday, October 18, 2006 10:32 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] uninstall: removing elements added by   S

Re: [WiX-users] in gives problems.

2006-10-18 Thread Jarl Friis
Bob Arnson <[EMAIL PROTECTED]> writes: > Jarl Friis wrote: >> This results in Error LGHT0204: ICE18: KeyPath for Component: >> 'Comp2' is Directory: >> 'MyDir'. The Directory/Component pair must be listed in the >> CreateFolders table. >> >> According to the documentation, the above should be the