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?

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 anot

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 DllRegisterSe

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] 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

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

2009-03-02 Thread Bob Arnson
Nan Zang wrote: > generate a new config file. But the problem is: I cannot launch the > application with administrator rights, so I always get "Access denied" error, > and there is also no "prompting window for admin rights". > MSI runs elevated processes only as deferred, no-impersonate cus

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

[WiX-users] Wix Update Tutorial?

2009-03-02 Thread waLIEN
Hello all! Does anyone happen to have a good tutorial on how to make updates via Wix 3? Thanks in advance! -- View this message in context: http://n2.nabble.com/Wix-Update-Tutorial--tp2412488p2412488.html Sent from the wix-users mailing list archive at Nabble.com. -

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

2009-03-02 Thread Nan Zang
Hi Pie, thanks for replying. I am trying to change the configuration file after msi, because, I have to collect a lot of data (about 30, and some of them are arrays) from the user and add those data to the configuration file. So, right now, after using msi laying down the bits, another exe con

Re: [WiX-users] IIS Metabase properties - DefaultLogonDomain & NTAuthenticationProviders

2009-03-02 Thread Thomas S. Trias
When I get out of heads down development hell (I'm doing a massive build right now, hence the relatively free time), I will send out my patches that add the WebDirProperties DefaultLogonDomain attribute; the WebDirProperties AuthenticationProviders attribute lets you set the other metabase prop

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 a

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 (). It

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 actio

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. Sub

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

2009-03-02 Thread Brian Young
Thanks Bob. I appreciate your response. Yes, I took your advice to add this "xmlns:iis='http://schemas.microsoft.com/wix/IIsExtension'" in the namespace, I also added WixIIsExtension. Then the "error CNDL0104" problem is gone. I can at least compile it. But after compile/link, I got a new erro

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=detail&aid=2655321&group_id=105970&atid=642717 Subject = support defining multiple sql:String sequence attri

[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] 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, th

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 even

[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 l

[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:

[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 applic

[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 applic

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 proces

[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 ex

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 From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Mon 02/03/2009 05:07 To: General discussion for Windows Installer XML