Re: [WiX-users] Two problems: Not deleting files, and icon does not display.

2009-04-16 Thread Rob Mensching
1. MSI SDK says the RemoveFolders only removes a folder if it is empty. You need a CustomAction to recurse all of the directories and add them to the RemoveFolders table plus add the files to RemoveFiles table. 2. I vaguely rememeber some tricky limitations around Shortcut Icons in MSI. You

Re: [WiX-users] IO permission problem in defered CA on Windows Terminal Server 2003

2009-04-16 Thread Rob Mensching
Yeah, that all makes sense to me. That's the way I understand the Windows Installer works. Dmitry Berkovich wrote: > Hi, > I don't know what is expected behavior in Windows Installer, but I > have this problem only when my Installer executed on Windows Terminal > Server by user that belongs to

Re: [WiX-users] How to create custom even channel (under Applications and ServicesLogs)

2009-04-16 Thread Brian Bakkebo
Hello Joe, I think you need to have a clarify a little bit here. I am not quite sure what you mean by " I want to log all the events of that service to a custom event channel."? Wouldn't your application do this? ala http://www.nlog-project.org/ or are you meaning

[WiX-users] How to create custom even channel (under Applications and ServicesLogs)

2009-04-16 Thread Joe Osman
I am installing a .NET service using the ServiceInstall element and I want to log all the events of that service to a custom event channel. In Windows Server 2008 and Windows Vista an application can create a custom event channel under Applications and Services Logs in the event viewer. I wan

Re: [WiX-users] IO permission problem in defered CA on Windows Terminal Server 2003

2009-04-16 Thread Dmitry Berkovich
Hi, I don't know what is expected behavior in Windows Installer, but I have this problem only when my Installer executed on Windows Terminal Server by user that belongs to local Administrators group (all other users can not execute installation, since its disabled by policy). On Windows XP and W

[WiX-users] Two problems: Not deleting files, and icon does not display.

2009-04-16 Thread Curtis Jewell
I've got two problems I need help with, and I hope somebody here can help me with them. I'm using WiX 3.0.5210, by the way. First problem: When I install a (major) upgrade, it's not deleting any files that were created in the [D_Perl] directory or subdirectories that were not installed by the MSI

Re: [WiX-users] Problem installing COM components

2009-04-16 Thread Christopher Painter
Personally I use InstallShield for this type of stuff. It's pretty simple to create a merge module project, dump the components into it and do a COM extract at build. Then just dark the resultant MSI and refactor into a fragment. Oh, and I recently saw an MSDN email go out talking about Insta

Re: [WiX-users] Custom icon in Add/Remove programs

2009-04-16 Thread Rob Mensching
Set the ARPPRODUCTICON Property as per the MSI SDK. Sudripta Nandy (Sarangsoft Corporation) wrote: > Is there a way I can set the icon for my application to be shown in the > 'Add/Remove Programs' under control panel? > > > Thanks. > Sudripta. > ---

Re: [WiX-users] Why isn't the TypeLib table is created

2009-04-16 Thread Rob Mensching
TypeLib table is only populated for Advertised TypeLibs. Otherwise the Registry table is used. Advertising TypeLibs is generally not recommended so it is not the default. Karl Denning wrote: > Hi > > This has me stumped. > When I build my project including this fragment (below), the registry t

Re: [WiX-users] Error table in merge module

2009-04-16 Thread Rob Mensching
The Merge Module spec says Merge Modules don't get an Error table. Sudripta Nandy (Sarangsoft Corporation) wrote: > I am trying to create a merge module. But, I am getting an error message in > wixca.wxs. The error code is LGHT1054 and it states that 'Merge modules > should not contain the Error

Re: [WiX-users] Why isn't the TypeLib table created

2009-04-16 Thread Karl Denning
I should also add that I'm using wix 3.0.4805.0 Hi This has me stumped. When I build my project including this fragment (below), the registry table is populated with the registry value, but the TypeLib table is not created. Any idea why? Thanks Karl http://schemas.microsoft.com/wix/2006/w

Re: [WiX-users] IO permission problem in defered CA on Windows Terminal Server 2003

2009-04-16 Thread Rob Mensching
Isn't that the expected behavior with the Windows Installer? Dmitry Berkovich wrote: > Hi, > I have some issue with deferred CA on WTS. > I am creating installer package : Compressed="yes" InstallScope="perMachine" /> that execute deferred CA > that read some data from file that stored on netwo

[WiX-users] Problem installing COM components

2009-04-16 Thread Jose Enrique Bolanos
Hello, I have a problem trying to register some COM components using WiX. Hopefully you can help me find the correct solution We need to create an MSI with WiX for Windows Vista and XP which, aside from installing some files, must register: 1- a COM dll 2- a COM server (.exe), 3- and a Windows se

[WiX-users] Why isn't the TypeLib table is created

2009-04-16 Thread Karl Denning
Hi This has me stumped. When I build my project including this fragment (below), the registry table is populated with the registry value, but the TypeLib table is not created. Any idea why? Thanks Karl http://schemas.microsoft.com/wix/2006/wi";>

Re: [WiX-users] Problem building a WIX project using devenv

2009-04-16 Thread Raja, Moiz (Moiz)
Using msbuild worked for me. The developer who worked on our build told me that initially we had to move to building using devenv because we could not build our previous setup using msbuild. Thanks everyone for your responses. -Moiz -Original Message- From: Christopher Painter [mail

[WiX-users] Error table in merge module

2009-04-16 Thread Sudripta Nandy (Sarangsoft Corporation)
I am trying to create a merge module. But, I am getting an error message in wixca.wxs. The error code is LGHT1054 and it states that 'Merge modules should not contain the Error table because all merge conflicts cannot be avoided.'. How can I stop it from generating the error table or get rid of

Re: [WiX-users] IIS virtual web directory modification/settings

2009-04-16 Thread Thomas S. Trias
John, My appologies; I sometimes forget which of the features I use are WiX cannon and which I have added / augmented. On a positive note, I think I have worked all of the bugs out of my (based upon code by Cody Cutrer) PermissionEx changes. I should be able to submit them next week. Thanks,

Re: [WiX-users] IIS virtual web directory modification/settings

2009-04-16 Thread John Trump
Thanks Tom. I have implemented #1 with no problem, but #2 is giving me some build errors. First it would not recognize the following as part of the PermissionEx schema: Type="allow" ApplyToSelf="yes" ApplyToSubfolders="yes" ApplyToFiles="no So, I took those out, but now I get this error: error

[WiX-users] IO permission problem in defered CA on Windows Terminal Server 2003

2009-04-16 Thread Dmitry Berkovich
Hi, I have some issue with deferred CA on WTS. I am creating installer package : that execute deferred CA that read some data from file that stored on network drive. When installation is executed on Terminal Server and user that execute installer have admin privileges - deferred CA do not see an

Re: [WiX-users] Problem building a WIX project using devenv

2009-04-16 Thread Thomas S. Trias
Thanks! I figured as much about solution files, since they aren't even XML. :-) Thomas S. Trias Senior Developer Artizan Internet Services http://www.artizan.com/ Original Message Subject: Re: [WiX-users] Problem building a WIX project using devenv From: Christopher Painter

Re: [WiX-users] Problem building a WIX project using devenv

2009-04-16 Thread Christopher Painter
2003 wasn't msbuild. Also certain project types ( VDPROJ for one ) are bastard stepchildren that don't do msbuild. I wrote about this a couple years ago: http://blog.deploymentengineering.com/2007/05/proj-is-for-msbuild-projects.html As for solutions, basically msbuild reads, tranforms and em

[WiX-users] Custom icon in Add/Remove programs

2009-04-16 Thread Sudripta Nandy (Sarangsoft Corporation)
Is there a way I can set the icon for my application to be shown in the 'Add/Remove Programs' under control panel? Thanks. Sudripta. -- Stay on top of everything new and different, both inside and around Java (TM) techn

Re: [WiX-users] REINSTALL, REINSTALLMODE, and component reference counting

2009-04-16 Thread Rob Mensching
Component reference count is managed by the number of Products that installed that Component. Repairing doesn't affect the count since the Product remains installed. Jeff Reed wrote: > Hi everyone, > > I was reading Rob's blog about component rules and had a couple of questions: > http://robmens

Re: [WiX-users] Problem building a WIX project using devenv

2009-04-16 Thread Thomas S. Trias
Solutions and projects for VS 2005+ (and perhaps earlier; I skipped 2003) are well understood by msbuild. The project files use their own msbuild tasks. Thanks, Thomas S. Trias Senior Developer Artizan Internet Services http://www.artizan.com/ Original Message Subject: Re:

Re: [WiX-users] Problem building a WIX project using devenv

2009-04-16 Thread Castro, Edwin (Hillsboro)
Theoretically, devenv.exe will call msbuild under the covers. You can tell msbuild to build your solution and tell it which configuration/platform you want to build. Something like: msbuild path\to\solution.sln /p:Configuration=Release /p:Platform="Mixed Platforms" /t:Build Some more informati

[WiX-users] Write to a configuration file based on a condition

2009-04-16 Thread Anu Dev
Hi   I am writing to a configuration file during installation. I want to write to the configuration based on selection of a radio button. Can anyone please let me know how this can be achieved   Thank you Anweshi  -

Re: [WiX-users] Start Menu Shortcut Problem

2009-04-16 Thread Rob Mensching
The following basically covers what you are asking: http://robmensching.com/blog/archive/2007/04/27/How-to-create-an-uninstall-shortcut-and-pass-all-the.aspx Stryder Crown wrote: > ok, so, what's the difference between including the shortcut as a child > element to the File node, or creating an

Re: [WiX-users] Weekly releases feed looks broken

2009-04-16 Thread Rob Mensching
Should be fixed now. Pally Sandher wrote: > 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

Re: [WiX-users] Problem building a WIX project using devenv

2009-04-16 Thread Raja, Moiz (Moiz)
Brian, I haven't tried msbuild mostly because I don't want to redo the configuration I already have in my solution. -Moiz Hey Moiz, Have you tried msbuild.exe instead of devenv.exe using the command line? Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.liv

Re: [WiX-users] Including output from tallow

2009-04-16 Thread Pally Sandher
Use , works fine for me doing exactly what you're trying to. Better still use heat.exe to generate your Fragments & it'll save you time. Heat.exe is the WiX 3.0 replacement for tallow.exe. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501

Re: [WiX-users] Fails to register a dll that depends on VC9 runtime

2009-04-16 Thread Pally Sandher
RegSpy to generate a .reg file of the COM server's registration info. tallow.exe from WiX 2.0 on the .reg file to generate a .wxs as heat.exe doesn't process .reg files either (or it didn't last time I checked) even though it's predecessor did. WiXCop.exe on the .wxs to convert it to 3.0 code. U

[WiX-users] Including output from tallow

2009-04-16 Thread Damien Karkinsky
Hello, The tutorial shows how tallow can be used to generate a fragment for a COM component. None of the include mechanisms however seem to fit with the output form tallow. Include files need to start with and merge modules need to contain a . I would like to keep COM components in separate file

Re: [WiX-users] Fails to register a dll that depends on VC9 runtime

2009-04-16 Thread Brian Simoneau
What are you using then to handle executable COM servers? -Brian Simoneau -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Thursday, April 16, 2009 6:40 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Fails to register a

Re: [WiX-users] Major Upgrades

2009-04-16 Thread Don Benson
Windows Installer defines the UPGRADINGPRODUCTCODE property when a product is being removed as part of a major upgrade. A typical condition you might use is "NOT UPGRADINGPRODUCTCODE". - Don Benson - On Thu, Apr 16, 2009 at 8:00 AM, Jeff Reed wrote: > I apologize about the previous post. I didn

[WiX-users] Build Error in light.exe when building with VS2005

2009-04-16 Thread nickheppleston
All, I'm trying to create a very simple WiX MSI installer consisting of two files, however I'm receiving the following build error from light.exe: The system cannot find the file '..\BizTalk Message Archiving Component Properties\bin\Deployment\Modhul.BizTalk.Pipelines.ArchiveMessages.Propertie

[WiX-users] Major Upgrades

2009-04-16 Thread Jeff Reed
I apologize about the previous post. I didn't trim it down to just minimal text. After this 2nd question, I'll shut up for a while. :) Hi everyone, In the Wix tutorial, it indicates that (among other things) changing a component ID forces the MSI to be a major upgrade (meaning package GUID,

[WiX-users] REINSTALL, REINSTALLMODE, and component reference counting

2009-04-16 Thread Jeff Reed
Hi everyone, I was reading Rob's blog about component rules and had a couple of questions: http://robmensching.com/blog/posts/2003/10/18/Component-Rules-101 (FYI, it is completely acceptable to just point me to a place where I can learn the answer as well. I'm struggling to learn where to look

Re: [WiX-users] How to grab directory of Excel.exe during installation

2009-04-16 Thread Dominik Guder
Basically, I know that the following registry key contains the directory I want and that it is consistent over Excel 2002/XP, Excel 2003 and Excel 2007 (same GUID for all three versions). HKCR\CLSID\{00024500---C000-0046}\LocalServer32 The value of this registry key is somethin

Re: [WiX-users] Problem building a WIX project using devenv

2009-04-16 Thread Pally Sandher
I use devenv.exe in my build script to build a solution with my 5 WiX projects regularly. I'm using VS 2005 with the latest WiX 3.0 toolset (currently v3.0.5210.0, I update generally every time a new build is posted on the RSS feed). Have you tried looking at the error log when you build? Try pipi

Re: [WiX-users] How to Display Installed Path in Icon Tooltip

2009-04-16 Thread Pally Sandher
The text in the Description attribute is what is displayed for the tooltip to the best of my knowledge. Change it from "$(var.ProductName)" to "[INSTALLDIR]" and it should in theory work but you may need to use a public property (e.g. TOOLTIPDIR) and set it to INSTALLDIR using a Type 51 CustomActio

Re: [WiX-users] Fails to register a dll that depends on VC9 runtime

2009-04-16 Thread Pally Sandher
http://msdn.microsoft.com/en-us/library/bb204770(VS.85).aspx#no_selfreg http://msdn.microsoft.com/en-us/library/aa371608.aspx As Phil recommends, use heat.exe to extract the COM registration information from your DLL's and/or OCX's. It is very good at doing this & the generated code should need on

Re: [WiX-users] Single installer for 32-bit and 64-bit

2009-04-16 Thread Pally Sandher
As Simon Dahlbacka said, no. An MSI has to target a specific platform which has to be either "Intel" (aka Win32 or x86), "Intel64" (aka ia-64) or x64 (can also be AMD64 but this is deprecated to x64). An x86 MSI can't target x64 specific directories. Try it & if you look at the logs you'll see som

Re: [WiX-users] adding a bootstrapper breaks comboboxes on custom UI!

2009-04-16 Thread barry
hi, anyone got any ideas or if anyone could see if theres anything wrong with the way im setting up the comboboxes that would also be a great help! or if anyone can tell me the correct way to create a bootstrapper in case my approach is causing the issue cheers, barry -- View this messag

[WiX-users] Mutal locking components with CheckBox

2009-04-16 Thread Bahn Thomas
Hello, the following code should prevent IISApplication from execution when the checkbox is not checked. Then IISApplicationVDir is executed. Vice versa, when the checkbox is checked, IISApplication isn't executed and IISApplication is done. the problem is, that it seems IISApplication is execu

Re: [WiX-users] How to Display Installed Path in Icon Tooltip

2009-04-16 Thread Sebastian Brand
The "Description" field is not validated during installation so it cannot contain properties. You will need a custom action that modifies this field I think. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Me

[WiX-users] Prevent Installing Packaged Application during uninstall from WiX Bootstrapper setup.exe

2009-04-16 Thread Prabhat Nath
Hello, I am using WiX bootstrapper to install my application (.MSI) and the bootstrapper will install SQLCE if missing on the target system. During install this is working as expected and if the application is already installed and the user try to install again using the bootstrapper (setup.exe

[WiX-users] How to Display Installed Path in Icon Tooltip

2009-04-16 Thread Prabhat Nath
Hello, I have WiX project and here is how I create desktop shortcut and able to show tooltip too. But how can I modify this to show the “Installed Location” as the tooltip? Any suggestion/pointer is appreciated. Thanks, Prabhat Nath --