Re: [WiX-users] Accessing Source directory in Deferred Custom Action (ApDataFolder etc. is working, just not SourceDir)

2010-07-14 Thread daniel.knoepfel
Hi Thanks for your answer. From how i interpret the log file the action returns success (even if there is an exception), which is no surprise as I return this result via C#. Here are the relevant parts from the log: TestCA.SetProperty 3 MSI (s) (54:54)

Re: [WiX-users] Accessing Source directory in Deferred Custom Action (ApDataFolder etc. is working, just not SourceDir)

2010-07-14 Thread daniel.knoepfel
Hi Since I haven't managed to assign the [SourceDir] value to a customAction Data Property, i tried to assign the data assign the value to a property and then assign that property to the a customAction. However, no success, the assigned property is empty. I am sure it is a simple syntax thing

Re: [WiX-users] Accessing Source directory in Deferred Custom Action (ApDataFolder etc. is working, just not SourceDir)

2010-07-14 Thread daniel.knoepfel
Hi I still havent figured out how to solve my issue, but i have found a couple of other aspects. As it seems, the built in property: [SourceDir] is, depending at the time of exeuction, sometimes empty. In the execute sequence, if i use a immediate custom action, scheduled after

Re: [WiX-users] Accessing Source directory in Deferred Custom Action (ApDataFolder etc. is working, just not SourceDir)

2010-07-14 Thread Dan Vasilov
The SourceDir is set by ResolveSource. The actions using this property should be scheduled after this action (see http://msdn.microsoft.com/en-us/library/aa371857(VS.85).aspx). -Original Message- From: daniel.knoep...@noser.com [mailto:daniel.knoep...@noser.com] Sent: Wednesday, July

Re: [WiX-users] Accessing Source directory in Deferred Custom Action (ApDataFolder etc. is working, just not SourceDir)

2010-07-14 Thread daniel.knoepfel
Hi and halleluja I finally managed to access the SourceDir Property in the CustomAction data. The reason i could not access the SourceDir property earlier was simply that I scheduled the customAction to assign the properties to the CustomActiondata to early (It seems UI-sequence and execute

Re: [WiX-users] Accessing Source directory in Deferred Custom Action (ApDataFolder etc. is working, just not SourceDir)

2010-07-14 Thread Wilson, Phil
You need to be careful here because it may not always work. You have impersonate=no in your custom action so you're running with the local system account. If you get to a situation where somebody is installing your setup from a network share it's unlikely to work because the system account

[WiX-users] Accessing Source directory in Deferred Custom Action (ApDataFolder etc. is working, just not SourceDir)

2010-07-13 Thread daniel.knoepfel
Hi I would like to access the SourceDir property in a deferred custom action. While i can access other directories via the CustomAction property (see example below). The SourceDir ActionData remains empty. I must be doing something wrong. I sure it's something silly, that only a wix newby can

Re: [WiX-users] Accessing Source directory in Deferred Custom Action (ApDataFolder etc. is working, just not SourceDir)

2010-07-13 Thread Blair
In a verbose installation log, what is the resulting value of the TestCA property? -Original Message- From: daniel.knoep...@noser.com [mailto:daniel.knoep...@noser.com] Sent: Tuesday, July 13, 2010 8:24 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Accessing Source