Re: [WiX-users] How to populate a list box in a msi dialog duringruntime

2009-10-19 Thread Alex Cater
Dominique Louis wrote: > > There must be at least 1 dummy ListItem, otherwise the appropriate table > will not be created. > The http://wix.sourceforge.net/manual-wix2/wix_xsd_ensuretable.htm EnsureTable element can be used to cleanly accomplish this: e.g. -- View this message in context:

Re: [WiX-users] I'm puzzled...

2009-04-26 Thread Alex Cater
Curtis Jewell wrote: > > But, I realized after I wrote this that the RemoveFiles table column > that I'm trying to connect to with the directory table entries is called > DirProperty, not Directory_, which implies to me that I should be > setting properties with directory locations instead of ad

Re: [WiX-users] RemoveFile Table

2009-04-15 Thread Alex Cater
my point was that we get an error reported. Does that make this a bug..? Technically, I suppose its arguable, but in my opinion it isn't a bug, especially considering that the WiX documentation states that the name attribute is required. The RemoveFile and RemoveFolder elements are, to all i

Re: [WiX-users] Wix Installer Upgrade problem

2009-04-15 Thread Alex Cater
Works for us. No CustomActions necessary. I recall that there were sequencing issues related to LaunchConditions although it appears that this has now been addressed from WiX version 3.0.5027.0. LaunchConditions, FindRelatedProducts and Downgrades -- View this message in context: http://n

Re: [WiX-users] RemoveFile Table

2009-04-15 Thread Alex Cater
See the RemoveFolder element. -- View this message in context: http://n2.nabble.com/RemoveFile-Table-tp2636076p2637396.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.net email is sponsored

Re: [WiX-users] Wix Installer Upgrade problem

2009-04-14 Thread Alex Cater
And you don't need to use CustomActions to prevent downgrading. That's what the tag is for. Care to elaborate..? Please respect mailing list etiquette: Quote what you reply to and trim it to only the relevant parts. -- View this message in context: http://n2.nabble.com/Wix-Installer-Upg

Re: [WiX-users] Wix Installer Upgrade problem

2009-04-14 Thread Alex Cater
If new version(1.0.1.1) installed, then I try to install old version (1.0.0.0). Thats too installing. I'm getting two instances of my product in 'Add/Remove Programs'. What will be the cause? You need to make use of the NEWPRODUCTFOUND property set by the UpgradeVersion element to prevent a do

Re: [WiX-users] Wix Installer Upgrade problem

2009-04-13 Thread Alex Cater
Also I tried with changing product id. This is the correct thing to do. The product code must always be changed for a major upgrade. In this case, I'm getting two instances in 'Add/Remove Programs'. The old product has not been removed because you have erroneously set the OnlyDetect attrib

[WiX-users] WebAppPool/@QueueLimit limited to 32767

2009-04-09 Thread Alex Cater
It appears that the range of legal values for WebAppPool/@QueueLimit are from 0 to 32767. However, the range, certainly in IIS6, appears to be that of an unsigned short. I needed to disable 'Limit the kernel request queue', which can be achieved by setting QueueLimit (MD_APPPOOL_UL_APPPOOL_QUEU

Re: [WiX-users] Check for IIS application pools

2009-04-07 Thread Alex Cater
can i check for an installed IIS and list the available application pools? The avaliable application pools should be listed in a listbox control. If you want to take the DTF route then this may help: WiX and DTF: Using a Custom Action to list available web sites on IIS -- View this message

Re: [WiX-users] We are getting some unexpected and undesirable behavior from iis:WebAppPool and iis:WebSite extensions, just checking to see if we are doing something wrong.

2009-04-03 Thread Alex Cater
Setting the SKIPCONFIGUREIIS property via an immediate CA (scheduled prior to ConfigureIIs of course) to simply skip IIS configuration when the target host already has the website installed would require us having some way to determine if the target host already has the website installed would

Re: [WiX-users] Using Wix and Visual Studio

2009-04-02 Thread Alex Cater
I'm guessing that you cannot have spaces in a project reference variable... $(var.My Test Project.TargetFileName) Try renaming your test project to MyTestProject so the project reference variable becomes: $(var.MyTestProject.TargetFileName) -- View this message in context: http://n2.nabble.

Re: [WiX-users] We are getting some unexpected and undesirable behavior from iis:WebAppPool and iis:WebSite extensions, just checking to see if we are doing something wrong.

2009-04-02 Thread Alex Cater
The condition for ConfigureIIs (the scheduling CA) is: NOT SKIPCONFIGUREIIS AND VersionNT > 400 You could set the SKIPCONFIGUREIIS property via an immediate CA (scheduled prior to ConfigureIIs of course) to simply skip IIS configuration when the target host already has the website installed.

Re: [WiX-users] msi.lib dependency with custom DLL?

2009-04-02 Thread Alex Cater
It is advisable to set the following: (in VS2008) Configuration-->C/C++-->Code Generation-->Runtime Library to: Multi-threaded (/MT) (Release configuration) Multi-threaded Debug (/MTd) (Debug configuration) -- View this message in context: http://n2.nabble.com/msi.lib-dependency-with-custom

Re: [WiX-users] how to configure windows service recovery behavior

2009-04-02 Thread Alex Cater
I suggest you take a look at the ServiceConfig element of the UtilExtension, thus: -- View this message in context: http://n2.nabble.com/how-to-configure-windows-service-recovery-behavior-tp2572474p2573849.html Sent from the wix-users mailing list archive at Nabble.com. ---

Re: [WiX-users] Uninstall / Update forgetting files ... still

2009-04-01 Thread Alex Cater
Developers above me. I originally set up using the COM+ extension then when someone found out, I was queried and basically asked to move back to the custom scripts we had used before. In the end its not my decision. I can sort of understand their thinking, "its never failed us before so why ch

Re: [WiX-users] Uninstall / Update forgetting files ... still

2009-04-01 Thread Alex Cater
I suggest you break the problem down to isolate the cause: 1. Simplify the authoring to just install the web files (or simply a reduced set) and test: a) Install, uninstall b) Install, upgrade, uninstall Then flesh it out gradually... 2. Cut to the chase and use the ComPlusExtension to

Re: [WiX-users] ServiceInstall not removing service?

2009-04-01 Thread Alex Cater
The Name attribute of the ServiceControl element must correspond to the name of the service. http://n2.nabble.com/ServiceInstall-not-removing-service--tp2570445p2571646.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Trying to validate input info

2009-03-31 Thread Alex Cater
You are trying to use .NET code in a vbscript CA. I suggest you rewrite the logic in jscript or, better still, in C++ (using TR1 perhaps). If you really want to write managed custom actions then you should take a look at the Deployment Tools Foundation (DTF). -- View this message in context:

Re: [WiX-users] Customizing Dialogs - InstallDirDlg doesn't show...why

2008-12-09 Thread Alex Cater
So what exactly is shown when you click next on your CustomOptionsDialog? I suggest you decompile the msi using Orca to see what is actually being generated by your authoring. zwombat wrote: > > That appears to be how it is correctly linked in my xml, however the > install > directory dialog s

Re: [WiX-users] Customizing Dialogs - InstallDirDlg doesn't show...why

2008-12-08 Thread Alex Cater
The authoring you provided does not correspond with your requirements. The snippet below clearly indicates that your custom dialog will be shown after the license agreement dialog. If you want the InstallDirDlg to be shown then you must modify the markup accordingly. zwombat wrote: > >E

Re: [WiX-users] Problems populating ListBox from custom action

2008-11-21 Thread Alex Cater
Bob is referring to the 'twin dialog' technique... See: http://n2.nabble.com/Combobox-not-refreshing-td1511419.html -- View this message in context: http://n2.nabble.com/Problems-populating-ListBox-from-custom-action-tp1563114p1563771.html Sent from the wix-users mailing list archive at Nabble

Re: [WiX-users] FirewallException fails when IIS is not running.

2008-11-21 Thread Alex Cater
Thanks for that Bob. Woods for the trees on my part... -- View this message in context: http://n2.nabble.com/FirewallException-fails-when-ISS-is-not-running.-tp1562193p1563734.html Sent from the wix-users mailing list archive at Nabble.com. -

[WiX-users] FirewallException fails when IIS is not running.

2008-11-21 Thread Alex Cater
Hi All, I encountered an error when running an MSI on Windows Server 2003 whereby a FirewallException fails due to the fact that ISS (SharedAccess) is not running. This is completely understandable. Can anyone suggest how I might neatly determine whether ISS is running and, subsequently, skip th

Re: [WiX-users] Per user/per computer install

2008-11-21 Thread Alex Cater
You could download the WiX source and modify an existing dialog and WiXUI_*.wxs to add the controls/functionality you require. It is essentially the same as authoring your own dialog from scratch. Peter Vestergaard wrote: > > Hi. > Is there a way to add some radiobuttons to an existing dialog t

Re: [WiX-users] Count of items in aListBox

2008-11-20 Thread Alex Cater
1) Brute force 'query and loop' e.g. PTCHAR szQuery = _T("SELECT * FROM `ListBox` WHERE `Property` = '' ORDER BY `Order`"); if (ERROR_SUCCESS == MsiDatabaseOpenView(hDatabase, szQuery, &hView)) ... Then loop to determine next order value.. UINT result = MsiViewFetch(hView, &hRecord); while(E

Re: [WiX-users] Combobox not refreshing

2008-11-19 Thread Alex Cater
siaj wrote: > > Thanks ! but dont think this solution will work becuase I need to have the > server name and the database name on the same screen and I would like to > refresh the database name changed on click of the button (on same screen) > or > value changed of Server Name drop down. > > Th