Re: [WiX-users] Detect WiX Version

2009-03-02 Thread Neil Sleightholm
Thanks Bob, that was exactly what I was after. Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com mailto:n...@x2systems.com From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Mon 02/03/2009 05:07 To: General discussion for Windows Installer XML

[WiX-users] Installer Error, Process aborted unexpectedly

2009-03-02 Thread Jacob, Christian
Hello, I need to install a Patch (.msp) right after the installation of my MSI. To put everything into one setup, I used setupbld.exe to create one setup.exe like this: setupbld.exe -title My Setup -ms mysetup.msi -pm mypatch.msp -setup setup.exe -out mysetup.exe While everything works as

Re: [WiX-users] SUPPORTDIR for WIX

2009-03-02 Thread Christopher Painter
WiX doesn't support this and it's unlikely that it ever will. Some have suggested that this pattern opens up the possibility for a man in the middle attack since in a elevated scenario the UI sequence ( non-priv process ) extracts the files and in the execute seqence ( potentially priv

[WiX-users] How to reference a disk root from Directory table?

2009-03-02 Thread Yan Sklyarenko
Hello WiX community, This is a pure MSI question. I'd like to insert a row into the Directory table, which corresponds to the root of disk drive, for instance, D:\. But, neither D:\, nor D: works in DefaultDir column... Is this at all possible? If so, then how? I need this because my

[WiX-users] How to reference a disk root from Directory table?

2009-03-02 Thread Yan Sklyarenko
Hello WiX community, This is a pure MSI question. I'd like to insert a row into the Directory table, which corresponds to the root of disk drive, for instance, D:\. But, neither D:\, nor D: works in DefaultDir column... Is this at all possible? If so, then how? I need this because my

[WiX-users] Remove File Issue on Vista

2009-03-02 Thread gaurav tiwari
I need to remove the “user.config” file which gets created for user level settings in my window app. This file is getting created under %localappdata%\Company Name\StrongKey\ProductVersion folder. I have written the following to delete this file: Property Id='FILEPATH'

[WiX-users] Question: how to Launch an application which requires administrator privilege

2009-03-02 Thread Nan Zang
Hi, I found the answers to the launching application thread are really helpful. And I did my msi following those instructions. However, I still got a question: I got an msi file, and an application which requires administrator privilege to launch. 1. If I run the msi through the cmd

Re: [WiX-users] Installer Error, Process aborted unexpectedly

2009-03-02 Thread Bob Arnson
Jacob, Christian wrote: While everything works as expected on my machine (32bit Windows Vista), the setup gives me an error message when being run on a 64bit Windows Server 2008 saying that the process has been aborted unexpectedly. What's the error message? Check the application event

Re: [WiX-users] How to reference a disk root from Directory table?

2009-03-02 Thread Adam Majer
Yan Sklyarenko wrote: Hello WiX community, This is a pure MSI question. I'd like to insert a row into the Directory table, which corresponds to the root of disk drive, for instance, D:\. But, neither D:\, nor D: works in DefaultDir column... Is this at all possible? If so, then how?

[WiX-users] Error PYRO0104 : Finally Conquered!

2009-03-02 Thread Gordon Dass Adams
In Peter Marcu's blog in this message http://blogs.msdn.com/pmarcu/archive/2008/05/30/Patching-something-you-didnt-build-with-WiX-using-WiX-.aspx a note added in November explains that an extra -xo parameter is required in Pyro when building patches from MSI's without needing the .wixpdb file

Re: [WiX-users] any insights as to why sql extension commands containing public property references are not working

2009-03-02 Thread Robert O'Brien
Ok. I just submitted the following wix feature request which hopefully outlines clearly what we are seeing and what we would prefer to see. https://sourceforge.net/tracker/index.php?func=detailaid=2655321group_id=105970atid=642717 Subject = support defining multiple sql:String sequence

Re: [WiX-users] How to change the installed config file after msi setup

2009-03-02 Thread Pierson Lee (PIE)
Is there a reason you don't want to do it through the MSI? You can edit the config file directly using XMLConfig/ -Original Message- From: Nan Zang [mailto:naz...@exchange.microsoft.com] Sent: Friday, February 27, 2009 5:29 PM To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] How to reference a disk root from Directory table?

2009-03-02 Thread Bob Arnson
Yan Sklyarenko wrote: I'd like to insert a row into the Directory table, which corresponds to the root of disk drive, for instance, D:\. But, neither D:\, nor D: works in DefaultDir column... Is this at all possible? If so, then how? Only by SetDirectory/SetProperty custom action. MSI

Re: [WiX-users] Re-ordered cab files

2009-03-02 Thread Thomas S. Trias
Did the added files all end up after the existing files? If so, then that means that the linker code is actually doing the work there (which makes sense, since the media information could be spread across multiple wixobj files). I will take a look at the linker when I get a free moment

Re: [WiX-users] Interpreting Return Codes of Executable Custom Action (type 2)

2009-03-02 Thread Wilson, Phil
If the exit code returned by the program has no meaning, can you just make the custom action ignore the return code? I wouldn't use VBScript for several reasons, one of which is that it tends to run afoul of AV software. Deleting an installed file can be done without triggering repair later

Re: [WiX-users] Interpreting Return Codes of Executable Custom Action (type 2)

2009-03-02 Thread Karma
My exit code has a meaning. That's why I wanted to write my own return code processor. If I ignore the return code, I'll be okay in situations where the exe returns a success code 1, but what if it returns 3, 4, 5, ... other error codes. I wouldn't be able to process these error codes. If the

Re: [WiX-users] WiX 3.0: How to install a Root Certificate

2009-03-02 Thread Bob Arnson
Brian Young wrote: InstallCertificates: Error 0x8000: Unexpected certificate type read from disk. InstallCertificates: Error 0x8000: Failed to read certificate from file path. InstallCertificates: Error 0x8000: Failed to resolve certificate: MyCert I'm not an expert in

Re: [WiX-users] Installer for an WebProject

2009-03-02 Thread Thomas S. Trias
I will second that; Heat makes a great starting point if you are building a new package from existing content for the first time. We used it to get us started with our web deployment. I am about to perform what is hopefully the final test of our initial install package (until it comes time to

Re: [WiX-users] DLL failing to register on a SeflRegCost file

2009-03-02 Thread Thomas S. Trias
Not that this solves the problem, but you could try using Heat to generate the registry information for registration; the way it works is actually kind of slick: 1) It creates a new, empty, overlayed / remapped registry keys for each of the top-level registry keys 2) It calls the

Re: [WiX-users] SUPPORTDIR for WIX

2009-03-02 Thread akash bhatia
Hi Cristopher, Here s what i have done to achieve this: i have used DTF and written a CA which in turn refers a DLL and call particular method in DLL. and this CA is binary file. Its happening perfect for me as expected. Can you let me know whether its ideal to do like this ? or there is

Re: [WiX-users] How to reference a disk root from Directory table?

2009-03-02 Thread Yan Sklyarenko
Thanks a lot, Bob! You confirmed my guesses. -- Yan -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Monday, March 02, 2009 8:54 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to reference a disk root from Directory table?