[WiX-users] Unknow error on DB installation

2009-01-27 Thread andresd
Hi, I'm using WiX 3.0.4805.0, and I have a setup that install a database with the data file (MDF) on the default folder (C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data) and the LDF on drive D: under a specific folder. I was able to install on several machine configurations, but it

Re: [WiX-users] File Search that returns a folder path

2009-01-27 Thread Sebastian Brand
I'm bumping this up because it still doesn't seem to work. Since the last couple of wix builds there has been a directorysear...@assigntoproperty, but the created .msi files still look the same and the returned value is the file path, not the folder. Just tested with Build 4923. Anyone having

Re: [WiX-users] Bug in iis:WebApplication?

2009-01-27 Thread Yan Sklyarenko
I've decided to bring this back to your attention, guys. I have received the following feedback to the bug I've registered: This error code 0x8004e00f is CONTEXT_E_TMNOTAVAILABLE, which happens when COM+ was unable to talk to the Microsoft Distributed Transaction Coordinator. This service is

[WiX-users] Executable started with Custom Action type 50 does not ask for privileges in Vista

2009-01-27 Thread Peter Björkman
Hi everone. In my msi I have a custom action of type 50. The custom action is run if the user in a dialog chooses to cancel the installation to instead start an installation of SQL Express 2005 (which in some cases is a prerequisite). The installation of SQL Express is started

[WiX-users] DTF Logging in UI Sequence

2009-01-27 Thread Neil Sleightholm
I have at custom action written using DTF and the session.Log() method doesn't write to the MSI log file if the custom action is called in the UI sequence. Is this a bug or is it not possible to log in the UI sequence? Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com

Re: [WiX-users] DTF Logging in UI Sequence

2009-01-27 Thread Rob Mensching
You can't log if the action is based off a button click, otherwise it should work. -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Tuesday, January 27, 2009 07:13 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] DTF Logging in UI

Re: [WiX-users] Dealing with Components with Only Non-Versioned Files

2009-01-27 Thread Rob Mensching
WiX doesn't support making a companion file the KeyPath because the MSI SDK says not to. From the Companion Files topic: Note that a file that is the key path for its component must not be a companion file. -Original Message- From: jnewton [mailto:jonathan.new...@ni.com] Sent: Tuesday,

Re: [WiX-users] Unknow error on DB installation

2009-01-27 Thread Rob Mensching
Found a couple options: NMERR_REMOTE_NOT_A_SERVER netmon.h ERROR_MOD_NOT_FOUND winerror.h Can you provide more detail about what you are doing? -Original Message- From: andresd [mailto:andres.denkb...@gmail.com]

Re: [WiX-users] Dealing with Components with Only Non-Versioned Files

2009-01-27 Thread jnewton
Thanks for the reply Rob. Yeah, I realized that when WiX through an error which was great. I'm just not sure how to handle this scenario then. How is one to deal with a component with all non-versioned files? Maybe one should never get into this scenario, but if you have any advice as to what

Re: [WiX-users] Executable started with Custom Action type 50 does not ask for privileges in Vista

2009-01-27 Thread Moradi, Ari
I'm pretty sure that the Windows Installer uses CreateProcess internally to execute type 50 custom actions. So, it will always execute the new process at the same level as the Windows Installer process. If it's running out of the UI sequence, that means that it won't be elevated and will

Re: [WiX-users] Dealing with Components with Only Non-Versioned Files

2009-01-27 Thread Rob Mensching
Well, MSI SDK says not to do what you're doing so that's the first step to undo. smile/ After that, you need to come up with a new KeyPath for your Component... or merge the Components together. The latter is the most ideal from a companion file point of view, but does create servicing

Re: [WiX-users] DTF Logging in UI Sequence

2009-01-27 Thread Neil Sleightholm
It is a button click, I take it this is an MSI limitation. Thanks Neil -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: 27 January 2009 15:44 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] DTF Logging in UI Sequence

Re: [WiX-users] Bug in iis:WebApplication?

2009-01-27 Thread Rob Mensching
What happens if you create a medium isolated AppPool on Windows XP with DTC disabled? Does it have issues as well or does it automatically enable DTC? I think this is less an issue with the extension and more a design issue with IIS. We try to plaster over a lot of bad designs in the WiX

Re: [WiX-users] DTF Logging in UI Sequence

2009-01-27 Thread Rob Mensching
Yes, oft discussed here. Documented somewhere in the MSI SDK... -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Tuesday, January 27, 2009 08:00 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] DTF Logging in UI Sequence It is

Re: [WiX-users] Unknow error on DB installation

2009-01-27 Thread Neil Sleightholm
Probably not the case but SQL won't install to compressed drives and IIFC gives a weird error. Neil -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: 27 January 2009 15:51 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users]

Re: [WiX-users] Extracting a certificate from binary table

2009-01-27 Thread Brian Rogers
Hey, This is some code that I used to do that. I think you can look into the shellexecca.cpphttp://wix.cvs.sourceforge.net/viewvc/wix/wix/src/ca/wixca/dll/shellexecca.cpp?hideattic=1revision=1.4view=markuppathrev=MAIN file. HRESULT hr = S_OK; UINT er = ERROR_SUCCESS; LPWSTR

[WiX-users] (no subject)

2009-01-27 Thread Louis elston
Using the help in Deployment tools Foundation, Development guide, deployment tools, Inventory...the tree on the left is self explanatory...what tree? Is there an example anywhere of a Installshield MSI that calls a DTF Managed CA (documenting what has to be done in the Installshield IDE), along

Re: [WiX-users] File Search that returns a folder path

2009-01-27 Thread Bob Arnson
Sebastian Brand wrote: I'm bumping this up because it still doesn't seem to work. Since the last couple of wix builds there has been a directorysear...@assigntoproperty, but the created .msi files still look the same and the returned value is the file path, not the folder. Just tested with

Re: [WiX-users] Executable started with Custom Action type 50 does not ask for privileges in Vista

2009-01-27 Thread Bob Arnson
Peter Björkman wrote: Is executables always started without privileges? Yes, unless it's deferred and no-impersonate, which wouldn't work in this case because SQL Express would try to start an illegal nested installation transaction. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] DISABLEROLLBACK not working

2009-01-27 Thread Morris, John - Raleigh
Anyone? :-) John Morris | Software Architect | SoftPro -Original Message- From: Morris, John - Raleigh [mailto:john.mor...@softprocorp.com] Sent: Wednesday, January 21, 2009 8:13 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] DISABLEROLLBACK not

[WiX-users] 64 bit registry search

2009-01-27 Thread Colin Fox
I'm trying to install my component into the SharePoint directory, the location of which I find from a registry key. This works perfectly on a 32 bit system, but on a 64 bit system I can't get it to work. Here's what I currently have: Property Id=INSTALLDIR RegistrySearch

[WiX-users] platform agnostic file flag?

2009-01-27 Thread Peter Oehlert
I'm doing dual x64/x86 installers and my application is all based on .net (MSIL) and is hence platform agnostic. Is there a way to specify a file as platform agnostic in a component? Currently my x64 installer is putting everything in Program Files (x86) b/c I don't specify the Platform= attribute

Re: [WiX-users] (no subject)

2009-01-27 Thread Christopher Painter
Louis- I've seen your posts on Acesso Community and I know you've read my blog articles on the subject. If there's any additional help you need, feel free to email me with specific questions and I'll try to fill in the missing gaps for you. Thanks, Chris Christopher Painter, Author of

Re: [WiX-users] (no subject)

2009-01-27 Thread Louis elston
I have looked at the sample program in C:\Program Files\InstallShield\2009\Samples\WindowsInstaller\Managed Custom Actions\C:\Program Files\InstallShield\2009\Samples\WindowsInstaller\Managed Custom Actions, and I read the documentation on it that someone had created. I can follow much of it, but

Re: [WiX-users] platform agnostic file flag?

2009-01-27 Thread Christopher Karper
MSI requires that the installer be marked as 32-bit or 64-bit.I just made one WXS file that will work for both, then I set my target directory to the correct place for that platform. Chris On Tue, Jan 27, 2009 at 3:09 PM, Peter Oehlert poehl...@securityinnovation.com wrote: I'm doing dual

Re: [WiX-users] platform agnostic file flag?

2009-01-27 Thread Peter Oehlert
I'm actually already using a ?if $(var.Platform)=x64??else??endif? around the package element to make the MSI 64 or 32 bit. However my files are placed in ProgramFilesFolder\{my folder}. My issue is that ProgramFilesFolder is resolving to the wrong place in x64. I assume I can fix this if I use a

[WiX-users] MSI not updating files in Install location if files are already present

2009-01-27 Thread Anupama A
The MSI I created using Wix installs a windows service by dumping the files in a target path and starting the service from that path. The service is not installed as such, it is just restarted using the ServiceController element, since the path would already contain files from a previous manual

Re: [WiX-users] How to change permission for existing Folder and/or file?

2009-01-27 Thread Joseph Wu
After one day of research. It looks to me that CustomAction is only way I know to achieve it. Is this the right way to go? Thanks Joseph -Original Message- From: Joseph Wu [mailto:joseph...@ds-iq.com] Sent: Monday, January 26, 2009 4:16 PM To: wix-users@lists.sourceforge.net

[WiX-users] IIS impersonates user? Works with UAC?

2009-01-27 Thread Peter Oehlert
I'm installing a web site under Vista and 2008 (as well as XP and 2003) and I need to deal with UAC. I'm getting the error failed to read iiswebsite table -2147024891. I believe that the custom action is not being run as elevated but is instead running as myself. If I start a command prompt as

Re: [WiX-users] platform agnostic file flag?

2009-01-27 Thread Christopher Karper
OK, here's how I handle that. Your directory structure should look something like this: Directory Id='TARGETDIR' Name='SourceDir' Component Id='Dummy' Guid='' / /Directory Then, you have a CA set the TARGETDIR property, giving the install location. (This is covered in so many posts and

Re: [WiX-users] platform agnostic file flag?

2009-01-27 Thread Castro, Edwin (Hillsboro)
I accomplished the same thing as follows: Directory Id=TARGETDIR Name=SourceDir ?if $(var.Platform) = x86 ? Directory Id=ProgramFilesFolder Directory Id=INSTALLLOCATION Name=./ /Directory ?else? Directory Id=ProgramFiles64Folder Directory Id=INSTALLLOCATION Name=./

[WiX-users] Need to do registrysearch after one custom action executed

2009-01-27 Thread Hukumchand Shah
Hi, I am doing registrysearch for JDK home directory and if it's not installed then from my installer I install the JDK. But now again I want to do registrysearch for newly installed JDK home directory. And depending on that JDK home directory, I execute some java files. Can anybody help me out

Re: [WiX-users] platform agnostic file flag?

2009-01-27 Thread Castro, Edwin (Hillsboro)
I should also mention that I don't use ?if? around the Package/ element. I set the Platform attribute to $(var.Platform): Package InstallerVersion=301 Compressed=yes Platform=$(var.Platform)/ So far I only use ?if $(var.Platform) = x86 ? to choose between ProgramFilesFolder and

Re: [WiX-users] MSI not updating files in Install location if files are already present

2009-01-27 Thread Rob Mensching
MSI SDK has a topic about File Versoining and how it affects the install behavior. -Original Message- From: Anupama A [mailto:anupama...@gmail.com] Sent: Tuesday, January 27, 2009 16:06 To: wix-users@lists.sourceforge.net Subject: [WiX-users] MSI not updating files in Install location if

Re: [WiX-users] IIS impersonates user? Works with UAC?

2009-01-27 Thread Rob Mensching
What version of the WiX toolset are you using? -Original Message- From: Peter Oehlert [mailto:poehl...@securityinnovation.com] Sent: Tuesday, January 27, 2009 18:25 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] IIS impersonates user? Works with UAC? I'm

Re: [WiX-users] IIS impersonates user? Works with UAC?

2009-01-27 Thread Bob Arnson
Peter Oehlert wrote: I'm installing a web site under Vista and 2008 (as well as XP and 2003) and I need to deal with UAC. I'm getting the error failed to read iiswebsite table -2147024891. I believe that the custom action is not being run as elevated but is instead running as myself. Get WiX

Re: [WiX-users] Need to do registrysearch after one custom action executed

2009-01-27 Thread Bob Arnson
Hukumchand Shah wrote: But now again I want to do registrysearch for newly installed JDK home directory. Actions can only be run once per sequence. -- sig://boB http://joyofsetup.com/ -- This SF.net email is

Re: [WiX-users] Extracting a certificate from binary table

2009-01-27 Thread psanaga
Thank you Brian. I figured out how to get the data from the binary table. But I'm still not able to find how to append data to the custom action data. Also, I'm getting return code 6(I'm guessing invalid handle) for MsiGetProperty(). I don't recall any change to my code which would cause this.