Re: [WiX-users] Creating patches

2013-05-20 Thread Thomas Due
No, I don't think so. Is that the cause? /Thomas > -Original Message- > From: Bob Arnson [mailto:b...@joyofsetup.com] > Sent: 19. maj 2013 17:08 > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Creating patches > > On 13-May-13 02:47, Thomas Due wrote: > > I have built t

Re: [WiX-users] Patches.....file timestamp getting changed

2013-05-20 Thread Ravishankar
Hi Phil, Its a dll file ,but file version is same only the modified date is changed When patching the file modified date gets changed to system present date in Windows 7 Any hindsight? Thanks and Regards Ravi On 5/20/2013 7:50 PM, Phil Wilson wrote: > Is this a versioned file or a data file? > >

Re: [WiX-users] Delete folders & files only on Uninstall

2013-05-20 Thread John Cooper
No. You need to read in the Util schema. -- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS  66227 Office:  913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: chennam [mailto:chatrapathi.ch

Re: [WiX-users] Delete folders & files only on Uninstall

2013-05-20 Thread chennam
Is it same as RemoveFolder? I searched for RemoveFoldersEX but couldn't find on WIX CHM of 3.7 Thanks Chatra -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Delete-folders-files-only-on-Uninstall-tp7585988p7586018.html Sent from the wix-users mai

Re: [WiX-users] log stdout and stderr to the msi log

2013-05-20 Thread Christopher Painter
Windows Installer can handle creation of any Windows NT service. The Java code is not required. From: "Uma Harano" Sent: Monday, May 20, 2013 12:53 PM To: "chr...@iswix.com" , "General discussion for Windows Installer XML toolset." Subject: RE: [WiX-u

Re: [WiX-users] Getting install path from Wix Custom Action

2013-05-20 Thread John Ludlow
You should be able to do something along these lines: foreach (var k in session.CustomActionData.Keys) { session.Log(k + " = " + session.CustomActionData[k]); } But you would have to have set the CA data property for that custom action, I think. On 20 May 2013 18:26, Freedman, Mark

Re: [WiX-users] log stdout and stderr to the msi log

2013-05-20 Thread Uma Harano
Yes! It is a Windows NT service. -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: Friday, May 17, 2013 3:41 PM To: General discussion for Windows Installer XML toolset.; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] log stdout

Re: [WiX-users] Getting install path from Wix Custom Action

2013-05-20 Thread Freedman, Mark P.
The execute attribute on Custom action lets you choose immediate, deferred, etc. An issue I'm seeing in the installer is that accessing a Session attribute is only allowed if it's immediate execution. So this makes me think it has to be immediate, but must be after a step that's after InstallFil

Re: [WiX-users] Getting install path from Wix Custom Action

2013-05-20 Thread John Ludlow
This is probably because your CA is scheduled as immediate, rather than deferred. You need to set Execute=deferred, and Impersonate=no on your CustomAction element. However, this presents a problem - deferred CAs do not get access to properties. Instead, you need to use the CustomActionData specia

Re: [WiX-users] Getting install path from Wix Custom Action

2013-05-20 Thread Phil Wilson
The execute sequence runs twice, in custom action terminology the first is "immediate", when Windows is writing a script to do the install; the second time it's "deferred" when applied to custom actions, when the system actually gets changed. That means you can be after InstallFiles in an immediate

Re: [WiX-users] Getting install path from Wix Custom Action

2013-05-20 Thread Freedman, Mark P.
Turns out the attribute I was trying to use was INSTALLFOLDER, not INSTALLDIR, as specified in my Product.wxs. So now, that resolves to the path I expect. However, I'm having a new issue. The custom action is trying to work on a file that's expeted to be present in my INSTALLFOLDER. I put some M

Re: [WiX-users] Getting install path from Wix Custom Action

2013-05-20 Thread John Cooper
First off, scheduling. The values of Directory properties (including one like INSTALLDIR), aren't going to be meaningful until after CostFinalize. Since you're running in the InstallExecSequence after InstallFiles, that's not it. However, you should be able to resolve INSTALLDIR like any other

Re: [WiX-users] Getting install path from Wix Custom Action

2013-05-20 Thread Freedman, Mark P.
The CA is set to run after files are installed, Mark Freedman JHU/APL 17-N568 443.778.2647 mark.freed...@jhuapl.edu -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: Monday, May 20, 2013 12:34 PM To: General discussion for Windows Insta

Re: [WiX-users] Getting install path from Wix Custom Action

2013-05-20 Thread Hoover, Jacob
When did you schedule your CA to run? -Original Message- From: Freedman, Mark P. [mailto:mark.freed...@jhuapl.edu] Sent: Monday, May 20, 2013 11:30 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Getting install path from Wix Custom Action I have a custom action and am trying

[WiX-users] Getting install path from Wix Custom Action

2013-05-20 Thread Freedman, Mark P.
I have a custom action and am trying to access the Install Directory, or Target path (the base folder that the user chooses to install to). Within my Action, I tried pulling it from Session. TARGETDIR maps to "C:\", despite installing it to program files, and INSTALLDIR yields empty stirng. Wha

Re: [WiX-users] Deployment Tools Foundation Documentation: Sample C

2013-05-20 Thread Rob Mensching
All the DTF code is relative to src\DTF. On Mon, May 20, 2013 at 5:55 AM, Freedman, Mark P. wrote: > Hello, > The Wix 3.7 Deployment Tools Foundation help file references a sample > project. "A sample CA project with two CAs is included in the > Samples\ManagedCA directory.". > > I have no suc

Re: [WiX-users] Delete folders & files only on Uninstall

2013-05-20 Thread Rob Mensching
WiX chm file? On Mon, May 20, 2013 at 5:45 AM, chennam wrote: > Hi , > > Can any one provide good resource on how to implement util:RemoveFoldersEx > to remove folders on uninstall. > > > Thanks > Chatra > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559

Re: [WiX-users] Patches.....file timestamp getting changed

2013-05-20 Thread Phil Wilson
Is this a versioned file or a data file? Dates usually don't matter with versioned files - if you want to know it's history use the version. If it's a data file Windows will set some dates when it gets installed. And are we talking about creation, last access, modify times? Phil -Origi

Re: [WiX-users] Writing a WiX tutorial

2013-05-20 Thread Natalie Carr
Hi everyone, I am only a placement student and will be returning to complete my studies in September. I have created all new setups for the company I am working for, I want to leave documents on how to maintain the setups I have created and also how to do small modifications as nobody is familiar

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-20 Thread John Cooper
Then you'll want to stay with .NET 4.0. Writing (and supporting) diverging product versions is going to be a headache. Microsoft designed .NET 4.5 to force you off .NET 4.0 and support for all those beloved legacy platforms (like XP). The IdentityModel assemblies are just the tip of the icebe

Re: [WiX-users] how to read a value from an xml app config file using WIX 3.6

2013-05-20 Thread John Cooper
You need to write one. As custom actions go, it's not hard. I would recommend a table-driven approach. -- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS  66227 Office:  913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com

[WiX-users] Deployment Tools Foundation Documentation: Sample C

2013-05-20 Thread Freedman, Mark P.
Hello, The Wix 3.7 Deployment Tools Foundation help file references a sample project. "A sample CA project with two CAs is included in the Samples\ManagedCA directory.". I have no such directory installed the the wix3.7.exe package, nor does the original sources or binaries contain such a fold

Re: [WiX-users] Writing a WiX tutorial

2013-05-20 Thread Alain Forget
I had no experience with WiX, but that very same tutorial that's been referenced and this mailing list has brought me up to speed. But if your superiors want you spending your time on updating the wheel (as opposed to other more useful things you could be doing), so be it. Could you at least po

Re: [WiX-users] Delete folders & files only on Uninstall

2013-05-20 Thread chennam
Hi , Can any one provide good resource on how to implement util:RemoveFoldersEx to remove folders on uninstall. Thanks Chatra -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Delete-folders-files-only-on-Uninstall-tp7585988p7585997.html Sent fro

Re: [WiX-users] Writing a WiX tutorial

2013-05-20 Thread Christopher Painter
Let me guess, your colleagues don't have an installer / windows installer / wix experience and they think that a couple of quick how to's will explain everything? Am I close and/or cynical? 10 FWIW, I've had 12 jobs in 16 years. I always document unique specifics but it's not my job to teach

[WiX-users] R: Writing a WiX tutorial

2013-05-20 Thread Luca Bottari
Hi Natalie, I found something useful here: http://blogs.technet.com/b/alexshev/archive/2008/02/10/from-msi-to-wix.aspx http://alekdavis.blogspot.it/2010/10/learning-wix-from-ground-up.html http://www.slideshare.net/alekdavis/beginners-guide-to-windows Best regards Luca -Messaggio origina

Re: [WiX-users] Writing a WiX tutorial

2013-05-20 Thread Natalie Carr
Hi John, Yes that is the tutorial I am basing my own on. Just curious if anyone had any extra tips. Thank you for yours its very helpful..:) Natalie -Original Message- From: John Ludlow [mailto:john.ludlow...@gmail.com] Sent: 20 May 2013 10:07 To: General discussion for Windows Install

Re: [WiX-users] Writing a WiX tutorial

2013-05-20 Thread John Ludlow
Hi Natalie, Have you seen the tutorial at http://wix.tramontana.co.hu/? You may want to emulate this, since it's a good tutorial for general use, but you may want one tailored to your team and your product. You should include topics on things that you use (for example, Burn, patching and early REP

[WiX-users] Writing a WiX tutorial

2013-05-20 Thread Natalie Carr
Hi, I have been asked to write a WiX tutorial for my colleagues to take over my role when I leave. Has anyone written anything like this that they would be willing to help me out with? I am using the WiX tutorial online but would like your opinions on what I should include. Thanks Natalie

[WiX-users] Patches.....file timestamp getting changed

2013-05-20 Thread Ravishankar
Hi All, I have created a patch using the pcp method. The patch is working absolutely fine as expected but the only issue is 1.The file inside my main build has a timestamp(01/01/2013" 2.I change file inside my upgrade build to a timestamp(01/05/2013" When i install the patch the file tim