[WiX-users] Custom dialog control enable / disable

2007-05-28 Thread Milan Tomeš
Hi all, I'm writing my very first installation script using WiX and I'm having some troubles with that. I have my own setup dialog (which sets some properties of database server) and on that dialog I want to enable / disable controls in order of running environment / user choices. So I have a

Re: [WiX-users] Wix Extension useable for 64 and 32 bit products

2007-05-28 Thread Cosmin Manoliu
Hello Rob, Thank you for the answer. 1. I think I need to mark the MSI package as 64 bit. The reasons are: I am doing COM registration, installation to 64 bit folders. In this case probably I cannot go with 32 bit custom actions. Can you please confirm? The installer process will be a 64 bit

[WiX-users] Set property value according to the return value of a custom action

2007-05-28 Thread Xin Liu (Intl Vendor)
Our installation requires a way to detect whether Visual Studio is currently running. If it is, installation will quit. Since Wix v2 doesn't have a way to detect the running process, what I'm thinking is: 1. Use C# to write a tool named CheckProcess.exe which will return 1 if Visual

Re: [WiX-users] Custom dialog control enable / disable

2007-05-28 Thread Stefan Pavlik
Hi Milan,... Milan Tomeš wrote: Hi all, RadioGroup is linked to property _ServiceInstall which has value VersionNT. I guess that will result in 1 if VersionNT is set and 0 if not right ? If its true so why my code isn't working ? If I set 1 instead if VersionNT in _ServiceInstall

Re: [WiX-users] Set property value according to the return value of a custom action

2007-05-28 Thread Stefan Pavlik
Hi,... You should use CustomAction in DLL and write the Property IS_VS_RUNNING directly from the Custom action. Check the WiX tutorial for details on how to write the DLL: http://www.tramontana.co.hu/wix/lesson3.php#3.3 I would not use the C# for custom action since it would require the .NET

Re: [WiX-users] Set property value according to the return value of a custom action

2007-05-28 Thread Xin Liu (Intl Vendor)
Thanks, Stefan! I think you are right. Thanks, Xin -Original Message- From: Stefan Pavlik [mailto:[EMAIL PROTECTED] Sent: 2007年5月28日 16:42 To: Xin Liu (Intl Vendor) Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Set property value according to the return value of a custom

[WiX-users] MaskedEdit Integer attribute

2007-05-28 Thread Milan Tomeš
Hi all, Can anybody help me how to allow user to enter integer value between 1024 and 65535 into control ? I have MaskedEdit control on my dialog with Integer property set to yes and Text property set to % or %. If I turn off Integer property everything seems to be ok (except comparing

Re: [WiX-users] Custom dialog control enable / disable

2007-05-28 Thread Milan Tomeš
Hi Stefan Thanks a lot but I've already solved my problem. The problem was between chair and keyboard of course :) I've used VersionNT in wrong way - I took result value like 500 or so but I wanted boolean result (if property is set or not) and that was my problem. Now I have 2 custom actions

[WiX-users] upgradable merge modules

2007-05-28 Thread Jerome Haltom
I'm having a hard time trying to understand or find an example on how exactly upgrades of merge modules work. Do I have to program this all myself? Basically I am distributing a third party library, and I want consumers of this library (those who merge it in) to install it only if it doesn't

Re: [WiX-users] WiX and string formatting

2007-05-28 Thread Bob Arnson
[EMAIL PROTECTED] wrote: To clarify Rennie's comment... Yes, you will need a custom action, but not one that you code manually. The already available Type 51 custom action (see the CustomAction element, specifically the Property attribute) should be able to handle what you need if the

Re: [WiX-users] Patch cannot be created.

2007-05-28 Thread Bob Arnson
Ratula Das, HCL-Industry Solutions wrote: Files differ: 'C:\downloads\samplepatch\Fixed\.\PFiles\Acme\Foobar 1.0\FoobarAppl10.exe', 'C:\downloads\samplepatch\Error\.\PFiles\Acme\Foobar 1.0\FoobarAppl10.exe'. Patch API could not create a small patch; using

Re: [WiX-users] Source directory resolution in fragments

2007-05-28 Thread Bob Arnson
Didactylos wrote: Now light looks for file.exe at .\file.exe - and fails, obviously. All the examples I can find show each file given an explicit source path, but this seems unnecessarily ugly to me. How can I make it pick up the source tree from the directory hierarchy again? The

Re: [WiX-users] Query related to Wix

2007-05-28 Thread Bob Arnson
kalyani metuku wrote: We are using Wix in our project to create an installer package. We need to access the public methods(taking custom parameters) of a dll to install the components. We also have public events in our dll. We need to access these methods, events and delegates to to install

Re: [WiX-users] Removing the license dialog

2007-05-28 Thread Bob Arnson
Please keep /wix-users/ on the thread. Reggie Burnett wrote: That's what I wound up doing. Is this a limitation of Windows Installer or of WiX? Both. The MSI UI model relies on the database to be built in a certain way. WiX builds the database as a collection of rows and columns and

Re: [WiX-users] LaunchCondiion - Changing OK button to Close button.

2007-05-28 Thread Bob Arnson
Sankaranarayanan wrote: I want the button text to read Close instead of OK. Which dialog.wxs file needs to be changed for obtaining this bahavior. Launch conditions are processed by the LaunchConditions standard action. It controls the UI and offers no customization. If you want a

Re: [WiX-users] Are ICE45 warnings expectedwith ElevationShield=yes?

2007-05-28 Thread Bob Arnson
Anthony Wieser wrote: First there seem to be quite a few exceptions thrown. Can you enter a bug with these details and a repro case? You should be able to produce an uncompressed MSI with no files that's small enough to attach (and without giving away any softwareg). -- sig://boB

Re: [WiX-users] Publish Event is acting like Publish Property

2007-05-28 Thread Bob Arnson
Don Tasanasanta wrote: I have the following 2 commands inside a next button control: Publish Event=Remove Value=LoggingFeaturePROPERTY1=1 OR PROPERTY2=1/Publish Publish Event=AddLocal Value=LoggingFeaturePROPERTY1=0 AND PROPERTY2=0/Publish But instead of adding and

Re: [WiX-users] upgradable merge modules

2007-05-28 Thread Bob Arnson
Jerome Haltom wrote: I'm having a hard time trying to understand or find an example on how exactly upgrades of merge modules work. That's because they don't.g Upgrades are the domain of products, not merge modules. Basically I am distributing a third party library, and I want consumers of