[WiX-users] error while merging 2 msi into one

2013-12-18 Thread Gaurav Gupta
*My wxs file content is given below:* ?xml version=1.0 encoding=utf-8? !-- # This comment is generated by WixEdit, the specific commandline # arguments for the WiX Toolset are stored here. candleArgs: E:\4thDec\16thDec\GGG.wxs -out E:\4thDec\16thDec\GGGk.wixobj -ext C:\Program

Re: [WiX-users] Uninstall by Installer not removing the path created if that path is open on the system

2013-12-18 Thread David Connet
There is no way (that I know of) to delete a directory where something has an open handle on that. The only way is to make sure all programs have stopped and no open programs have that as their current directory. It's just like opening cmd.exe, cd'ing to a directory and trying to delete that

Re: [WiX-users] Uninstall by Installer not removing the path created if that path is open on the system

2013-12-18 Thread Hoover, Jacob
Does it exist after a reboot? I seem to remember windows installer being smart enough to schedule some cleanup after reboot (if it couldn't do them during uninstall). -Original Message- From: David Connet [mailto:d...@agilityrecordbook.com] Sent: Wednesday, December 18, 2013 8:25 AM

Re: [WiX-users] Adding a registry key to HKLM

2013-12-18 Thread Phil Wilson
Yes of course WiX supports writing to HKLM, so where are you at this point? Using HKMU? HKLM? It just works, and if it doesn't then something is going wrong but you're not supplying any extra information to let anyone figure out why it's not working. Are you seeing an elevation prompt during the

[WiX-users] Signing all DLLs and EXEs in project

2013-12-18 Thread Brian Enderle
Is there a way I can sign all the DLLs and EXEs in my project using WiX via signtool? I was hoping there might be something available in the @Component element that would allow me to selectively sign DLL/EXE files so that I could avoid signing DLLs that I did not create. Brian If you can't

Re: [WiX-users] Signing all DLLs and EXEs in project

2013-12-18 Thread Rob Mensching
Not today. Something considering for v4 (maybe). -Original Message- From: Brian Enderle [mailto:bria...@gmail.com] Sent: Wednesday, December 18, 2013 11:22 AM To: General discussion about the WiX toolset. Subject: [WiX-users] Signing all DLLs and EXEs in project Is there a way I can

Re: [WiX-users] Signing all DLLs and EXEs in project

2013-12-18 Thread John Cooper
There are specific targets that need to be overridden to sign CABs, Burn, and MSIs. In the general case (which is MsBuild and NOT WiX): 1) you need to create a signtool MsBuild Tool Task; 2) create an MsBuild Item Group list of the pathnames you want to sign; 3) pass the ItemGroup to the

Re: [WiX-users] Signing all DLLs and EXEs in project

2013-12-18 Thread Tunney, Stephen
Make sure you set the number of files in the item group to under 1000, there is a limit to the length of the command line that signtool (and windows) will accept :) Stephen Tunney Nuance Communications, Inc. Solutions Architect, Imaging Division Waterloo, Ontario, Canada

Re: [WiX-users] Adding a registry key to HKLM

2013-12-18 Thread Shyam Kannam
Hi Phil, It's still doesn't work for me. I don't get an elevated prompt but an untrusted warning - as the package wasn't signed. I tried running the installer from an elevated command prompt - but the result is the same. I didn't see much of a difference in the verbose log as well from HKCU and

Re: [WiX-users] Signing all DLLs and EXEs in project

2013-12-18 Thread Dror, Tomer
If you can explain how do you want to sign the dll I can try to create wix extension for you something like Component Directory=FeatureA1 yourNameSpace:SignKeyPathFile=yes Guid={87DFBD51-5DA7-46D2-9FB5-8A602A87EA71} Id=ComponentAA1.txt

Re: [WiX-users] Signing all DLLs and EXEs in project

2013-12-18 Thread John Cooper
If you're signing more than a dozen or so files in one pass, you've got bigger problems. :) Besides which, like many build-related tasks, signing is an activity best done in the same project generating the binary. Now, this isn't the Microsoft way in use when I left SCX in 2010. But I doubt

Re: [WiX-users] Signing all DLLs and EXEs in project

2013-12-18 Thread John Cooper
You'll have to correctly handle the case where a binary cannot be signed because it has references to unsigned assemblies. We run into this all the time with our UI controls. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS  66227

Re: [WiX-users] Signing all DLLs and EXEs in project

2013-12-18 Thread Bruce Cran
I guess the OP is talking about native binaries, not .NET assemblies since he mentioned signtool - sn is the .NET signing tool. -- Bruce On 12/18/2013 1:23 PM, John Cooper wrote: You'll have to correctly handle the case where a binary cannot be signed because it has references to unsigned

Re: [WiX-users] Signing all DLLs and EXEs in project

2013-12-18 Thread Bruce Cran
On 12/18/2013 1:21 PM, John Cooper wrote: If you're signing more than a dozen or so files in one pass, you've got bigger problems. :) Besides which, like many build-related tasks, signing is an activity best done in the same project generating the binary. +1. Unless you're talking about

Re: [WiX-users] MSI veteran - using WiX

2013-12-18 Thread Dave Andersen
I believe for that you would typically create a new .wxs file containing: Fragment UI Id=YourErrors ... /UI /Fragment The UI fragment can be referenced from either your Product or another UI element. UIRef Id=YourErrors/ see:

Re: [WiX-users] Signing all DLLs and EXEs in project

2013-12-18 Thread Phil Wilson
I think the OP is talking about all binaries, period. It's an aside I guess, but signtool is for certificate signing and sn.exe is for strong naming of assemblies - I have no idea why strong naming turned into signing because they are rather different. Strong named assemblies can reference only

Re: [WiX-users] Uninstall by Installer not removing the path created if that path is open on the system

2013-12-18 Thread Suvrajyoti Panda
Hey David, Thanks for the confirmation.I just checked after reboot as well, but that does not happen. Anyways thanks again. Regards, SuvraJyoti On 18-12-2013 19:54, David Connet wrote: There is no way (that I know of) to delete a directory where something has an open handle on that. The only

Re: [WiX-users] Uninstall by Installer not removing the path created if that path is open on the system

2013-12-18 Thread Suvrajyoti Panda
Yes it does exist after reboot as well. On 18-12-2013 21:13, Hoover, Jacob wrote: Does it exist after a reboot? I seem to remember windows installer being smart enough to schedule some cleanup after reboot (if it couldn't do them during uninstall). -Original Message- From: David