Re: [WiX-users] WiX: special character (c) shows up as "?"

2009-05-20 Thread Olex
Thanks! That was the problem. On Wed, May 20, 2009 at 10:01 PM, Rob Mensching wrote: > Did you pick a code page that supports that character? Personally, I > always recommend using the (c) instead of the actual character. It's > just more straightforward since MSI files are not Unicode. > > Olex

Re: [WiX-users] Accessing wxl file strings from c# custom actions.

2009-05-20 Thread Rob Mensching
Why are you reading the Error table? Just use ::MsiProcessMessage() to send a record with the error number set. Much easier. How do you add rows to the Error table? Personally, I would start with the Error element. Sachin Dubey (Tata Consultancy Services) wrote: > Thanks Rob, > I am able to re

Re: [WiX-users] WiX: special character (c) shows up as "?"

2009-05-20 Thread Rob Mensching
Did you pick a code page that supports that character? Personally, I always recommend using the (c) instead of the actual character. It's just more straightforward since MSI files are not Unicode. Olex wrote: > I'm attempting to set a text control with a copy right note, where I specify > $#169;

Re: [WiX-users] Get progressbar current total ticks from CA?

2009-05-20 Thread Rob Mensching
Never heard of a feature like that. Glenn Sandoval wrote: > I have a custom action written with DTF that increases the total ticks > of my progressbar by a fixed amount. What I would like to do is > increase the total ticks by a percentage, so that the last ~25% of my > progressbar is reserved for

Re: [WiX-users] KEY_READ permission for registry value

2009-05-20 Thread Rob Mensching
I believe that's the way PermissionEx behaves today. I think there is a feature request open to have more attributes on it to have more behaviors. Michael Bednarek wrote: > Okay. I didn't find any obvious article in MSDN, but what I did in the end > was to take an MSI with the behaviour I wanted

Re: [WiX-users] MergeGroup / MergeGroupRef

2009-05-20 Thread Rob Mensching
A FeatureGroup doesn't mean there is a Feature contained. A FeatureGroup contains all of the stuff a Feature can contain. Just define a FeatureGroup with only MergeRef elements in it. zett42 wrote: > Yeah, I could live with it. But it doesn't feel right to create an artificial > feature just for

Re: [WiX-users] Associate file extension

2009-05-20 Thread Bob Arnson
puyo puy wrote: > error LGHT0204 : ICE69: Mismatched compone > nt reference. Entry 'reg025239CBB8E309CA4AF78D766B8DBDE4' of the Registry > table > belongs to component 'ExtensionComponent'. However, the formatted string in > colu > mn 'Value' references file 'notepad2' which belongs to component

Re: [WiX-users] Using INSTALLDIR in MSM That Eventually Reflects the MSIs INSTALLDIR

2009-05-20 Thread Bob Arnson
jnewton wrote: > The problem is that the exe that I am referencing is actually in the MSI > that I am merging into. Basically the MSM just contains a bunch of static > registry entries (i.e. basically just adding the registry keys for the exe's > type library information). If I just [#blah.exe] in

Re: [WiX-users] The "ResolveNonMSBuildProjectOutput" task was not found

2009-05-20 Thread Bob Arnson
David Gardiner wrote: > Although in my case, our solution doesn't have any C++ projects - just C# > Yep, the targets go through the same code path. -- sig://boB http://joyofsetup.com/ -- Register Now for Creativity

Re: [WiX-users] Light CAB Cache regression?

2009-05-20 Thread Bob Arnson
Alastair Smith wrote: > I've been investigating the -cc CAB caching argument to light to speed up > some of our developer builds. I'm wondering if there's been a regression? > Are you using the -reusecab switch? > -b $(MsiFilesDir) -cc > $(MsiFilesDir)\cab-cache > Try BaseInputPaths, Ca

Re: [WiX-users] Error while building Wix setup project using Wix V3 Version 3.0.5217...

2009-05-20 Thread Bob Arnson
Sunil Birari wrote: > Question is, Is this the expected behavior or known issue? > Expected: The rollback attributes are mutually exclusive with execute attributes. -- sig://boB http://joyofsetup.com/ -- Register

Re: [WiX-users] Files in use

2009-05-20 Thread Bob Arnson
Neil Sleightholm wrote: > Does anyone know how to take this up with the Windows Installer team to > see if there any sort of workaround or to at least bring it to their > attention? > AFAIK, the only way is to open a support ticket. -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] MergeGroup / MergeGroupRef

2009-05-20 Thread Bob Arnson
Pally Sandher wrote: > Again what benefits and/or advantages would that have over using a > Feature with Display="hidden" Level="1" Absent="disallow" set? > Why does WiX have any *Group/*GroupRef elements? So the internal structure of your authoring isn't exposed except as necessary. Features

[WiX-users] WiX: special character (c) shows up as "?"

2009-05-20 Thread Olex
I'm attempting to set a text control with a copy right note, where I specify $#169; for (c) symbol. However, in MSI it shows up as "?" symbol instead. Is there a way to debug this? I found out that I can correct MSI using Orca.exe by manually placing (c) symbol, so there must be something failing

[WiX-users] [Wix-users] Re: WiX: special character (c) shows up as "?"

2009-05-20 Thread Olex
Resending with the correct subject. On Wed, May 20, 2009 at 5:26 PM, Olex wrote: > I'm attempting to set a text control with a copy right note, where I > specify $#169; for (c) symbol. > However, in MSI it shows up as "?" symbol instead. > > Is there a way to debug this? > I found out that I can

Re: [WiX-users] Files in use

2009-05-20 Thread Neil Sleightholm
I have pared this down to a very simple service install which I simply install and then uninstall. I can demonstrate that only the first entry in the ServiceControl table is used by the restart manager. Does anyone know how to take this up with the Windows Installer team to see if there any sort o

Re: [WiX-users] Checking registered dlls

2009-05-20 Thread Jono Juggler
Thanks for your reply. I have no intent of replacing anything. The dlls I am checking for are not ones I made. These are third party libraries the user needs to install outside of my program. And I am not facilitating their install. All I want to do is check the version numbers of the libraries th

Re: [WiX-users] WIX + Uninstall existing Version and continue installing..

2009-05-20 Thread Richard
To remove an existing version and replace it with a new version requires an upgrade install. RemoveExistingProducts is the standard action that works in concert with the Upgrade table to remove previous versions of a product. To remove the existing version before installing the current version, s

Re: [WiX-users] WIX + Uninstall existing Version and continue installing..

2009-05-20 Thread Wilson, Phil
Look at the Upgrade element etc, major upgrades, RemoveExistingProducts. Phil Wilson -Original Message- From: Anu Dev [mailto:queryl...@yahoo.com] Sent: Wednesday, May 20, 2009 11:11 AM To: WIX Subject: [WiX-users] WIX + Uninstall existing Version and continue installing.. HI   Is it

[WiX-users] Error while building Wix setup project using Wix V3 Version 3.0.5217...

2009-05-20 Thread Sunil Birari
Hi - I am seeing different behavior with 2 different WIX versions. What I mean is, when I have Wix V3 Version 3.0.5217, I am getting following error in the Database2.wxi file. Error 21 The sql:SqlString/@RollbackOnUninstall attribute cannot be specified when attribute ExecuteOnI

[WiX-users] WIX + Uninstall existing Version and continue installing..

2009-05-20 Thread Anu Dev
HI   Is it possible to uninstall the existing application and continue with the installation of the new version, when the installer is started. The default behavior is : It shows up “Another version of the application is already existing. Please uninstall from Add/Remove programs from Control Pa

Re: [WiX-users] MergeGroup / MergeGroupRef

2009-05-20 Thread Pally Sandher
Again what benefits and/or advantages would that have over using a Feature with Display="hidden" Level="1" Absent="disallow" set? You're looking at a specific type of merge modules in your examples, those of redistributables which the application you're distributing depends on. This does not const

Re: [WiX-users] How to use PathEdit?

2009-05-20 Thread Sonu Kapoor
Does the PathEdit control automatically show the Browse button as well? On Wed, May 20, 2009 at 11:25 AM, Eric St.John wrote: > > You mentioned before that you wanted "variable for later usage", these are > called properties in MSI. See > http://msdn.microsoft.com/en-us/library/aa370889(VS.85).a

Re: [WiX-users] UI FileSearch -> How to have this reevaluate

2009-05-20 Thread achandrapano
How do I add a custom action to a WiX UI Dlg? David Bartmess wrote: > > I'm not 100% sure, but I think you could schedule a custom action that > sets the property to itself, and do a DoAction event on the Next button. > > -Original Message- > From: achandrapano [mailto:achan...@panolog

Re: [WiX-users] MergeGroup / MergeGroupRef

2009-05-20 Thread zett42
Quoting from the Windows Installer documentation: "A feature is a part of the application's total functionality that a user recognizes and may decide to install independently." But the user should usually not be able to optionally install the runtimes, if the programs normal execution depends on

Re: [WiX-users] How to use PathEdit?

2009-05-20 Thread Eric St . John
You mentioned before that you wanted "variable for later usage", these are called properties in MSI. See http://msdn.microsoft.com/en-us/library/aa370889(VS.85).aspx. You'll want to set that to a public property (all capital letters) so that it can be specified on the commandline when the us

Re: [WiX-users] Using INSTALLDIR in MSM That Eventually Reflects the MSIs INSTALLDIR

2009-05-20 Thread Sonu Kapoor
I dont really care how its done - as long as the result is ok. I am still not sure though how the WixLib is supposed to solve my problem :( On Wed, May 20, 2009 at 11:15 AM, Eric St.John wrote: > > See http://wix.sourceforge.net/manual-wix3/votive_project_templates.htm > A wixlib is a wix library

Re: [WiX-users] How to use PathEdit?

2009-05-20 Thread Sonu Kapoor
Thanks for checking. To what should the attribute be set? The page doesnt say it or I dont see it. On Wed, May 20, 2009 at 11:08 AM, Eric St.John wrote: > > See > http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspxyou >

Re: [WiX-users] Using INSTALLDIR in MSM That Eventually Reflects the MSIs INSTALLDIR

2009-05-20 Thread Eric St . John
See http://wix.sourceforge.net/manual-wix3/votive_project_templates.htm A wixlib is a wix library. Consider it wix's form of a staticly linked library. If you don't need to share your MSM externally you could just compile a wixlib of fragments instead, add a reference to the wixlib in all of y

Re: [WiX-users] How to use PathEdit?

2009-05-20 Thread Sonu Kapoor
Thanks for checking. To what should the attribute be set? The page doesnt say it or I dont see it. On Wed, May 20, 2009 at 11:08 AM, Eric St.John wrote: > > See > http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspxyou >

[WiX-users] How to use PathEdit?

2009-05-20 Thread Sonu Kapoor
Hello, I am new to Wix. I downloaded the latest version. I need to create a dialog, which allows the user to select a folder - I would like to store the selected folder in a local variable for later usage. Please note that this is not for the installation folder. I am using this for a different pu

Re: [WiX-users] How to use PathEdit?

2009-05-20 Thread Eric St . John
See http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx you will see that the message states "Control [3] on dialog [2] needs a property linked to it." I suggest setting the contr...@property attribute: http://wix.sourceforge.net/manual-wix3/wix_xsd_control.htm -Eric > Date: Wed, 20

Re: [WiX-users] Using INSTALLDIR in MSM That Eventually Reflects the MSIs INSTALLDIR

2009-05-20 Thread Sonu Kapoor
I dont know what WixLib is. I am googleing... On Wed, May 20, 2009 at 11:00 AM, Eric St.John wrote: > > Have you considered using a WixLib to do this? > > > Date: Tue, 19 May 2009 20:17:30 -0700 > > From: jonathan.new...@ni.com > > To: wix-users@lists.sourceforge.net > > Subject: Re: [WiX-users]

Re: [WiX-users] Using INSTALLDIR in MSM That Eventually Reflects the MSIs INSTALLDIR

2009-05-20 Thread Eric St . John
Have you considered using a WixLib to do this? > Date: Tue, 19 May 2009 20:17:30 -0700 > From: jonathan.new...@ni.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Using INSTALLDIR in MSM That Eventually Reflects the > MSIs INSTALLDIR > > > Hi Bob, > > The problem is that t

Re: [WiX-users] Accessing wxl file strings from c# custom actions.

2009-05-20 Thread Eric St . John
Did you try http://wix.sourceforge.net/manual-wix3/wix_xsd_error.htmYou can also try http://wix.sourceforge.net/manual-wix3/wix_xsd_uitext.htm The error table should only be used to associate text with error strings, UIText table is your general purpose bag-o-strings. -Eric > From: v-sad...@mic

Re: [WiX-users] UI FileSearch -> How to have this reevaluate

2009-05-20 Thread David Bartmess
I'm not 100% sure, but I think you could schedule a custom action that sets the property to itself, and do a DoAction event on the Next button. -Original Message- From: achandrapano [mailto:achan...@panologic.com] Sent: Tuesday, May 19, 2009 5:02 PM To: wix-users@lists.sourceforge.net S

Re: [WiX-users] MergeGroup / MergeGroupRef

2009-05-20 Thread Pally Sandher
Why isn't it intuitive? I use it for the Visual Studio Redistributables & it feels completely fine to me but then I've created Merge modules for partner companies to distribute our software in the past so I've seen it from both sides of the MSM so to speak. A merge module is a collection of compone

Re: [WiX-users] MergeGroup / MergeGroupRef

2009-05-20 Thread zett42
Yeah, I could live with it. But it doesn't feel right to create an artificial feature just for grouping merge modules. It is not intuitive for WiX beginners I think. Rob Mensching-6 wrote: > > Doesn't FeatureGroup/FeatureGroupRef do what you want? It also allows > Features, but that should be

Re: [WiX-users] I want some help on multiple feature implementation.

2009-05-20 Thread Pally Sandher
http://msdn.microsoft.com/en-us/library/aa368585.aspx http://msdn.microsoft.com/en-us/library/aa369536.aspx Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Envi

Re: [WiX-users] KEY_READ permission for registry value

2009-05-20 Thread Michael Bednarek
Okay. I didn't find any obvious article in MSDN, but what I did in the end was to take an MSI with the behaviour I wanted (i.e. in the LockPermissions table) and de-compile it using Dark. That got me the following WiX snippet: If I try this in my WiX code, it works fine - I see that the "Authe

[WiX-users] Associate file extension

2009-05-20 Thread puyo puy
Hi Everyone,   I want to create a feature allow user to associate a file extension to one of my distubuted applicatio but it comes up with the following error message:   error LGHT0204 : ICE69: Mismatched compone nt reference. Entry 'reg025239CBB8E309CA4AF78D766B8DBDE4' of the Registry table belon

[WiX-users] Light CAB Cache regression?

2009-05-20 Thread Alastair Smith
Hi I've been investigating the -cc CAB caching argument to light to speed up some of our developer builds. I'm wondering if there's been a regression? With the CABs cached, if I make a change that involves re-compiling the MSI but doesn't affect the CABs, such as tweaking a registry key compon