Re: [WiX-users] WCF server cannot connect to the remote database.

2011-02-07 Thread Rune Moberg
On Tue, Feb 8, 2011 at 8:26 AM, Thai-Hoa Nguyen wrote: > A way to solve this, I no longer use Wix / ServiceInstall.  I used > InstallUtil.exe instead.  Then the database connection issue goes away. > I'm wondering if there is another way to register the WCF service hosted by > the windows servic

[WiX-users] WCF server cannot connect to the remote database.

2011-02-07 Thread Thai-Hoa Nguyen
I have a WCF service which is run as a windows service. This WCF service connects to a SQL server. I used Wix / ServiceInstall to register the WCF service. There is no database connection issue when both WCF service and SQL server are on the local machine. When installing WCF server on mach

Re: [WiX-users] Component GUIDs on 32/64-bit WXS File

2011-02-07 Thread Rob Mensching
If the Components are mutually exclusive, then you can probably get away with the same GUIDs. I personally would start planning to get the GUIDs to be different (auto-guid is ideal) just in case the mutual exclusivity runs out. On Mon, Feb 7, 2011 at 11:23 AM, Quinton Tormanen wrote: > We've dist

Re: [WiX-users] WriteIIS7ConfigChanges - Stuck with 1603 error codes???

2011-02-07 Thread Rob Mensching
What version of WiX v3.5 are you using? On Mon, Feb 7, 2011 at 11:50 AM, kim wrote: > > Receving following error when trying to create a website from msi. Target > machine is Windows 7-32 bit machine. To my surprise, this same code has > work > numerous times before on different hadrware without

Re: [WiX-users] Assistance using XmlConfig (assuming that is thecorrect hammer for this issue)

2011-02-07 Thread Gregg Swanson
Thanks for the help! I also had to change to use XmlFile versus XmlConfig. The following fragment is working. Thanks, Gregg -Original Message- From: bharat jasti [mailto:bharat.ja...@gmail.com] Sent: Monday, February 07, 2011 4:51 PM To: General discussion for Windows Instal

Re: [WiX-users] Registering Log Parser DLL with Heat

2011-02-07 Thread srikanth u
Hi Pally, Thanks for your response. I included the component in my Features.I verified the installer with InstEd and could see class id's in registry table. Coming to Component Id and File Id, i have just change them for the email sake so that it will be generic. What i am wondering is this som

Re: [WiX-users] Assistance using XmlConfig (assuming that is thecorrect hammer for this issue)

2011-02-07 Thread bharat jasti
Modify the Configurations as below and try Action = "createElement" is to create a new element. As the element is already existing you should use Action = "setValue" Thanks & Regards, Bharat Jasti Web Applications Developer Rainbow Design Services, Inc. On Mon, Feb 7, 2011 at 4:51 PM, Sharad

Re: [WiX-users] Assistance using XmlConfig (assuming that is thecorrect hammer for this issue)

2011-02-07 Thread Sharad Patel
I haven't tried this in WiX itself but because you want to get to the child node shouldn't your XPath query have "/value" at the end? Something like this: "/configuration/applicationSettings/Microsoft.Lexicon.Framework.Backgrou ndLocalFileSettings/setting[@name='DatabaseServer']/value" Cheer

[WiX-users] Assistance using XmlConfig (assuming that is the correct hammer for this issue)

2011-02-07 Thread Gregg Swanson
Hello, I am looking for some help using XmlConfig, assuming that XmlConfig is the correct hammer for this issue. I have an app.config file that I would like to modify when it is installed, a sample config file -

[WiX-users] WriteIIS7ConfigChanges - Stuck with 1603 error codes???

2011-02-07 Thread kim
Receving following error when trying to create a website from msi. Target machine is Windows 7-32 bit machine. To my surprise, this same code has work numerous times before on different hadrware without any issues. Snippet from log file: Action 12:34:42: StartIIS7ConfigTransaction. Starting IIS C

Re: [WiX-users] LGHT0170

2011-02-07 Thread Colin LeMahieu
> Message: 2 > Date: Fri, 4 Feb 2011 10:21:12 -0800 (PST) > From: Dave Andersen > Subject: Re: [WiX-users] LGHT0170 > To: wix-users@lists.sourceforge.net > Message-ID: <1296843672549-5993493.p...@n2.nabble.com> > Content-Type: text/plain; charset=us-ascii > > >> > 18>C:\delivery\Dev\wix35_public\s

[WiX-users] Component GUIDs on 32/64-bit WXS File

2011-02-07 Thread Quinton Tormanen
We've distributed our application for some time as a 32-bit app, and then later we added a 64-bit installer to get the 64-bit USB drivers installed, but still installed our native application as 32-bit (using WOW64). Now I need to make the 64-bit installer use the 64-bit EXE (while the 32-bit insta

Re: [WiX-users] Using a Value inside

2011-02-07 Thread Jamie Thomson
Hi Pally, Thanks for the reply, unfortunately you lost me somewhere around "externalise your ui". Could someone elaborate on that for me please? Perhaps provide some links? Thanks Jamie -Original Message- From: Pally Sandher Sent: 07 February 2011 18:27 To: General discussion for Window

Re: [WiX-users] CustomAction fails with error code 1603??

2011-02-07 Thread Neil Sleightholm
No a bootstrapper runs the SQL install and then your install. Neil -Original Message- From: kim [mailto:contactme...@gmail.com] Sent: 07 February 2011 18:01 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] CustomAction fails with error code 1603?? Thanks so much for the sug

Re: [WiX-users] Using a Value inside

2011-02-07 Thread Pally Sandher
The FileName column in the File Table isn't of Formatted type so that's not likely to work -> http://msdn.microsoft.com/library/aa368596.aspx No harm in trying though. If that doesn't work I think the only way to do it properly would be to externalise your UI from Windows Installer & then modify

Re: [WiX-users] bypass fileinuse

2011-02-07 Thread Andreas Mertens
I believe that would still require restarting the app during the installation process. Mark was asking for a way to install without shutting down the current instance, and the next time it loads have it start with the new instance. Andreas - Original Message - From: "Wilson, Phil" Da

Re: [WiX-users] CustomAction fails with error code 1603??

2011-02-07 Thread kim
Thanks so much for the suggestions guys :-) I will definitly look at the dotNetInstaller bootstapper. Please correct me if I have misunderstood: I can still call this bootstrapper from my msi, which will install all the prerequisites and once all is successful, my msi can resume with installat

Re: [WiX-users] bypass fileinuse

2011-02-07 Thread Wilson, Phil
You could look at Restart Manager and have your exe integrate with that, then the install will shut your app down and restart it with the new version. http://msdn.microsoft.com/en-us/library/aa373524(v=vs.85).aspx Phil Wilson -Original Message- From: Mark Turek [mailto:turekm...@hot

Re: [WiX-users] Getting SQL Server instance name?

2011-02-07 Thread Albert At School
Hi Kim, I think you still need a CA for enumerating the array returned from the MULTI_SZ; You cannot assume that your instance is the only one installed (or the first in the list). If you don't want to use a CA then you should register the instance with your application during install in the reg

Re: [WiX-users] CustomAction fails with error code 1603??

2011-02-07 Thread Albert At School
You should build / use a bootstrapper for this. Installing other MSI files from within a CA (especially managed ones) are a scenario for deasaster (As far as I have seen at least) and are highly discouraged! Check out if you can use Burn; I have good hopes for it, although I haven't found the time

Re: [WiX-users] CustomAction fails with error code 1603??

2011-02-07 Thread Neil Sleightholm
It is not possible to install SQLExpress from within an MSI as nested installs are not supported by Windows Installer, you will need to use some sort of bootstrapper. I use dotNetInstaller (http://dotnetinstaller.codeplex.com/) to do this. Neil -Original Message- From: kim [mailto:contact

[WiX-users] CustomAction fails with error code 1603??

2011-02-07 Thread kim
I am in need to check if SQLExpress is installed on target machine before installing my product. If not installed, my product's msi will install SQLEXpress first. I created a C# custom action to install SQLExpress using command line. When executing this command directly on cmd prompt SQLExpress g

Re: [WiX-users] Using a Value inside

2011-02-07 Thread Thom Leigh
I think you just include Properties in square brackets to use them? So: But that seems too easy so I'm probably wrong! -Original Message- From: Jamie Thomson [mailto:ja...@jamie-thomson.net] Sent: 07 February 2011 16:29 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Using a

[WiX-users] Using a Value inside

2011-02-07 Thread Jamie Thomson
Hi folks, WiX newbie here trying to get up to speed on a few things. Google has been a big help so far but am currently drawing a blank so am hoping some folks here can help. I have a custom dialog that prompts for a value called SystemShortName: http://opdatw.blu.livefilestore.com/y1p_QvSKN5W

Re: [WiX-users] Getting SQL Server instance name?

2011-02-07 Thread kim
Thanks for your reply! Pally, I did checked the verbose log, and SQLSERVER variable is having name of the instance installed on system. But I need to populate a property with this instancename, which I am not able to get. Albert, Yes I am checking the InstalledInstances in the registry as follow

Re: [WiX-users] -reusecab doesn't work on dynamic views

2011-02-07 Thread maksim.vazhenin
The main point is to reduce the time of nightly builds which run on dynamic views. So I don't argue that snapshots are good, but I also want to make dynamic views better:) Rob, will an option '-forcereusecab' (or something like that) be considered as an improvement for light.exe (so I will writ

Re: [WiX-users] Reg: Updating connection strings in web.config

2011-02-07 Thread bharatj
Thanks Peter, I got it corrected. There was problem with single quotes also. I have corrected it too. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Reg-Updating-connection-strings-in-web-config-tp5966709p6000666.html Sent from the wix-users maili

Re: [WiX-users] Change text file line-endings on install

2011-02-07 Thread Peter Shirtcliffe
Not built-in. Just feed the converted files to Wix when you build the installer. -Original Message- From: John Daintree [mailto:jo...@dyalog.com] Sent: 07 February 2011 14:45 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Change text file line-endings on install Hello all,

[WiX-users] Change text file line-endings on install

2011-02-07 Thread John Daintree
Hello all, I have a number of text files with UNIXy line endings that I want to install onto a Windows machine. Is there a WIX mechanism I can use to change the line endings to Windowsy ones on install? Thanks, John.

Re: [WiX-users] -reusecab doesn't work on dynamic views

2011-02-07 Thread maksim.vazhenin
Robocopy to a temp directory is not a very good solution for it... There can be problems, if many people will build package at one time on a build server, there can be not enough space in %temp% directory. Maksim. -Original Message- From: Christopher Painter [mailto:chr...@deploymenteng

Re: [WiX-users] -reusecab doesn't work on dynamic views

2011-02-07 Thread Christopher Painter
How does a dynamic view save you time?  A well crafted config spec should load only what is needed to do the build.  Whether you load it all up front or whether you load it when WiX needs it should be about the same cost, no?    If WiX is going to go off validating things repeatedly then I'd thi

Re: [WiX-users] Getting SQL Server instance name?

2011-02-07 Thread Albert van Peppen
HKLM\\SOFTWARE\Microsoft\Microsoft SQL Server\InstalledInstances offcourse :) Check out: http://madbutcher.dyndns.org/snippets/SQLMsiCA for a nice example on how to let the user select a SQL instance installed on this computer or, if you wish, any computer in the network. -Oorspronkelijk beri

Re: [WiX-users] Getting SQL Server instance name?

2011-02-07 Thread Albert van Peppen
HKLM SOFTWARE\Microsoft\Microsoft SQL Server returns a MULTI_SZ so you'll need to parse it to a string first... But how should your code function when there are more instances installed -Oorspronkelijk bericht- Van: Pally Sandher [mailto:pally.sand...@iesve.com] Verzonden: maandag 7

Re: [WiX-users] -reusecab doesn't work on dynamic views

2011-02-07 Thread maksim.vazhenin
It was just a little block of build log, maybe it was confusing. Build is ok. Snapshot views are certainly good for it, but I also want to make it faster on dynamic views. Is it possible to introduce something like '-forcesreusecab' command line option for light.exe to skip files' validation (so

Re: [WiX-users] Getting SQL Server instance name?

2011-02-07 Thread Pally Sandher
Check a verbose log. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Hel

Re: [WiX-users] -reusecab doesn't work on dynamic views

2011-02-07 Thread Christopher Painter
Really?  It seems like your build is broken to me. I already provided a work around, use a snapshot view.  Use a dynamic view to robocopy to a temp directory on NTFS.  There was a discussion on StackOverflow that Light in v3.5 has been updated to look at md5 checksums and time date stamps. 

Re: [WiX-users] Registering Log Parser DLL with Heat

2011-02-07 Thread Pally Sandher
Probably a stupid question but is your Fragment actually getting included in your MSI? Do you have a ComponentRef for that Component in your Features? Open the MSI in InstEd! or Orca & see if any of your Class Id's or TypeLibs from the Fragment below are listed in the Registry table. If they aren't

Re: [WiX-users] ICE57 and non-advertised shortcuts

2011-02-07 Thread Pally Sandher
The recommended method to create shortcuts is almost as per your code. See http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm I don't particularly like putting HKCU keys in a per-machine package either but that seems to be the accepted method so I've learned to live with it.

Re: [WiX-users] Patching multiple major upgrade releases with different product codes

2011-02-07 Thread Pally Sandher
There is a 'hacky' way to do it but bear in mind that once you follow the 'hacky' method, all future patches will be required to be built the same way. Also because you've 4 Products, your patches are going to be around 4 times as big as each Product will have it's own CAB (since it has it's own tr