[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 timestamp is getting changed to 
today's date(05/20/2013)


Also when i uninstall the patch the timestamp of the file is back to 
01/01/2013 which is as expected


Can anyone let me know the reason for this.

Thanks and Regards
Ravi


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 REPs), as well
as WiX/MSI conventions and best practices. Also describe how your code is
organised and how you'd build it.

On 20 May 2013 09:30, Natalie Carr natalie.c...@measuresoft.com wrote:

 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


 --
 AlienVault Unified Security Management (USM) platform delivers complete
 security visibility with the essential security capabilities. Easily and
 efficiently configure, manage, and operate all of your security controls
 from a single console and one unified framework. Download a free trial.
 http://p.sf.net/sfu/alienvault_d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 Installer XML toolset.
Subject: Re: [WiX-users] Writing a WiX tutorial

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 REPs), as well as
WiX/MSI conventions and best practices. Also describe how your code is
organised and how you'd build it.

On 20 May 2013 09:30, Natalie Carr natalie.c...@measuresoft.com wrote:

 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


 --
  AlienVault Unified Security Management (USM) platform 
 delivers complete security visibility with the essential security 
 capabilities. Easily and efficiently configure, manage, and operate 
 all of your security controls from a single console and one unified 
 framework. Download a free trial.
 http://p.sf.net/sfu/alienvault_d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 originale-
Da: Natalie Carr [mailto:natalie.c...@measuresoft.com]
Inviato: lunedi 20 maggio 2013 11.37
A: 'General discussion for Windows Installer XML toolset.'
Oggetto: Re: [WiX-users] Writing a WiX tutorial


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 Installer XML toolset.
Subject: Re: [WiX-users] Writing a WiX tutorial

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 REPs), as well as
WiX/MSI conventions and best practices. Also describe how your code is
organised and how you'd build it.

On 20 May 2013 09:30, Natalie Carr natalie.c...@measuresoft.com wrote:

 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


 --
  AlienVault Unified Security Management (USM) platform
 delivers complete security visibility with the essential security
 capabilities. Easily and efficiently configure, manage, and operate
 all of your security controls from a single console and one unified
 framework. Download a free trial.
 http://p.sf.net/sfu/alienvault_d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 someone how to be a setup developer when I give my 
two weeks notice.  It isn't possible in that amount of time.


 From: Natalie Carr natalie.c...@measuresoft.com
Sent: Monday, May 20, 2013 3:36 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Writing a WiX tutorial

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 


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 from the wix-users mailing list archive at Nabble.com.

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 post this newer tutorial somewhere?

Alain

-Original Message-
From: Christopher Painter [mailto:chr...@iswix.com] 
Sent: May 20, 2013 08:37
To: General discussion for Windows Installer XML toolset.; 
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Writing a WiX tutorial


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 someone how to be a setup developer when I give my 
two weeks notice.  It isn't possible in that amount of time.


 From: Natalie Carr natalie.c...@measuresoft.com
Sent: Monday, May 20, 2013 3:36 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Writing a WiX tutorial

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 


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 folder. Where are the example 
projects for Managed Custom Actions?

Thanks,

Mark Freedman
JHU/APL
17-N568
443.778.2647
mark.freed...@jhuapl.edumailto:mark.freed...@jhuapl.edu

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 



-Original Message-
From: Marty Offe [mailto:marty.o...@harlandfs.com] 
Sent: Friday, May 17, 2013 12:17 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] how to read a value from an xml app config file using 
WIX 3.6

Which custom action do I use to read the value from the XML app config file?

Marty Offe
Sr. Software Developer
Harland Financial Solutions
Portland, OR
503-274-7280 x2376
www.harlandfinancialsolutions.com

-Original Message-
From: Sharon Pierson [mailto:sharon.pier...@netiq.com]
Sent: Friday, May 17, 2013 5:59 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] how to read a value from an xml app config file using 
WIX 3.6

If this is a major upgrade, you can add another custom action that reads the 
value from this file and sets a property in the installer that your dialog can 
use for displaying to the user.  The new custom action would have a condition 
that makes it run only during upgrade.


-Original Message-
From: Marty Offe [mailto:marty.o...@harlandfs.com]
Sent: Thursday, May 16, 2013 4:58 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] how to read a value from an xml app config file using WIX 
3.6

How can I read a value from an application's xml config file and present the 
value in a dialog?

Scenario:
During an install a dialog prompts the user for a port number. That port number 
is written to an application config file using the WIXUtilExtension XmlFile 
custom action element.

During an upgrade install, I would prefer that the dialog present the port 
number which was read from the application config file.

Thanks,

Marty Offe



--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 iceberg.

I would recommend either adopting .NET 4.5 and jettisoning support for earlier 
platforms xor staying with .NET 4.0 and supporting legacy platforms.  But 
your architecture decisions are you own.
--
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: Marco Tognacci [mailto:mark...@live.it] 
Sent: Thursday, May 16, 2013 5:30 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on 
windows 7-8 and not installed

In this case you can't install on Windows XP.I need to preserve the WIndows XP 
compatibility and build only one setup for Windows XP and Windows 7

 From: nmil...@livetechnology.com
 To: wix-users@lists.sourceforge.net
 Date: Thu, 16 May 2013 22:08:12 +
 Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite 
 only if on windows 7-8 and not installed
 
 I ran into a similar situation, and in the end, I too just set 4.5 as the 
 prerequisite for my installer.
 
 
 -Original Message-
 From: John Cooper [mailto:jocoo...@jackhenry.com]
 Sent: Thursday, May 16, 2013 6:04 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite 
 only if on windows 7-8 and not installed
 
 It is possible, but there will be a lot of edge cases. 
 
 It may be better to simplify.  What does your application really need?  It 
 sounds like it needs .NET Frame 4.0.  If that's the case, .NET 4.5 is  a 
 superset and will satisfy the need for 4.0 in most cases.  In which case, 
 you'd be better off with just a dependency on .NET 4.0.
 
 Things only really get tricky when you've got to work with assemblies like 
 Microsoft.IdentyModel.dll which was not in .NET 4.0 but is present in .NET 
 4.5 AND requires and additional assembly, System.IdentityModel.dll.  Although 
 we tried and tried to make something deployable on both Server 2008 R2 and 
 Server 2012 with the .NET 3.5 version of Microsoft.IdentityModel.dll, in the 
 end, we will support only .NET 4.5--just too much of a mess.
 --
 John M. Cooper
 
 -Original Message-
 From: Marco Tognacci [mailto:mark...@live.it]
 Sent: Thursday, May 16, 2013 4:51 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite 
 only if on windows 7-8 and not installed
 
 The NetFX extension make the trick but it work with a web based installation 
 of the Net Framework, so if you want to install the full version without 
 douwnloading it while running the setup you have to add the net framework by 
 yourself as posted by Nick.I use exactly this fragment of code, but this 
 doesn't answer my question.I can install the Net framework without problems. 
 But the question is.I have set the net framework 4.0 as prerequisite for the 
 Burn setup. but if I run the setup on a Windows 7 machine with no framework 
 4.0 and no framework 4.5, I want to set the Net framework 4.5 as prerequisite 
 instead of the 4.0.Any idea if is it possible to do?
 
  From: jocoo...@jackhenry.com
  To: wix-users@lists.sourceforge.net
  Date: Thu, 16 May 2013 20:35:32 +
  Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite 
  only if on windows 7-8 and not installed
  
  There's an undocumented NETFRAMEWORK45 Property in the NetFX extension in 
  Wix 3.6 that does the business.
  
  --
  John Merryweather Cooper
  Build  Install Engineer - ESA
  Jack Henry  Associates, Inc.(r)
  Shawnee Mission, KS  66227
  Office:  913-341-3434 x791011
  jocoo...@jackhenry.com
  www.jackhenry.com
  
  
  
  
  -Original Message-
  From: Nick Miller [mailto:nmil...@livetechnology.com]
  Sent: Thursday, May 16, 2013 3:16 PM
  To: General discussion for Windows Installer XML toolset.
  Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite 
  only if on windows 7-8 and not installed
  
  Here is what I use:
  
  util:RegistrySearch Root=HKLM Key=SOFTWARE\Microsoft\Net Framework 
  Setup\NDP\v4\Full Value=Version Variable=Netfx4FullVersion /
  util:RegistrySearch Root=HKLM Key=SOFTWARE\Microsoft\Net 
  Framework Setup\NDP\v4\Full Value=Version
  Variable=Netfx4x64FullVersion Win64=yes /
  
  PackageGroup Id=Netfx45
  ExePackage Id=Netfx45 Cache=no Compressed=yes PerMachine=yes 
  Protocol=netfx4 Permanent=yes Vital=yes InstallCommand=/norestart 
  /passive /showrmui
  SourceFile=dotNetFx45_Full_setup.exe
  

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 with WiX. It
will not be a case of teaching someone it all, that would be impossible. One
year later and things are still foreign to me. :)

In the tutorial I will be outlining the main aspects of this, etc. and off
course I will post it (I doubt it will be much help to anyone as I am such a
newbie..lol)

Thanks for all your replies.

Natalie

-Original Message-
From: Alain Forget [mailto:afor...@cmu.edu] 
Sent: 20 May 2013 13:47
To: chr...@iswix.com; 'General discussion for Windows Installer XML
toolset.'
Subject: Re: [WiX-users] Writing a WiX tutorial

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 post this newer tutorial somewhere?

Alain

-Original Message-
From: Christopher Painter [mailto:chr...@iswix.com] 
Sent: May 20, 2013 08:37
To: General discussion for Windows Installer XML toolset.;
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Writing a WiX tutorial


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 someone how to be a setup developer when I give my 
two weeks notice.  It isn't possible in that amount of time.


 From: Natalie Carr natalie.c...@measuresoft.com
Sent: Monday, May 20, 2013 3:36 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Writing a WiX tutorial

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 


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 

-Original Message-
From: Ravishankar [mailto:ravishankar.krishnasw...@idsnext.com] 
Sent: Monday, May 20, 2013 12:56 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Patches.file timestamp getting changed

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 timestamp is getting changed to today's
date(05/20/2013)


Also when i uninstall the patch the timestamp of the file is back to 
01/01/2013 which is as expected


Can anyone let me know the reason for this.

Thanks and Regards
Ravi



--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 chatrapathi.chen...@gmail.comwrote:

 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 from the wix-users mailing list archive at Nabble.com.


 --
 AlienVault Unified Security Management (USM) platform delivers complete
 security visibility with the essential security capabilities. Easily and
 efficiently configure, manage, and operate all of your security controls
 from a single console and one unified framework. Download a free trial.
 http://p.sf.net/sfu/alienvault_d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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. mark.freed...@jhuapl.edu
 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 such directory installed the the wix3.7.exe package, nor does
 the original sources or binaries contain such a folder. Where are the
 example projects for Managed Custom Actions?

 Thanks,

 Mark Freedman
 JHU/APL
 17-N568
 443.778.2647
 mark.freed...@jhuapl.edumailto:mark.freed...@jhuapl.edu


 --
 AlienVault Unified Security Management (USM) platform delivers complete
 security visibility with the essential security capabilities. Easily and
 efficiently configure, manage, and operate all of your security controls
 from a single console and one unified framework. Download a free trial.
 http://p.sf.net/sfu/alienvault_d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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. 
What am I missing? I also tried passing the INSTALLDIR in the CustomAction tag 
with the Directory attribute, but it comes back saying that it can't be 
something in brackets.


[CustomAction]
public static ActionResult SetEfxZlibLibrary(Session session)
{
session.Log(Begin CA);

string installDirectory = session[INSTALLDIR];

// 
}


?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  ?include Includes.wxi ?
Fragment
CustomAction Id='SetEfxZlibLibraryAction' BinaryKey='CustomActionBinary' 
DllEntry='SetEfxZlibLibrary' Execute='immediate'
  Return='check'/

Binary Id=CustomActionBinary 
SourceFile=$(var.CustomInstallActionsFile)/
/Fragment
/Wix



Thanks,

Mark Freedman

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 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. 
What am I missing? I also tried passing the INSTALLDIR in the CustomAction tag 
with the Directory attribute, but it comes back saying that it can't be 
something in brackets.


[CustomAction]
public static ActionResult SetEfxZlibLibrary(Session session) {
session.Log(Begin CA);

string installDirectory = session[INSTALLDIR];

// 
}


?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  ?include Includes.wxi ?
Fragment
CustomAction Id='SetEfxZlibLibraryAction' BinaryKey='CustomActionBinary' 
DllEntry='SetEfxZlibLibrary' Execute='immediate'
  Return='check'/

Binary Id=CustomActionBinary 
SourceFile=$(var.CustomInstallActionsFile)/
/Fragment
/Wix



Thanks,

Mark Freedman

--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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, 


InstallExecuteSequence
  Custom Action='SetEfxZlibLibraryAction' After='InstallFiles'/
/InstallExecuteSequence


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 Installer XML toolset.
Subject: Re: [WiX-users] Getting install path from Wix Custom Action

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 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. 
What am I missing? I also tried passing the INSTALLDIR in the CustomAction tag 
with the Directory attribute, but it comes back saying that it can't be 
something in brackets.


[CustomAction]
public static ActionResult SetEfxZlibLibrary(Session session) {
session.Log(Begin CA);

string installDirectory = session[INSTALLDIR];

// 
}


?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  ?include Includes.wxi ?
Fragment
CustomAction Id='SetEfxZlibLibraryAction' BinaryKey='CustomActionBinary' 
DllEntry='SetEfxZlibLibrary' Execute='immediate'
  Return='check'/

Binary Id=CustomActionBinary 
SourceFile=$(var.CustomInstallActionsFile)/
/Fragment
/Wix



Thanks,

Mark Freedman

--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 public 
property.  If session[INSTALLDIR] resolves to nothing, I'm thinking you 
haven't saved/restored this property.  Is this running in a Repair or 
Upgrade?

--
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: 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 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. 
What am I missing? I also tried passing the INSTALLDIR in the CustomAction tag 
with the Directory attribute, but it comes back saying that it can't be 
something in brackets.


[CustomAction]
public static ActionResult SetEfxZlibLibrary(Session session) {
session.Log(Begin CA);

string installDirectory = session[INSTALLDIR];

// 
}


?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  ?include Includes.wxi ?
Fragment
CustomAction Id='SetEfxZlibLibraryAction' BinaryKey='CustomActionBinary' 
DllEntry='SetEfxZlibLibrary' Execute='immediate'
  Return='check'/

Binary Id=CustomActionBinary 
SourceFile=$(var.CustomInstallActionsFile)/
/Fragment
/Wix



Thanks,

Mark Freedman

--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 MessageBoxes in 
the CA for debugging purposes. When the CA is firing, the files havne't been 
copied over to the install directory yet. I'd think that my files would be 
there at the time since the action isn't firing until after InstallFiles. What 
other options do I have?

Also, my custom action appears to be firing when I uninstall the program. 
Again, this is confusing to me given that the action isn't firing until after 
InstallFiles.

Thanks.

Mark Freedman


-Original Message-
From: John Cooper [mailto:jocoo...@jackhenry.com] 
Sent: Monday, May 20, 2013 12:49 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Getting install path from Wix Custom Action

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 public 
property.  If session[INSTALLDIR] resolves to nothing, I'm thinking you 
haven't saved/restored this property.  Is this running in a Repair or 
Upgrade?

--
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: 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 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. 
What am I missing? I also tried passing the INSTALLDIR in the CustomAction tag 
with the Directory attribute, but it comes back saying that it can't be 
something in brackets.


[CustomAction]
public static ActionResult SetEfxZlibLibrary(Session session) {
session.Log(Begin CA);

string installDirectory = session[INSTALLDIR];

// 
}


?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  ?include Includes.wxi ?
Fragment
CustomAction Id='SetEfxZlibLibraryAction' BinaryKey='CustomActionBinary' 
DllEntry='SetEfxZlibLibrary' Execute='immediate'
  Return='check'/

Binary Id=CustomActionBinary 
SourceFile=$(var.CustomInstallActionsFile)/
/Fragment
/Wix



Thanks,

Mark Freedman

--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended exclusively for the individual or entity to which it is addressed. The 
message, together with any attachment, may contain confidential and/or 
privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution is strictly prohibited. If you have received this message in 
error, please immediately advise the sender by reply email and delete all 
copies.


--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.

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 custom action and the files haven't been copied yet. You need
immediate=no, I think that's the syntax. 

Custom actions have conditions. A typical condition to cause a CA to run
only at install time is (case sensitive) Not Installed 

Phil 

-Original Message-
From: Freedman, Mark P. [mailto:mark.freed...@jhuapl.edu] 
Sent: Monday, May 20, 2013 9:55 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Getting install path from Wix Custom Action

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
MessageBoxes in the CA for debugging purposes. When the CA is firing, the
files havne't been copied over to the install directory yet. I'd think that
my files would be there at the time since the action isn't firing until
after InstallFiles. What other options do I have?

Also, my custom action appears to be firing when I uninstall the program.
Again, this is confusing to me given that the action isn't firing until
after InstallFiles.

Thanks.

Mark Freedman


-Original Message-
From: John Cooper [mailto:jocoo...@jackhenry.com]
Sent: Monday, May 20, 2013 12:49 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Getting install path from Wix Custom Action

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 public
property.  If session[INSTALLDIR] resolves to nothing, I'm thinking you
haven't saved/restored this property.  Is this running in a Repair or
Upgrade?

--
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: 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 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.
What am I missing? I also tried passing the INSTALLDIR in the CustomAction
tag with the Directory attribute, but it comes back saying that it can't be
something in brackets.


[CustomAction]
public static ActionResult SetEfxZlibLibrary(Session session) {
session.Log(Begin CA);

string installDirectory = session[INSTALLDIR];

// 
}


?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  ?include Includes.wxi ?
Fragment
CustomAction Id='SetEfxZlibLibraryAction'
BinaryKey='CustomActionBinary' DllEntry='SetEfxZlibLibrary'
Execute='immediate'
  Return='check'/

Binary Id=CustomActionBinary
SourceFile=$(var.CustomInstallActionsFile)/
/Fragment
/Wix



Thanks,

Mark Freedman


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are
intended exclusively for the individual or entity to which it is addressed.
The message, together with any attachment, may contain confidential and/or
privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or
distribution is strictly prohibited. If you have received this message in
error, please immediately advise the sender by reply email and delete all
copies.



--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the 

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 special property.
You set a property with the same name as your action (in this case,
SetEfxZlibLibraryAction) to the data that you want to make available to the
custom action. The DTF method (session.CustomActionData) for this in C# has
some special parsing rules which can be used to pass in multiple elements
of data.


On 20 May 2013 17:55, Freedman, Mark P. mark.freed...@jhuapl.edu wrote:

 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
 MessageBoxes in the CA for debugging purposes. When the CA is firing, the
 files havne't been copied over to the install directory yet. I'd think that
 my files would be there at the time since the action isn't firing until
 after InstallFiles. What other options do I have?

 Also, my custom action appears to be firing when I uninstall the program.
 Again, this is confusing to me given that the action isn't firing until
 after InstallFiles.

 Thanks.

 Mark Freedman


 -Original Message-
 From: John Cooper [mailto:jocoo...@jackhenry.com]
 Sent: Monday, May 20, 2013 12:49 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Getting install path from Wix Custom Action

 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 public
 property.  If session[INSTALLDIR] resolves to nothing, I'm thinking you
 haven't saved/restored this property.  Is this running in a Repair or
 Upgrade?

 --
 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: 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 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. What am I missing? I also tried passing the INSTALLDIR in the
 CustomAction tag with the Directory attribute, but it comes back saying
 that it can't be something in brackets.


 [CustomAction]
 public static ActionResult SetEfxZlibLibrary(Session session) {
 session.Log(Begin CA);

 string installDirectory = session[INSTALLDIR];

 // 
 }


 ?xml version=1.0 encoding=UTF-8?
 Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
   ?include Includes.wxi ?
 Fragment
 CustomAction Id='SetEfxZlibLibraryAction'
 BinaryKey='CustomActionBinary' DllEntry='SetEfxZlibLibrary'
 Execute='immediate'
   Return='check'/

 Binary Id=CustomActionBinary
 SourceFile=$(var.CustomInstallActionsFile)/
 /Fragment
 /Wix



 Thanks,

 Mark Freedman


 --
 AlienVault Unified Security Management (USM) platform delivers complete
 security visibility with the essential security capabilities. Easily and
 efficiently configure, manage, and operate all of your security controls
 from a single console and one unified framework. Download a free trial.
 http://p.sf.net/sfu/alienvault_d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 NOTICE: This electronic mail message and any files transmitted with it are
 intended exclusively for the individual or entity to which it is addressed.
 The message, together with any attachment, may contain confidential and/or
 privileged information.
 Any unauthorized review, use, printing, saving, copying, disclosure or
 distribution is strictly prohibited. If you have received this message in
 error, please immediately advise the sender by reply email and delete all
 copies.



 --
 AlienVault Unified Security Management (USM) platform delivers complete
 security visibility with the essential 

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 InstallFiles, since the 
files aren't actually installed. Is there a set list of the action steps?

Exception thrown by custom action:
System.Reflection.TargetInvocationException: Exception has been thrown by the 
target of an invocation. --- 
Microsoft.Deployment.WindowsInstaller.InstallerException: Cannot access session 
details from a non-immediate custom action
   at Microsoft.Deployment.WindowsInstaller.Session.ValidateSessionAccess()
   at Microsoft.Deployment.WindowsInstaller.Session.get_Item(String property)
   at CustomInstallActions.CustomActions.SetEfxZlibLibrary(Session session)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, 
Object target, Object arguments, SignatureStruct sig, MethodAttributes 
methodAttributes, RuntimeType typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, 
Object target, Object arguments, Signature sig, MethodAttributes 
methodAttributes, RuntimeType typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags 
invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean 
skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags 
invokeAttr, Binder binder, Object parameters, CultureInfo culture)
   at 
Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomAction(Int32
 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr)

When I changed the Action to execute After=InstallFinalize, I was able to 
access the session details and the files were in the install directory. 
However, my action is failing to do what it's trying to do because of 
permissions. The action is attempting to make a copy of a file with a new name 
based on if the system is 32/64. I'm guessing the step I'm in in the installer 
isn't a step where it has permissions. I'm not sure where I should be doing 
these actions, I was able to get these to function in a Visual Studio 
deployment project custom action without much grief.


Mark Freedman


-Original Message-
From: Phil Wilson [mailto:phil.wil...@mvps.org] 
Sent: Monday, May 20, 2013 1:18 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Getting install path from Wix Custom Action

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 custom 
action and the files haven't been copied yet. You need immediate=no, I think 
that's the syntax. 

Custom actions have conditions. A typical condition to cause a CA to run only 
at install time is (case sensitive) Not Installed 

Phil 

-Original Message-
From: Freedman, Mark P. [mailto:mark.freed...@jhuapl.edu]
Sent: Monday, May 20, 2013 9:55 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Getting install path from Wix Custom Action

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 MessageBoxes in 
the CA for debugging purposes. When the CA is firing, the files havne't been 
copied over to the install directory yet. I'd think that my files would be 
there at the time since the action isn't firing until after InstallFiles. What 
other options do I have?

Also, my custom action appears to be firing when I uninstall the program.
Again, this is confusing to me given that the action isn't firing until after 
InstallFiles.

Thanks.

Mark Freedman


-Original Message-
From: John Cooper [mailto:jocoo...@jackhenry.com]
Sent: Monday, May 20, 2013 12:49 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Getting install path from Wix Custom Action

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 public 
property.  If session[INSTALLDIR] resolves to nothing, I'm thinking you 
haven't saved/restored this property.  Is this running in a Repair or 
Upgrade?

--
John Merryweather Cooper
Build  Install Engineer - ESA
Jack Henry  Associates, Inc.®
Shawnee Mission, KS  66227

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 and stderr to the msi log

Is this a Windows (NT) service? (ie net start servicename)


 From: Uma Harano uhar...@esri.com
Sent: Friday, May 17, 2013 4:51 PM
To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] log stdout and stderr to the msi log

The service I have been asked to create can only be created by calling the java 
process.

-Original Message-
From: Mike Carlson [mailto:corf...@gmail.com]
Sent: Friday, May 17, 2013 2:11 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] log stdout and stderr to the msi log

I don't know the direct answer to your question, but taking a step back, have 
you considered any alternatives instead of adding a custom action?
Custom actions are notoriously difficult to write correctly, and very, very 
easy to get wrong. A custom action that invokes an external process (such as 
java.exe) is *especially* likely to result in a product that doesn't reliably 
install or repair on all machines, and may also be difficult to service or 
patch.

What problem is your custom action meant to solve? Perhaps there is another way 
to solve that problem, without having to write and maintain a custom action at 
all.

On Fri, May 17, 2013 at 1:46 PM, Uma Harano uhar...@esri.com wrote:

 Hi,
 Is there a way by which I can log (to the msi log) the stdout and 
 strerr while running my custom action that is written in C++? I am 
 calling a process using java.exe and I need to log the output to the 
 msi log. Is this possible?

 Thanks!
 Uma Harano

 --
  AlienVault Unified Security Management (USM) platform 
 delivers complete security visibility with the essential security 
 capabilities. Easily and efficiently configure, manage, and operate 
 all of your security controls from a single console and one unified 
 framework. Download a free trial.
 http://p.sf.net/sfu/alienvault_d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 P. mark.freed...@jhuapl.edu wrote:

 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 InstallFiles, since the files aren't actually installed. Is there a
 set list of the action steps?

 Exception thrown by custom action:
 System.Reflection.TargetInvocationException: Exception has been thrown by
 the target of an invocation. ---
 Microsoft.Deployment.WindowsInstaller.InstallerException: Cannot access
 session details from a non-immediate custom action
at Microsoft.Deployment.WindowsInstaller.Session.ValidateSessionAccess()
at Microsoft.Deployment.WindowsInstaller.Session.get_Item(String
 property)
at CustomInstallActions.CustomActions.SetEfxZlibLibrary(Session session)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo
 method, Object target, Object arguments, SignatureStruct sig,
 MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo
 method, Object target, Object arguments, Signature sig, MethodAttributes
 methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
 invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean
 skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
 invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at
 Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomAction(Int32
 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr)

 When I changed the Action to execute After=InstallFinalize, I was able
 to access the session details and the files were in the install directory.
 However, my action is failing to do what it's trying to do because of
 permissions. The action is attempting to make a copy of a file with a new
 name based on if the system is 32/64. I'm guessing the step I'm in in the
 installer isn't a step where it has permissions. I'm not sure where I
 should be doing these actions, I was able to get these to function in a
 Visual Studio deployment project custom action without much grief.


 Mark Freedman


 -Original Message-
 From: Phil Wilson [mailto:phil.wil...@mvps.org]
 Sent: Monday, May 20, 2013 1:18 PM
 To: 'General discussion for Windows Installer XML toolset.'
 Subject: Re: [WiX-users] Getting install path from Wix Custom Action

 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 custom action and the files haven't been copied yet. You need
 immediate=no, I think that's the syntax.

 Custom actions have conditions. A typical condition to cause a CA to run
 only at install time is (case sensitive) Not Installed

 Phil

 -Original Message-
 From: Freedman, Mark P. [mailto:mark.freed...@jhuapl.edu]
 Sent: Monday, May 20, 2013 9:55 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Getting install path from Wix Custom Action

 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
 MessageBoxes in the CA for debugging purposes. When the CA is firing, the
 files havne't been copied over to the install directory yet. I'd think that
 my files would be there at the time since the action isn't firing until
 after InstallFiles. What other options do I have?

 Also, my custom action appears to be firing when I uninstall the program.
 Again, this is confusing to me given that the action isn't firing until
 after InstallFiles.

 Thanks.

 Mark Freedman


 -Original Message-
 From: John Cooper [mailto:jocoo...@jackhenry.com]
 Sent: Monday, May 20, 2013 12:49 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Getting install path from Wix Custom Action

 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 

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 uhar...@esri.com
Sent: Monday, May 20, 2013 12:53 PM
To: chr...@iswix.com chr...@iswix.com, General discussion for Windows 
Installer XML toolset. wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] log stdout and stderr to the msi log

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 and stderr to the msi log

Is this a Windows (NT) service? (ie net start servicename)


From: Uma Harano uhar...@esri.com
Sent: Friday, May 17, 2013 4:51 PM
To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] log stdout and stderr to the msi log

The service I have been asked to create can only be created by calling the 
java process.

-Original Message-
From: Mike Carlson [mailto:corf...@gmail.com]
Sent: Friday, May 17, 2013 2:11 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] log stdout and stderr to the msi log

I don't know the direct answer to your question, but taking a step back, 
have you considered any alternatives instead of adding a custom action?
Custom actions are notoriously difficult to write correctly, and very, very 
easy to get wrong. A custom action that invokes an external process (such 
as java.exe) is *especially* likely to result in a product that doesn't 
reliably install or repair on all machines, and may also be difficult to 
service or patch.

What problem is your custom action meant to solve? Perhaps there is another 
way to solve that problem, without having to write and maintain a custom 
action at all.

On Fri, May 17, 2013 at 1:46 PM, Uma Harano uhar...@esri.com wrote:

 Hi,
 Is there a way by which I can log (to the msi log) the stdout and 
 strerr while running my custom action that is written in C++? I am 
 calling a process using java.exe and I need to log the output to the 
 msi log. Is this possible?

 Thanks!
 Uma Harano

 --
  AlienVault Unified Security Management (USM) platform 
 delivers complete security visibility with the essential security 
 capabilities. Easily and efficiently configure, manage, and operate 
 all of your security controls from a single console and one unified 
 framework. Download a free trial.
 http://p.sf.net/sfu/alienvault_d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls 
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls 
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls 
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.

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 mailing list archive at Nabble.com.

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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.chen...@gmail.com] 
Sent: Monday, May 20, 2013 1:53 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Delete folders  files only on Uninstall

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 mailing list archive at Nabble.com.

--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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?

 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

 -Original Message-
 From: Ravishankar [mailto:ravishankar.krishnasw...@idsnext.com]
 Sent: Monday, May 20, 2013 12:56 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: [WiX-users] Patches.file timestamp getting changed

 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 timestamp is getting changed to today's
 date(05/20/2013)


 Also when i uninstall the patch the timestamp of the file is back to
 01/01/2013 which is as expected


 Can anyone let me know the reason for this.

 Thanks and Regards
 Ravi


 
 --
 AlienVault Unified Security Management (USM) platform delivers complete
 security visibility with the essential security capabilities. Easily and
 efficiently configure, manage, and operate all of your security controls
 from a single console and one unified framework. Download a free trial.
 http://p.sf.net/sfu/alienvault_d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



 --
 AlienVault Unified Security Management (USM) platform delivers complete
 security visibility with the essential security capabilities. Easily and
 efficiently configure, manage, and operate all of your security controls
 from a single console and one unified framework. Download a free trial.
 http://p.sf.net/sfu/alienvault_d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users