Re: [WiX-users] WIX - Field Validation on Custom Dialog

2008-12-29 Thread Kusuma Sudheer Kumar (Tata Consultancy Services)
So, can we do in this fashion? Let's think we need to validate some fields on the screen, Create button called - Validate and On Clicking this button, CA will validate fields and returns success by updating the Property which is mapped to Next Button enabling and disabling. That

[WiX-users] OS Depended Bootsrapper for Windows Installer

2008-12-29 Thread Jagdish Sakhiya
Hi All, I am able to prepare bootsrapper for windows installer and framework 3.5SP1. It is working fine for XP but not in server 2003, it is failing due to windows installer already installed in server 2003. There should be condition on installer its self not to install windows installer on

[WiX-users] Rollback Whole Application from Custom Action.

2008-12-29 Thread Jagdish Sakhiya
Hi All, I have custom action for installing database after InstallFinalize http://msdn.microsoft.com/library/aa369505.aspx . Because I am executing database scripts from installed Dir. Now problem is I want to rollback whole installed application if I get any error while executing database

[WiX-users] Undefined project variables

2008-12-29 Thread Neil Sleightholm
When I build a project within Visual Studio 2005 none of the project variables are defined, they all have the value *Undefined if not building from within Visual Studio*. I also get the warning Solution properties are only available during IDE builds or when building the solution file from the

Re: [WiX-users] Creating deployment package using WIX: Config.xml

2008-12-29 Thread Lokesh Kumar A
Hi Rob, Thanks for the info. Do you have any Sample code or Example to see how to proceed on this? Thanks, Lokesh -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: 27 December 2008 00:52 To: General discussion for Windows Installer XML toolset. Subject:

Re: [WiX-users] Help with MSHelp2 MSHelp

2008-12-29 Thread David Terrell
Looks like I have 3.0.4714.0 Over the day after I sent the original email I got everything working except the TOC. I'll check release notes for weekly builds and upgrade either way. -Dave -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Fri

Re: [WiX-users] Message Queues

2008-12-29 Thread Eitan Behar
Maybe this is a little too late, but I have a working code for creating msmq. Let me know if this is still relevant. On Wed, Nov 5, 2008 at 9:34 PM, David Gonzalez dav...@microsoft.com wrote: Greetings to all, I've been working with Message Queues lately, and have managed to find some

[WiX-users] WindowsInstaller.View.Modify() fails on Vista / Server 2008

2008-12-29 Thread Kjartan Þór Kjartansson
Hi all, I'm having a problem with installs made with Wix V3 running on Vista and Server 2008, I have a custom action that opens a view on a custom table using Session.Database.OpenView(string) then it tries to add a record to the table with the view using

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Frankenspank
John, I actually based much of the code I wrote off your 2.0 tool. Looks like you've updated it for Wix3 by now. It was pretty useful. For the Visual Studio package registration, I didn't use any custom actions, though it wouldn't be hard to write one. All you'd have to do is traverse the

[WiX-users] Build doesn't include VS2005 components

2008-12-29 Thread Neil Sleightholm
Could someone tell be if the following is by design? If the build doesn't find the VC8 x64 components it doesn't include any of the Visual Studio 2005 component, i.e. BuildVC8=. if test=${BuildVC8 != '' and (not directory::exists(dir.vc8.bin.x64) or not directory::exists(dir.vc8.lib.x64)

[WiX-users] DB Pro (data dude) and Wix3 SqlExtension

2008-12-29 Thread Peter Oehlert
First, I know that this isn't really directly a WIX question but I figure that a lot of you have similar requirements and maybe someone can tell me what their experiences and solutions are. I'm attempting to use Wix to create a database during install. I have my database setup with the Db Pro

Re: [WiX-users] Using $(TargetPath) for localized wix projects.

2008-12-29 Thread Jeremy Lew
I was on 3.0.4401.0, I will try upgrading to build 4827, thanks for the tip! -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Friday, December 26, 2008 6:01 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Using $(TargetPath) for

Re: [WiX-users] Message Queues

2008-12-29 Thread Castro, Edwin (Hillsboro)
Better tools for working with MSMQ would be very nice. I've found that the MSMQ extension is very difficult to work with, particularly around setting permissions. -- Edwin -Original Message- From: Eitan Behar [mailto:ei...@baconao.net] Sent: Monday, December 29, 2008 6:00 AM To:

[WiX-users] help Required: Error while configuring IIS

2008-12-29 Thread Pankaj Agrawal (Infosys Technologies Ltd)
Hi All, I am trying to install my MSI which I have created in Wix 3.0 but it is erroring out on Windows 2008 Server by saying Cannot connect to Internet Information Server. (-2147221164). I am doing the following thing in my MSI Component Id=WebComp Guid=1C04C3A1-5B04-4A9D-BF5C-27E118857F58

Re: [WiX-users] help Required: Error while configuring IIS

2008-12-29 Thread Rob Mensching
-2147221164 == REGDB_E_CLASSNOTREG You probably don't have the II6 legacy Metabase access installed. -Original Message- From: Pankaj Agrawal (Infosys Technologies Ltd) [mailto:v-pa...@microsoft.com] Sent: Monday, December 29, 2008 10:28 To: wix-users@lists.sourceforge.net Subject:

Re: [WiX-users] help Required: Error while configuring IIS

2008-12-29 Thread Pankaj Agrawal (Infosys Technologies Ltd)
Thanks a lot Rob. Appreciated your quick response. We are trying to install the same MSI on vista machine where IIS 7 legacy metabase access is installed but we are getting the following error MSI (s) (C0:24) [09:34:31:223]: Doing action: ConfigureIIs Action start 9:34:31: ConfigureIIs.

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Rob Mensching
1. It would be fantastic if someone wrote the extension that made it easy to author VS packages or wrote a harvester so heat could generate much of it automatically. At the very least, you could open a Feature Request. 2. This is a particular challenge with the Windows Installer due to the

Re: [WiX-users] help Required: Error while configuring IIS

2008-12-29 Thread Rob Mensching
0x80070005 E_ACCESSDENIED I think this is a known bug open against the IIS CustomAction. Check the bug database. -Original Message- From: Pankaj Agrawal (Infosys Technologies Ltd) [mailto:v-pa...@microsoft.com] Sent: Monday, December 29, 2008 10:56 To: General discussion for Windows

Re: [WiX-users] Help with MSHelp2 MSHelp - FIXED

2008-12-29 Thread David Terrell
After tinkering a while and installing the latest weekly, I got everything working (Registration, Titles, Filters, and TOC). For prosperity, here's snips of the updated WiX that accomplished it for me. ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;

[WiX-users] Registry Table Error

2008-12-29 Thread John McLean, Jr.
I need help is trying to track the source of the following error: The primary key 'reg8E2E..' is duplicated in table 'Registry'. Please remove one of the entries or rename part of the primary key to avoid the collision. How do I track down the duplicated entry? The entry in question is

[WiX-users] Need Help: Importing pfx certificate file

2008-12-29 Thread Maruti Gouroji (Infosys Technologies Ltd)
Dear All, I created the following entry in WiX file for installing .pfx certificate that has a blank password: Component Id=CertPlat Guid=E1BAC504-DF60-4DE7-B9EF-5394E4EC658C Transitive=yes iis:Certificate Id=PlatAzzuro Name=PlatAzzuro.wss.microsoft.com.pfx

Re: [WiX-users] Need Help: Importing pfx certificate file

2008-12-29 Thread Rob Mensching
0x80070056 == ERROR_INVALID_PASSWORD -Original Message- From: Maruti Gouroji (Infosys Technologies Ltd) [mailto:v-mag...@microsoft.com] Sent: Monday, December 29, 2008 12:24 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Need Help: Importing pfx certificate file Dear All, I

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Frankenspank
Rob, Thanks for your response. If I have extra time this week I can look into creating a WIX extension for the package registration. I don't mind adding to existing documentation if there is any easy way to do it. Let me know if the manual is online in some sort of wiki or other editable form

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Jeremy Lew
Can you elaborate on which of the component rules #2 presents problem for? I wrote a tool to auto-gen my components from my web structure as well. It puts every file in its own component with a new Guid for the id. Is this approach problematic? Is it different than what Visual Studio Installer

Re: [WiX-users] Need Help: Importing pfx certificate file

2008-12-29 Thread Maruti Gouroji (Infosys Technologies Ltd)
Thanks Rob, Appreciate your quick response. I am able to manually import .pfx with blank password. Does that mean WiX doesn't support .pfx with blank password? What are the alternate ways of handling such cases in WiX? Regards, Maruti -Original Message- From: Rob Mensching

Re: [WiX-users] Need Help: Importing pfx certificate file

2008-12-29 Thread Ian Elliott (Excell Data Corporation)
Have you tried the following? PFXPassword= -Original Message- From: Maruti Gouroji (Infosys Technologies Ltd) [mailto:v-mag...@microsoft.com] Sent: Monday, December 29, 2008 12:47 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Need Help: Importing

Re: [WiX-users] Need Help: Importing pfx certificate file

2008-12-29 Thread Rob Mensching
What version of the WiX toolset are you using? This sounds like a bug that was fixed recently. -Original Message- From: Ian Elliott (Excell Data Corporation) [mailto:a-iae...@microsoft.com] Sent: Monday, December 29, 2008 12:51 To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Ian Elliott (Excell Data Corporation)
I also have a home-made tool for generating components. I have another tool that generates a complete wix file after you specify directory structure and files within the directories. It's used to to most of the grunt work and then the rest is done by hand. (UI based.) Is there a public share

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Neil Sleightholm
2. I would suggest that the most reliable solution would be to have a solution that set the component guid to *. This isn't very well documented but I believe it sets the guid to an MD5 hash of the folder name and component name (see here:

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Rob Mensching
There are two places to add documentation: 1. Reference data - if you want to enhance the text for any given element then you just add more annotations to the wix.xsd. All of the reference material is generated from that source. 2. Introduction and How-to guides - if you want to add content

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Rob Mensching
What happens is you run the tool repeatedly? Are the same GUIDs assigned to the same files? If not then you are generating Component Rule violations. This old blog post has more details: http://blogs.msdn.com/robmen/archive/2003/10/18/56497.aspx -Original Message- From: Jeremy Lew

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Rob Mensching
How is it different than heat? -Original Message- From: Ian Elliott (Excell Data Corporation) [mailto:a-iae...@microsoft.com] Sent: Monday, December 29, 2008 13:05 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WIX 3 - Suggestions I also have a

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Rob Mensching
Uhh, heat already supports that with the -ag switch. -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Monday, December 29, 2008 13:00 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WIX 3 - Suggestions 2. I would suggest that

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Ian Elliott (Excell Data Corporation)
It's been awhile since I tried Heat but I remember that I couldn't get it to work properly. I don't remember the details. Differences: 1.) Heat is command-line based. Mine is UI based. 2.) My tool doesn't have as many features as heat. (It's more specific to my needs.) 3.) Mine outputs a

Re: [WiX-users] Need Help: Importing pfx certificate file

2008-12-29 Thread Maruti Gouroji (Infosys Technologies Ltd)
Hi Rob, The WiX version I am using is 3.0.4805.0. Regards, Maruti -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Monday, December 29, 2008 1:03 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Need Help: Importing

Re: [WiX-users] Need Help: Importing pfx certificate file

2008-12-29 Thread Maruti Gouroji (Infosys Technologies Ltd)
Hi Ian, I tried that too. It gives the following error during build: The iis:Certificate/@PFXPassword attribute's value cannot be an empty string. If you want the value to be null or empty, simply remove the entire attribute. Regards, Maruti -Original Message- From: Ian Elliott

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Jeremy Lew
So, does heat -ag not solve the component rules problem? -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Monday, December 29, 2008 4:09 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WIX 3 - Suggestions Uhh, heat

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Rob Mensching
For Components with one file each... maybe. It's the closest we've come. Still experimental (one reason it isn't documented well). -Original Message- From: Jeremy Lew [mailto:j...@liquidmachines.com] Sent: Monday, December 29, 2008 13:41 To: General discussion for Windows Installer XML

Re: [WiX-users] Need Help: Importing pfx certificate file

2008-12-29 Thread Rob Mensching
I could have sworn this was fixed. You could go through the history to make sure you have a build with the fix. If you do and there is still a problem, it'd be great if you could re open the bug about this problem and add any details you can to it. -Original Message- From: Maruti

[WiX-users] Running an Installer from MSI: Part II

2008-12-29 Thread Frank Cohen
So I dug a little deeper into this. The problem didn't have to do with using the temp directory as another user had mentioned on the list. The problem is that the custom action is run again on the uninstall. In my scenario, the custom actions should only run in the install not the uninstall.

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Jeremy Lew
I played around with it a bit, and in my particular case I'm not sure it will work due to collisions with directory, component, and filename Id values. My installer installs two different web applications with subdirectories having the same name, etc. I would have to seed it with some kind of

[WiX-users] FileSource attribute of the Directory Element

2008-12-29 Thread Brian Mitchell
There is not a lot of documentation on the FileSource attribute, so what I am wondering is if I have a Directory element with FileSource specified like so: ...snippet... Directory Id=myDir Name=My Dir FileSource=C:\SourceFiles\ Component Id=Component1 Guid=[some guid] File

Re: [WiX-users] help Required: Error while configuring IIS

2008-12-29 Thread Pankaj Agrawal (Infosys Technologies Ltd)
Hi Rob, Does IIswebsite issue (to read IIsWebSite table(-2147024891)) also come on Server 2008 having IIS 7 installed? I was checking the bug database and most of the bugs are closed automatically as no one has taken any action. I also believe Wix 3.0.4805.0. is the latest version

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Rob Mensching
You mean like the Directory/@ComponentGuidGenerationSeed? -Original Message- From: Jeremy Lew [mailto:j...@liquidmachines.com] Sent: Monday, December 29, 2008 14:41 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WIX 3 - Suggestions I played around with

Re: [WiX-users] help Required: Error while configuring IIS

2008-12-29 Thread Rob Mensching
I was thinking of bug 1982561. 4805 is not the latest version. 4827 is (http://wix.sourceforge.net/releases). -Original Message- From: Pankaj Agrawal (Infosys Technologies Ltd) [mailto:v-pa...@microsoft.com] Sent: Monday, December 29, 2008 15:13 To: General discussion for Windows

Re: [WiX-users] FileSource attribute of the Directory Element

2008-12-29 Thread Rob Mensching
Yes, that should work. -Original Message- From: Brian Mitchell [mailto:brian_mitch...@payformance.com] Sent: Monday, December 29, 2008 14:51 To: wix-users@lists.sourceforge.net Subject: [WiX-users] FileSource attribute of the Directory Element There is not a lot of documentation on the

Re: [WiX-users] Running an Installer from MSI: Part II

2008-12-29 Thread Rob Mensching
Condition the CustomAction. -Original Message- From: Frank Cohen [mailto:frankensp...@gmail.com] Sent: Monday, December 29, 2008 13:33 To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Running an Installer from MSI: Part II So I dug a little deeper into this. The problem didn't

Re: [WiX-users] FileSource attribute of the Directory Element

2008-12-29 Thread Brian Mitchell
Hrmm...it doesn't. At least, using VS 2005 with Votive and doing this doesn't work: snippet Property Id=INSTALLTODIR![CDATA[E:\myprog\]]/Property Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Name=PFiles Directory Id= INSTALLTODIR Name=.

Re: [WiX-users] FileSource attribute of the Directory Element

2008-12-29 Thread Alex Ivanoff
I also confirm that it does not work. I ended up specifying full path names for every File element. -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Monday, December 29, 2008 17:52 To: General discussion for Windows Installer XML toolset. Subject: Re:

Re: [WiX-users] FileSource attribute of the Directory Element

2008-12-29 Thread Rob Mensching
Sounds like a bug. Would you file it? -Original Message- From: Brian Mitchell [mailto:brian_mitch...@payformance.com] Sent: Monday, December 29, 2008 16:13 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] FileSource attribute of the Directory Element

[WiX-users] Conversion of wix project target platform windows 2003 to windows 2008

2008-12-29 Thread Sridevi Sudhir
Hello there, We would like to move our product from Windows 2003 to Windows 2008 and to help with that also update our wix modules. How do I go about doing that? Can you point me to any documentation and are there any pitfalls that I should be aware of? Also, will the converted project still

Re: [WiX-users] help Required: Error while configuring IIS

2008-12-29 Thread Pankaj Agrawal (Infosys Technologies Ltd)
Hi Rob, I am trying all the things like creating app pool but nothing is working for me. Not able to create AppPool too even MSI is not throwing any error. I am still getting error for configuring virtual directories (IIsWebSite table(-2147024891)) even after installing the latest version of

Re: [WiX-users] help Required: Error while configuring IIS

2008-12-29 Thread Rob Mensching
Works for some people as long as you run the install fully elevated and have the legacy IIS6 metabase API installed. -Original Message- From: Pankaj Agrawal (Infosys Technologies Ltd) [mailto:v-pa...@microsoft.com] Sent: Monday, December 29, 2008 18:13 To: General discussion for Windows

Re: [WiX-users] Patch msp isn't showing the peroerty set in the PatchInformation

2008-12-29 Thread Bob Arnson
prasoon gupta wrote: Ya in PCP file all tha setting is proper (used Orca to view these summary info) I am using 4.5 version of msimsp.exe to create msp. Is there any bug in version 4.5 ? I don't know of specific bugs; it's an MSI SDK tool, not a WiX tool. The WiX patching support

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Bob Arnson
Rob Mensching wrote: For Components with one file each... maybe. It's the closest we've come. Still experimental (one reason it isn't documented well). It breaks down whenever files are removed, which is a problem especially for Web apps. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Build doesn't include VS2005 components

2008-12-29 Thread Bob Arnson
Neil Sleightholm wrote: Could someone tell be if the following is by design? If the build doesn't find the VC8 x64 components it doesn't include any of the Visual Studio 2005 component, i.e. BuildVC8=. I don't know if it's by design, but likely to minimize the test matrix for

Re: [WiX-users] Undefined project variables

2008-12-29 Thread Bob Arnson
Neil Sleightholm wrote: When I build a project within Visual Studio 2005 none of the project variables are defined, they all have the value *Undefined if not building from within Visual Studio*. I also get the warning Solution properties are only available during IDE builds or when building

Re: [WiX-users] Registry Table Error

2008-12-29 Thread Bob Arnson
John McLean, Jr. wrote: I need help is trying to track the source of the following error: The primary key 'reg8E2E..' is duplicated in table 'Registry'. Please remove one of the entries or rename part of the primary key to avoid the collision. How do I track down the duplicated

Re: [WiX-users] WIX - Field Validation on Custom Dialog

2008-12-29 Thread Bob Arnson
Kusuma Sudheer Kumar (Tata Consultancy Services) wrote: So, can we do in this fashion? Let's think we need to validate some fields on the screen, Create button called - Validate and On Clicking this button, CA will validate fields and returns success by updating the Property which is

Re: [WiX-users] Rollback Whole Application from Custom Action.

2008-12-29 Thread Bob Arnson
Jagdish Sakhiya wrote: I have custom action for installing database after InstallFinalize http://msdn.microsoft.com/library/aa369505.aspx . Because I am executing database scripts from installed Dir. Now problem is I want to rollback whole installed application if I get any error while

Re: [WiX-users] Registry Table Error

2008-12-29 Thread Rob Mensching
I've also seen this happen when you have a Class element without a Server attribute (or not nested under a File) and have a RegistryValue element trying to set the COM Server directly. That'll create the duplicate. -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent:

[WiX-users] Creating a WIX file for configuring IIS 7.0

2008-12-29 Thread WIXuser
Hi, I am new to WIX, i need pointers to create wix file for creating a website in IIS 7.0 and changing the binding setting for the created website. thanks and regards Leela -- View this message in context: http://n2.nabble.com/Creating-a-WIX-file-for-configuring-IIS-7.0-tp2091179p2091179.html

[WiX-users] Condition on Change mode.

2008-12-29 Thread Jagdish Sakhiya
Hi, I have two features 1) Featrue1 and 2) Featrue2. My condition is Feature2 can no be installed alone. It should be install with Feature1 or after Feature1 is installed. I want to validate this scenario while installation. I am able to do this validation on installation. But I could not in

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread John Robbins
My Paraffin tool does keep the same GUIDs for the files when you run it repeatedly. For the itch I was trying to scratch was for projects that were always adding files not removing files. As Bob points out, removing files is the problem. I've found two discussions that talk about removing

Re: [WiX-users] WIX 3 - Suggestions

2008-12-29 Thread Christopher Painter
MSI does a handful of things very well at the expense of just about everything else.They'll never say it's a flaw, they'll just say that's how it works. The reality is the upgrade/component rules are a PITA and require great discipline to implement. I guess that's why Rob posted a thread