Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-19 Thread Suvrajyoti Panda
Hey John, Thanks for all the help you provided to me on my issues. I do not currently have this book but would get it ASAP(ebook) Thanks once again and look forward to your guidance. Regards, SuvraJyoti On 19-11-2013 16:29, John Ludlow wrote: > That looks like expected behaviour to me. > What's

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-19 Thread John Ludlow
That looks like expected behaviour to me. What's happening here is that the installer's created that directory structure and deployed a bunch of resources. During uninstall, it determines that those are the files it deployed and removes them. you can specify Component/@Permanent=yes if you want to

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-19 Thread Suvrajyoti Panda
Ok, I have made the following changes to the TortEngineDemo.wxs(also they are attached): FileSource='D:\'> Guid="9D5FEECE-74FE-45A2-BD34-41562EC8ED16"> When i execute Candle and Light, the msi gets crea

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-19 Thread John Ludlow
In theory, just removing this line should do it: I haven't tried that though, so I'm not 100% sure. If not, you can also try a custom action which sets the directory. Generally, you should think twice before dropping files directly under c:\ - most people like to keep that as clean as poss

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-19 Thread Suvrajyoti Panda
Hi John, Thanks for the help...Just followed the steps...worked like a charm. The folder got installed into the program files folder and there were no errors thrown by Light. But I want the db directory to be created into a folder in say c:\[FolderName](c:\[FolderName]\Tort Demo). I have tried

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-19 Thread John Ludlow
That should have read: If you make this change, you can also remove the following line: On 19 November 2013 08:34, John Ludlow wrote: > That's because of this: > > > > This will put files on the users desktop - are you sure that's what you > want? (Hint: it's probably not) Change this

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-19 Thread John Ludlow
That's because of this: This will put files on the users desktop - are you sure that's what you want? (Hint: it's probably not) Change this to ProgramFilesFolder (or ProgramFiles64Folder). Remember how you were getting a similar error previously? If you make this change, you can also remo

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-19 Thread Suvrajyoti Panda
Hi John/All, I have used the below commands: heat dir "D:\Project\ESI\Code\trunk\db" -cg trunkdb -gg -sfrag -dr TORTDEMO -out trunkdb.wxs candle TortEngineDemo.wxs trunkdb.wxs light -b "D:\Project\ESI\Code\trunk\db" -out TrunkDBDemo.msi TortEngineDemo.wixobj trunkdb.wixobj This does create

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-18 Thread John Ludlow
Yeah I didn't explain that path thing very well. I was referring to this path: C:\Program Files (x86)\WiX Toolset v3.7\bin\trunkdb.wxs This probably shouldn't be here. Best to keep this out of the WiX install directory. If this is a file which is generated for every build, then either use an in

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-18 Thread Suvrajyoti Panda
Hi John, When I are created the trunkdb.wxs file i had ditected it to D:\Project\ESI\Code\trunk\db. These files exist now also and are part of the SVN source control. I do not get what you mean by "C:\Program Files (x86)" and "I'm not sure how it came up with that path" . I am just executing

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-18 Thread John Ludlow
Do those files exist at compilation time? They are "C:\Program Files (x86)" paths, and your code doesn't specify a full path in File/@Source. I'm not sure how it came up with that path, but it's probably wrong, since you are likely building your application binaries in a build area. You will need