[WiX-users] Help needed on suppressing unwanted message

2009-07-15 Thread libin
Hi all, I am using WIX for installing a windows application created using GTK#. We are using mono to run the application. In the installer package we are shipping both GTK# and mono. The installer is working perfectly when both mono and GTK# is not installed in the system. The issue is when mono

Re: [WiX-users] Python for the custom action

2009-07-15 Thread Konstantin Vlasenko
With the scripting approach you can make the customization, bug fixing on the customer side. You can use the ORCA and change the script on the fly. You don't have the such ability with the compiled dlls approach. You have to go back to your development environment, make changes and then you * prob

Re: [WiX-users] Python for the custom action

2009-07-15 Thread Yan Sklyarenko
>> ... using a compliled dll for a custom action is a bad smell Why do you think so? Just wondering. -- Yan -Original Message- From: Konstantin Vlasenko [mailto:konstantin.vlase...@gmail.com] Sent: Thursday, July 16, 2009 9:15 AM To: General discussion for Windows Installer XML toolset.

[WiX-users] (no subject)

2009-07-15 Thread rh_maillist
My product wxs starts as this: http://schemas.microsoft.com/wix/2006/wi";> This fails to compile with the following errors: Error 1 The Product/@Version attribute's value, '!(wix.TheVersion)', is not a valid version. Legal version values should

Re: [WiX-users] Python for the custom action

2009-07-15 Thread Konstantin Vlasenko
Yes. I think it is good to use IronPython in the Windows world :) The main point in my idea is to use only scripting language for setup developer. I believe that using a compliled dll for a custom action is a bad smell. We need to implement a wix extension (e.g. based on IronPython) to support scri

[WiX-users] how to localize Error messages

2009-07-15 Thread Lian Jiang
Hi, I reused WIX dialogs in my project. To localize the strings, I copied all the string from WIX to my own wxl file. After localization, I found the error strings are localized correctly. However, the msi still display English string for rebooting dialog. I tried to remove Error1703 string fr

Re: [WiX-users] Setup upgrade needs to care for 4th part of versionnumber

2009-07-15 Thread Wilson, Phil
I guess the issue here is the expectation that the MSI property called ProductVersion should behave the same was as an individual version in a file resource? Even though they're used for different purposes? I feel a Raymond Chen moment coming on. MIDL version is just 2 digits (and therefor

Re: [WiX-users] How to register file type with wix 3 RTM?

2009-07-15 Thread Quinton Tormanen
Sorry. That goes over my head! Hopefully someone else can help you on this. --Quinton -Original Message- From: Ryan Dai [mailto:ryan...@hotmail.com] Sent: Thursday, July 09, 2009 8:22 PM To: Wix Subject: Re: [WiX-users] How to register file type with wix 3 RTM? Hi Quinton, Actually

Re: [WiX-users] Setup upgrade needs to care for 4th part of versionnumber

2009-07-15 Thread Blair
It's worse than that: The FileVersion (and ProductVersion) values in the Win32 Version resource type (the 4-part one you refer to) allows 16-bit unsigned values in each of the four parts. The Windows Installer version allows 8-bit unsigned values in the first two parts and 16-bit unsigned values i

Re: [WiX-users] Python for the custom action

2009-07-15 Thread Brian Rogers
Hey Konstantin, You could develop a managed custom action and use IronPython if that works for you. It would be good for the community to hear how your development efforts went. Thanks, Brian Rogers "Intelligence removes complexity." - Me http://blogs.msdn.com/icumove <-- NEW On Wed, Jul 15, 2

[WiX-users] Python for the custom action

2009-07-15 Thread Konstantin Vlasenko
It is a good idea to have an ability to write custom action on Python same as for VBScript or JScript. I understand that the Windows Installer not going support this (maybe IronPython?). But may we can to make an Wix extension? What do you think? Does it make sence?

[WiX-users] I'd call this an error, not a warning

2009-07-15 Thread Mark Roden
Hi all, Attempting to bootstrap in the .NET 3.5 sp1 installer yields the following warning: C:\Documents and Settings\hudson\.hudson\jobs\PhotonMainCI\workspace\photon\main\PhotonSetupWiX\PhotonSetupWiX.wixproj : warning MSB3155: Item 'Microsoft.Net.Framework.3.5.SP1' could not be located in 'C:\

Re: [WiX-users] Can I control the UI when uninstall

2009-07-15 Thread Wilson, Phil
Assuming you mean uninstall still, a custom action that calls MsiProcessMessage with INSTALLMESSAGE_COMMONDATA as documented here will do that: http://msdn.microsoft.com/en-us/library/aa370354(VS.85).aspx Do it as early as you can in the InstallExecute sequence. When I've done this it's not a g

Re: [WiX-users] WixVariables and GUIDs

2009-07-15 Thread Brian Rogers
Hey Russell, I am not 100% sure but I believe the WiX team works some magic on GUIDs before the bind/link time. That might be why you are seeing this behavior. Thanks, Brian Rogers "Intelligence removes complexity." - Me http://blogs.msdn.com/icumove <-- NEW On Wed, Jul 15, 2009 at 9:37 AM, w

Re: [WiX-users] WixVariables and GUIDs

2009-07-15 Thread rh_maillist
Thanks Brian, this does work (I thought I'd tried this and it didn't before!) Odd that if I define the GUID as a pre-processor variable it doesn't require {}'s and if you enter the GUID manually Wix says it doesn't need them. But it works so great. Thanks Russell On Wednesday, 15 July, 2009,

Re: [WiX-users] WixVariables and GUIDs

2009-07-15 Thread Brian Rogers
Hey Russell, Have you tried putting brackets around the GUID? http://msdn.microsoft.com/en-us/library/aa368767(VS.85).aspx Thanks, Brian Rogers "Intelligence removes complexity." - Me http://blogs.msdn.com/icumove <-- NEW On Wed, Jul 15, 2009 at 6:31 AM, wrote: > I'm trying to put a GUID in

Re: [WiX-users] Wix UI images and paths

2009-07-15 Thread rh_maillist
OK, I've found the problem. A library is just re-formatted XML just embeds the WixVariable value as its written in the wxs file. So a solution to this is to change the WixVariable lines to by: Which then embeds a full path to the file assuming it is in the current folder. This works fi

Re: [WiX-users] single msi-file seems to need 1033.mst transform file

2009-07-15 Thread gulfam murad
Using Package Languages to define the supported languages and embedded each supported language into the master msi is working fine for me. Here is what i have done: For example, i have Package Languages set to 1031,1033. Suppose I will use 1033 as my Master msi. for 1033, I have the following sett

[WiX-users] WixVariables and GUIDs

2009-07-15 Thread rh_maillist
I'm trying to put a GUID in to a wix variable but can't seem to make it work. I've successfully put the same GUID in to a pre-processor define and it works correctly. Is this a bug in Wix 3 or am I trying to use wix variables incorrectly. I've declared the define like this: And was accessi

Re: [WiX-users] WixLibrary project WixUI declarations

2009-07-15 Thread rh_maillist
The multiple fragments in a single library does make sense. Thanks for your help on this. Cheers Russell On Wednesday, 15 July, 2009, at 03:09PM, "Peter Shirtcliffe" wrote: >I see what you mean, especially if youre used to C# references in VS. >The oddness allows you to have multiple fragme

Re: [WiX-users] WixLibrary project WixUI declarations

2009-07-15 Thread Peter Shirtcliffe
I see what you mean, especially if youre used to C# references in VS. The oddness allows you to have multiple fragments in a wixlib and you might not necessarily want to pull in all the fragments into your project. It reduces bloat and avoids the need for lots of little wixlibs. -Original Mes

Re: [WiX-users] WixLibrary project WixUI declarations

2009-07-15 Thread rh_maillist
Thanks Peter. I am using Wix through its Visual Studio integration. I'd added the library as a reference to the main setup project. I've now added an explicit property to the library which can be referenced: Which is referenced from the main project and this now works. But it seems a b

Re: [WiX-users] GAC source assemblies

2009-07-15 Thread David Watson
Hi, While technically you could do this, it is not advisable. You may not be legally allowed to redistribute 3rd party software in this way. If you are installing these components into the GAC there is the danger of you clashing with some other application that also utilizes these component

Re: [WiX-users] WixLibrary project WixUI declarations

2009-07-15 Thread Peter Shirtcliffe
Did you reference your library both by including it on the light command line and by referencing the fragment in your wix source code ? Like a C function library, you have to reference something in the library for it to be included. In this case, you could use something like . When you reference

[WiX-users] Wix UI images and paths

2009-07-15 Thread rh_maillist
I have the following code for the UI in my setup projects: This code is actually in an include file that is shared by multiple wix projects. So Banner.jpg and Dialog.jpg don't live in each project folder, they're in a common location. So I've added relative include and reference path

[WiX-users] WixLibrary project WixUI declarations

2009-07-15 Thread rh_maillist
I'm new to wix and have a couple of wix projects in our solution. I'm now trying to put the UI setup in to a common WixLibrary that our other setup programs can link to. I'm using Wix 3.0. I've created a library project with the following code: http://schemas.microsoft.com/wix/2006/wi";>

Re: [WiX-users] 64bit package compiling

2009-07-15 Thread Michael Clark
I just completed createing a x86/x64 installer using the information I found here http://blogs.msdn.com/astebner/archive/2007/08/09/4317654.aspx Good luck -Michael -Original Message- From: Igor Lemsky [mailto:igor.lem...@gmail.com] Sent: Wednesday, July 15, 2009 12:36 AM To: General disc

[WiX-users] Create activeX installer with WIX?

2009-07-15 Thread Simple Soft
Hi all, I need create activeX installer, Can I do this only using WIX? -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applicati

[WiX-users] GAC source assemblies

2009-07-15 Thread Coates, Anthony
Hi I'm creating a WIX 3 project in VS2008 which needs to include assemblies that are located in the GAC (3rd party libraries that come with their own installer that puts them in the GAC). Is it possible for WIX to source them from the GAC to include them in the msi it creates? Thanks Antho

Re: [WiX-users] create installer with dll

2009-07-15 Thread A.S
Many thank for You! Now it's working fine! many future... so, this is my first installer build with WIX, I must learn how this stuff work, and how using it. In my opinion WIX is a very good and very big stuff. Konstantin, thank You ! 2009/7/15 Konstantin Vlasenko : > I got it.

Re: [WiX-users] Setup upgrade needs to care for 4th part of versionnumber

2009-07-15 Thread Kim Gybels
Hi, > " We also ran into this problem. It is just stupid that visual studio > projects use 4 part version numbers and MSI only supports 3." > > Visual Studio doesn't. We're talking in the context of major upgrades and > the ProductVersion property. In Visual Studio that's the Version property of

Re: [WiX-users] create installer with dll

2009-07-15 Thread Konstantin Vlasenko
I got it. You have placed each component in its own subfeature. A feature is installed only if the feature level value is less than or equal to the current install level. Your current install level is equal to level of the parent feature (=1). The files not installed are in the features with Level=

Re: [WiX-users] Subscribe Edit to "SelectionChanged" event of ListBox

2009-07-15 Thread Peter Shirtcliffe
Unfortunately the Listbox doesnt seem to publish any events. >From http://msdn.microsoft.com/en-gb/library/aa368559(VS.85).aspx "The ControlEvent Table specifies the control events that are started when a user interacts with a PushButton Control, CheckBox Control, or SelectionTree Control. These

Re: [WiX-users] create installer with dll

2009-07-15 Thread David Watson
Hi, run your MSI with logging enabled. Open a command prompt and cd to the folder where your msi is. MSIEXEC /I msiname.msi /l*v installlog.txt Or enable msi logging on your pc http://support.microsoft.com/kb/223300 This will tell you what is happening. Dave -Original Message---

Re: [WiX-users] Subscribe Edit to "SelectionChanged" event of ListBox

2009-07-15 Thread Natalia
Hello Sebastian, Ok, I see, thank you. Well, does ListBox publish ANY event at all on changing selected item? I can't find any info about it. I will be very grateful if you provide me with a link. Sebastian Brand (Instyler Software) wrote: > > Hello Natalia, > > The SelectionChange event is o

Re: [WiX-users] single msi-file seems to need 1033.mst transform file

2009-07-15 Thread Sebastian Brand (Instyler Software)
We had a similar problem. When using the transform trick, the initial language of the msi package has to be the language of the system (regional settings -> location) or the transforming won't find the right mst file... Solution: set the Package Languages field to "0". Best regards, Sebastian Br

Re: [WiX-users] Subscribe Edit to "SelectionChanged" event of ListBox

2009-07-15 Thread Sebastian Brand (Instyler Software)
Hello Natalia, The SelectionChange event is only published by a DirectoryList, so it won't update your Edit box when the folder selection in the listbox is changed. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -O

Re: [WiX-users] create installer with dll

2009-07-15 Thread A.S
Hi, i see alle dll lib. in Orca ... i will wait for Your reply on my e-mail. Thx 2009/7/15 Konstantin Vlasenko : > Use the Orca tool > http://msdn.microsoft.com/en-us/library/aa370557(VS.85).aspx. > It is the swiss army knife for the setup developers. Also find the > information related to m

[WiX-users] single msi-file seems to need 1033.mst transform file

2009-07-15 Thread Robert Nickel
Hi, I have an installation with product language English (US) which compiles and links into a single msi-file. It runs on most PCs, however, lately I experienced a strange problem on a dutch OS where it seems to require an English transform file. I thought all this information is automatically me