[WiX-users] Unable to harvest dll.

2011-08-09 Thread Roopal Oswal
Hi All, I am new to Wix. I need a installer that registers a COM dll for me and then install the service. I am able to register dll using the following CustomAction Id=RegisterAdx Directory=INSTALLLOCATION ExeCommand='regsvr32.exe

Re: [WiX-users] SQL script execution in patch sample request

2011-08-09 Thread Nangai
Anybody having samples, please share. I am unable to execute SQL script during patch install and uninstall -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/SQL-script-execution-in-patch-sample-request-tp6663737p6667688.html Sent from the wix-users

Re: [WiX-users] Installing Microsoft Enterprise Library's merge module with Wix

2011-08-09 Thread Christopher Painter
Yup, this is yet another example of where merge modules get a bad rap because of how someone ( I won't mention the irony of who... )  uses them.   I almost never use 3rd party MSMs while I build hundreds of my own.   In the past we organized all the files from the enterprise ( there's 110+ if I

Re: [WiX-users] File is not overwritten despite all evidence and logic to the contrary

2011-08-09 Thread Daniel Pratt
Thanks for the reply, Bob. I did not intentionally invoke patching in this process. I did think it was strange that the source directory appeared to be a patch-related folder on the local system. It may be relevant that: - this installation package uses multiple-instance transforms, and -

Re: [WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action Project...

2011-08-09 Thread Matt Walker
Thanks for the replies so far as they've been helpful (I think). Here's my VB.Net Code, but its blowing up with a 1723 Error. The action is schedule as Immediate Execution. Public Shared Function GetSites(ByVal session As Session) As ActionResult Dim recListBox As Record

[WiX-users] Accessing system32 folder on 64bit machines

2011-08-09 Thread Mark Simonetti
I'm trying to add a shortcut like this to my installer: Shortcut Id=SC_Debug Name=Pathfinder Service Debug Description=Pathfinder Service Debug Target=[SystemFolder]telnet.exe Arguments=127.0.0.1 6001 WorkingDirectory=APPLICATIONFOLDER / However, on 64bit windows it

Re: [WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action Project...

2011-08-09 Thread Matt Walker
I think I may have found some of my problem. I didn't have CustomAction() _ above the function I send earlier. Also, in my query I had 'ListBox' instead of `ListBox`. So, after making the above changes I can see my array element values in the list box. Now it's off to cycling through

Re: [WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action Project...

2011-08-09 Thread Matt Walker
One more thing I noticed, session.log statements are not reflected when I generate a log from the command line. Where should I be seeing these log status messages? From: Matt Walker [mailto:mawa...@rcn.com] Sent: Tuesday, August 09, 2011 11:44 AM To: 'wix-users@lists.sourceforge.net'

Re: [WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action Project...

2011-08-09 Thread Matt Walker
Trying to code the site name grab now, but whatever I try I receive an Unknown error (0x80005000). Here's the most recent code I've tried.. Try Dim deIIS As New DirectoryEntry(IIS://localhost/W3SVC) deIIS = New DirectoryEntry(IIS://localhost/W3SVC) For Each site As

Re: [WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action

2011-08-09 Thread Roy Chastain
Matt: I just posted some code to do what you currently want to do. It also has code to do what you are wanting to do next. :-) I have just posted the custom action code (C# - not VB sorry). I also have dialogs and a complete WiX based UI to go with it, should you want to use it. This code

[WiX-users] Including other files to Wix project's output

2011-08-09 Thread Atul Kolhatkar
I want to include a script that runs the MSI installers built by Wix into the output directory along with the .msi file. I've tried using the two options below in the wixproj file, but neither of them worked (I've verified that the path to the script file is correct): ItemGroup Content

Re: [WiX-users] Including other files to Wix project's output

2011-08-09 Thread Rory Primrose
Try using a post build script in the WiX project to copy the file from a known location such as Solution Items. Cheers, Rory -Original Message- From: Atul Kolhatkar [mailto:atul.kolhat...@microsoft.com] Sent: Wednesday, 10 August 2011 7:03 AM To: General discussion for Windows