Re: [WiX-users] Reinstalling a Feature on Change option.

2009-04-08 Thread Natalia Gladkova
I had similar issue some time ago. I also used "http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg23903.html"; as guidance, but in my case setting REINSTALL property caused troubles - the registry values never got removed on uninstall, and I couldn't completely uninstall the product -

[WiX-users] Reinstalling a Feature on Change option.

2009-04-08 Thread Sachin Dubey (Tata Consultancy Services)
Hi All, This problem has made me stuck with no way out. I have created MSI using Wix 3.0. have one component that creates the registry key on install and writes a value. The value is being set from UI. I want to enable the "Change" option that should Reinstall the component that creates the regi

Re: [WiX-users] is it a bug that iis:WebSite doesn't locate presence of existing website using just the Name -> Description attribute value versus port settings?

2009-04-08 Thread Thomas S. Trias
I was pretty surprised to see the lstrcmpW there myself; however, it is entirely possible to have two sites where the MD_SERVER_COMMENT values differ only by case (or are even the same; hopefully the IIS Manager is keying sites by SiteId / metabase path and not by description). Providing more

Re: [WiX-users] is it a bug that iis:WebSite doesn't locate presence of existing website using just the Name -> Description attribute value versus port settings?

2009-04-08 Thread Robert O'Brien
Thanks for the additional clarification. This is pretty much exactly what we want and need. The case sensitive Description attribute search would preferably be case insensitive but this we can live with or file a bug or feature request against to have changed to be case insensitive To playback

Re: [WiX-users] is it a bug that iis:WebSite doesn't locate presence of existing website using just the Name attribute value versus port settings?

2009-04-08 Thread Thomas S. Trias
You are correct; "Default Web Site" is handled specially, and if you always want Site Id 0, that is what you should use. However, the effect of SiteId="*" is not exactly as advertised in the documentation. candle and light generate a -1 in the Id field of the IIsWebSite record within the MSI if

Re: [WiX-users] WriteMetabaseChanges: Error 0x80070057: failed to create web application: /Root/MyWebSite

2009-04-08 Thread Thomas S. Trias
Not that it necessarily helps, but 0x80070057 is Windows error 87: "The parameter is incorrect". I don't see anything obviously wrong with the WXS, but it is getting late... Thanks, Thomas S. Trias Senior Developer Artizan Internet Services http://www.artizan.com/ Original Message

Re: [WiX-users] WriteMetabaseChanges: Error 0x80070057: failed to create web application: /Root/MyWebSite

2009-04-08 Thread Mike Carlson (DEV DIV)
1) Try the latest weekly build (currently 3.0.5207.0) of WiX to see if it fixes your problem. A *lot* has been fixed in the IIS custom actions since the particular build you're using. 2) If it still reproduces with the latest weekly build, enable verbose logging by policy (search around for the

Re: [WiX-users] is it a bug that iis:WebSite doesn't locate presence of existing website using just the Name attribute value versus port settings?

2009-04-08 Thread Kiran Challa
Thanks Thomas...SiteId="*" worked for us. This worked in version 3.4813... FYI... We were using v3.4805 before and when we tried to use SiteId="*" we got the following errors... ConfigureIIs: Error 0x80070057: failed to parse record field: 3 as number: * ConfigureIIs: Error 0x80070057: Faile

Re: [WiX-users] is it a bug that iis:WebSite doesn't locate presence of existing website using just the Name attribute value versus port settings?

2009-04-08 Thread Robert O'Brien
+ in case of a properties.wix declaration of a "Default Web Site" so that we have a way to do things against that well known iis7x site if/when we need to I'm guessing that we must use SiteId="0" in that case, vs SiteId="*", so that we always find use the site with name "Default Web Site" known

[WiX-users] WriteMetabaseChanges: Error 0x80070057: failed to create web application: /Root/MyWebSite

2009-04-08 Thread paul . bernard
Using: WiX: 3.0.4805.0 Can't seem to get past the following error: WriteMetabaseChanges: Error 0x80070057: failed to create web application: /Root/MyWebSite any help welcome... MSI (s) (

Re: [WiX-users] is it a bug that iis:WebSite doesn't locate presence of existing website using just the Name attribute value versus port settings?

2009-04-08 Thread Robert O'Brien
Thanks this helps. Currently Kiran is testing this out to see if it provides the iis:WebSite behavior outlined below that we are looking for. Is there an current lkg build newer than the public wix 3 beta1 release 4805 that folks can switch to in order to ensure they have all the latest and

Re: [WiX-users] DTF build issue

2009-04-08 Thread Jason Ginchereau
When you say "dies in the middle of the custom action", do you know your CA was successfully launched and began executing? Make sure your build includes the MakeSfxCA post-build step which packages up your managed CA assembly with its dependencies and an unmanaged launcher. Without that if you

Re: [WiX-users] Current executing action

2009-04-08 Thread Thomas S. Trias
Matt, You could always add the custom action id to the CustomActionData; that may be as simple as using a set property (type 51) custom action. If you are setting up the CustomActionData for a deferred custom action via an immediate custom action, then you should already know the target custo

Re: [WiX-users] Dynamically Populate ComboBox.

2009-04-08 Thread mhdzaki
Hi, I will really appreciate if you share your code sample with me. I am also trying to do similar process at the time of installation I like select different site and then different path to create a new Virtual Root. Thanks! Hey, I was able to figure out populating the Websites in ComboBox.

[WiX-users] Current executing action

2009-04-08 Thread Matt Ziegler
Is there a method for getting the currently executing custom action name from within a custom action? So if custom actions ca1 and ca2 call a dll function func1, I want to be able to determine from within func1 if it was called by ca1 or ca2. Thoughts? Matt -

Re: [WiX-users] is it a bug that iis:WebSite doesn't locate presence of existing website using just the Name attribute value versus port settings?

2009-04-08 Thread Thomas S. Trias
Robert, Add SiteId="*" as an attribute to iis:WebSite. SiteId String Optional attribute to directly specify the site id of the WebSite. Use this to ensure all web sites in a web garden get the same site id. If a number is provided, the site id must be unique on all target machines. If "*" i

Re: [WiX-users] Unable to update Text in Edit Control

2009-04-08 Thread Michael
Thanks Pally Sandher, If I use Indirect="yes", I'm getting 2343 error message i.e., Invalid directory path. By default I assign my property DIR = "C:\". If I use PathEdit instead of Edit, in the last '\' symbol presenting. But, I will show a file in the edit control. Regards, -SMR Pally Sa

[WiX-users] Reboot based on application exit code?

2009-04-08 Thread Taras Ko
Hi everybody! I spent few hours to find anything but didn't succeed. I have .NET application installing/uninstalling driver. This application can return result meaning the system should be (or should not be) restarted. I want to use this exit code (a file? registry entry?) to schedule reboot. H

[WiX-users] x-project references in votive?

2009-04-08 Thread Stryder Crown
Is there any way to reference a component defined in another project using Votive and Visual Studio 2008? [votive project 1] - wix_fragment.wxs - [votive project 2] - wix_product.wxs ... Does that make sense? I

Re: [WiX-users] is setting sql:Database ConfirmOverwrite="no" expected cause the db not being created if it already exists?

2009-04-08 Thread Robert O'Brien
Umm so in an msiexec /qb processing case this attribute becomes an assume user said no to overwrite? That's what we are experiencing which fortunately for us is the exact behavior we want from this attribute or one like it, i.e. in unattended mode if db is found to already exists don't recreat

Re: [WiX-users] Votive not working in build 3.0.5207

2009-04-08 Thread Jason Ginchereau
100% -- If nothing else, I'll back out the change that caused this regression. -Original Message- From: Christopher Painter [mailto:chr...@deploymentengineering.com] Sent: Wednesday, April 08, 2009 8:24 AM To: General discussion for Windows Installer XML toolset.; Jason Ginchereau Subject

Re: [WiX-users] Start Menu Shortcut Problem

2009-04-08 Thread Pally Sandher
The WiX.chm file has a section in the How To Guides on Shortcuts. It explains all this in detail. 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 Environmental

Re: [WiX-users] Start Menu Shortcut Problem

2009-04-08 Thread Stryder Crown
I'm still new to wix myself, so maybe this isn't the 'right' answer, (and hopefully someone can correct me) but isn't the shortcut element supposed to be a child to the element it's intended for? Like that? I had a similar problem, and I think that's how I fixed it. Can't remember f

Re: [WiX-users] Unable to update Text in Edit Control

2009-04-08 Thread Pally Sandher
Looking at the InstallDirDlg.wxs available in the WiX 3.0 sources (http://sourceforge.net/project/showfiles.php?group_id=105970&package_id =16) you may want to set Indirect="yes" on your Edit Control and change it from an Edit to a PathEdit. Palbinder Sandher Software Deployment & IT Admini

Re: [WiX-users] Editing XML node through WIX UI

2009-04-08 Thread Pally Sandher
Try using a public property for the Edit control -> http://msdn.microsoft.com/en-us/library/aa370912(VS.85).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

Re: [WiX-users] Quiet Execution of built-in Custom Actions

2009-04-08 Thread Pally Sandher
WriteRegistryValues isn't a Custom Action http://msdn.microsoft.com/en-us/library/aa372891(VS.85).aspx The answer in that case would be no, if indeed WriteRegistryValues does open command prompts (which I'd be very surprised if it does). Palbinder Sandher Software Deployment & IT Administrator

Re: [WiX-users] Heat issues

2009-04-08 Thread Brian Rogers
Hey Dominik, Please file two separate bugs for these and we will take a look at them. Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On Wed, Apr 8, 2009 at 6:45 AM, Dominik Guder wrote: > > Hi folks, > > I'm currently using heat again and I like t

[WiX-users] Quiet Execution of built-in Custom Actions

2009-04-08 Thread Vuchuru, Surekha (SBT US EXT)
Hello All, I have a CA that executes a batch file silently using CAQuietExec. I managed to get rid of many such flashing windows that occur due to the execution of batch files during installation process. But, there are few built-in CustomActions like WriteRegistryValues that opens few batch / co

Re: [WiX-users] Start Menu Shortcut Problem

2009-04-08 Thread Madden, William
I just went through this myself use AllUsersProgramMenuFolder as the parent this is "perMachine" where ProgramMenuFolder is "perUser". I did have to create a RemoveFolder entry for my subfolder and set On="Uninstall" William Madden T: 480.368.3736 (x7679) -Original Message- From: Lant

[WiX-users] Editing XML node through WIX UI

2009-04-08 Thread Niaz Khan
Hi, Actually I was able to add a custom dialog to the UI which looks like a form. In the dialog I got two control elements one for Label and other for field value. The controls elements are Interval: I am using XMLFile element

Re: [WiX-users] Votive not working in build 3.0.5207

2009-04-08 Thread Christopher Painter
Hi Jason- What do you think the likelyhood of it getting into this weeks release? Thanks, Chris Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Tue, 4/7/09, Jason Ginchereau wrot

[WiX-users] Unable to update Text in Edit Control

2009-04-08 Thread Michael
Hi, I have a one Edit control and pushbutton control. Click on pushbutton control, I will call dll to open browse window and selected file path stored in a property. That property was set to edit control. Even the property updated through pushbutton, there is no change in edit control. How do

[WiX-users] Start Menu Shortcut Problem

2009-04-08 Thread Lanteigne, Alan
Hello Wix World: While trying to setup a shortcut to an EXE, I'm getting this error: ICE64: The directory ProgramMenuDir is in the user profile but is not listed in the RemoveFile table. I thought I had done everything correctly but apparently I'm missing something. Googling shows something a

[WiX-users] Heat issues

2009-04-08 Thread Dominik Guder
Hi folks, I'm currently using heat again and I like the last changes very much. I found two points: 1) The created wxs file is in UTF8 + Signature (BOM) (on my machine) I'm not sure if my machine/VS2005 has some wired configuration, but when I add the created files to VS2005 it is complaining t

[WiX-users] Weekly releases feed looks broken

2009-04-08 Thread Pally Sandher
http://wix.sourceforge.net/releases/wix3.feed To me it's missing the change lists for 06 April 2009 & 07 April 2009 builds. I'm viewing it using IE7's built-in RSS feed viewer on XP64SP2 (both fully up to date with MS Updates). No bells or whistles added. Anyone else see the same or different? Ch

Re: [WiX-users] MSI language problem

2009-04-08 Thread Andy2k8
I have checked that and its correct. Here are the debug log snippet: MSI (c) (7C:0C) [15:08:32:611]: Looking for storage transform: DE_de.mst MSI (c) (7C:0C) [15:08:32:611]: Validating transform 'DE_de.mst' with validation bits 0 MSI (c) (7C:0C) [15:08:32:611]: Transform 'DE_de.mst' is valid. M

Re: [WiX-users] New Wix User v3

2009-04-08 Thread Ben Charlton
Fixed - I worked it out thanks anyhow --- now dlls... all ok -Original Message- From: Ben Charlton [mailto:benjamin.charl...@ascotvetsurgery.com.au] Sent: Wednesday, 8 April 2009 4:11 PM Subject: [WiX-users] New Wix User v3 Sorry to ask stupid questions all but I am a new wix user – I de

[WiX-users] Prevent Cancel and Ignore in FileInUse Dialog

2009-04-08 Thread Weber Stefan (IT)
Hi, is there a way to hide/remove those two buttons in the fileinuse dialog ? Thank you, Stefan -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Ra

Re: [WiX-users] Multiple instance installations and patches

2009-04-08 Thread Yan Sklyarenko
Thanks a lot for the hint, Heath! That's fantastic I can achieve the same without "shaman dancing" dismembering msp file! WiX rules!! :) One small question: is there any reason why this command format works: msiexec /i {42A33A91-36B0-4700-A6F5-1289D22F358C} PATCH=*path\to\patch.msp* but this

Re: [WiX-users] New Wix User v3

2009-04-08 Thread Natalia
Download "wix3-sources" and look up in src\ext\UIExtension\wixlib. Sorry to ask stupid questions all but I am a new wix user – I decided to skip learning v2 and just throw myself into v3 Going pretty well but it seems to me the v3 installer doesn’t include the .wix libraries ie wixui.wixlib et

Re: [WiX-users] Refreshing a SelectionTree

2009-04-08 Thread Natalia
Actually, I tried to use 2 selection trees: -- -- By default NeedsRefreshing = "no". It is updated to "yes" on pressing "Next" button, if certain conditions met. But this doesn't work, I get the following error when dialog is created: DEBUG: Error 2711:

Re: [WiX-users] Refreshing a SelectionTree

2009-04-08 Thread Natalia
Have you ever figured out how to refresh SelectionTree? Hi, I am trying create my own reset button for my selection tree. I have got it resetting how I want it: 1 My only problem is that I do not know how to make the selectiontree refresh to show the updated feature which are sele