Re: [WiX-users] Custom Action Reuse

2015-06-09 Thread John Cooper
I either table drive the custom action (usually) or if that doesn't really make sense, I reference the properties in the custom action indirectly (using properties set to properties). -- John Merryweather Cooper Senior Software Engineer | Integration Development Group | Enterprise Notification

Re: [WiX-users] Custom Action Based on Control Checkbox Condition

2015-05-06 Thread lcollins
I was able to get it to write the URL to the config by adding the control property to the Value of the Proerty Id: Property Id="WEB_DAV_URL" Value="WEB_DAV_URL" /> The only problem with this is that WEB_DAV_URL displays in the UI Edit field. Is there any way around this? -- View this message in

Re: [WiX-users] Custom Action to Read XML value

2015-03-06 Thread Davis, Jeff
that does this Where Value = "d26s30c198.bp41441001.xml" And MY_PROPERTY would equal "41441001" -Original Message- From: Joel Budreau [mailto:joel.budr...@gmail.com] Sent: Friday, March 06, 2015 2:33 PM To: General discussion about the WiX toolset. S

Re: [WiX-users] Custom Action to Read XML value

2015-03-06 Thread Joel Budreau
ix Installer and would just > like to have XML read capability in my .WXS code so I can continue. > > > -Original Message- > From: John Cooper [mailto:jocoo...@jackhenry.com] > Sent: Friday, March 06, 2015 10:23 AM > To: General discussion about the WiX toolset.

Re: [WiX-users] Custom Action to Read XML value

2015-03-06 Thread Davis, Jeff
...@jackhenry.com] Sent: Friday, March 06, 2015 10:23 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Custom Action to Read XML value Yes. It's not very complicated. The specific steps in the innermost custom action (there is another custom action that drives this one f

Re: [WiX-users] Custom Action to Read XML value

2015-03-06 Thread John Cooper
Yes. It's not very complicated. The specific steps in the innermost custom action (there is another custom action that drives this one from a table) are: 1) load path to XML file from property; 2) load XPATH from property; 3) create an XmlDocument instance 4) use the TrySafeLoad method to see i

Re: [WiX-users] Custom action without having to install .net

2015-02-19 Thread Phill Hogland
When I started writing my CAs I studied the wix source, particularly the CAs that are part of the wix extensions, like the GamingExtension. Download the wix source code zip, and look at the code at "wix3\src\ext\GamingExtension\ca" (and in the other "wix3\src\ext" projects). Those .Net objects/me

Re: [WiX-users] Custom action without having to install .net

2015-02-18 Thread Sarvagya Pant
Thanks all. It seems using c++ for Custom action would be a good choice. Currently in my C# code I am using functions like string.IsNullOrEmpty, string.Format, ServiceController. Are these functions available in C++. Also to get the parameter passed to msi, I have to use string ip = session["IPAD

Re: [WiX-users] Custom action without having to install .net

2015-02-18 Thread Phill Hogland
If you create a custom action with .Net, then a compatible version of .Net must be installed. However you could deploy your msi as part of a bundle, and use the bootstrapper to install .net first as part of your chain, rather than expecting the user to install .Net as a separate step. You cannot

Re: [WiX-users] Custom action without having to install .net

2015-02-18 Thread Tunney, Stephen
. Subject: Re: [WiX-users] Custom action without having to install .net Anything written in managed code using the dot net framework will have a dependency on .net your options are that you write the custom action in c++ or you compile it in .net 2 in the hope that they have that installed. One

Re: [WiX-users] Custom action without having to install .net

2015-02-18 Thread Craig Reeves
Anything written in managed code using the dot net framework will have a dependency on .net your options are that you write the custom action in c++ or you compile it in .net 2 in the hope that they have that installed. One other option is to use a boot chainer like Burn. this will install the dotn

Re: [WiX-users] Custom action "System.IO.DirectoryNotFoundException" on second Installation

2015-02-05 Thread Phil Wilson
The proper way is RemoveFile. Windows Installer supplies these things so you don't need to write code and get yourself in this kind of trouble :) --- Phil Wilson On Wed, Feb 4, 2015 at 7:47 PM, Sarvagya Pant wrote: > Hi Phil and Jacob. One approach I could do is create another functi

Re: [WiX-users] Custom action "System.IO.DirectoryNotFoundException" on second Installation

2015-02-04 Thread Sarvagya Pant
Hi Phil and Jacob. One approach I could do is create another function in Custom action that will attempt to remove the residual files during uninstall. ie: [CustomAction] public static ActionResult ClearLeftOvers(Session session) { session.Log("Call of ClearLeftOvers");

Re: [WiX-users] Custom action "System.IO.DirectoryNotFoundException" on second Installation

2015-02-04 Thread Phil Wilson
That looks like an immediate custom action, and that's: 1. Something you shouldn't do as an immediate custom action. If you really really need to do that, take heed of Jacob's advice, but make it deferred and add a rollback custom action to undo all that in case the install fails. 2. Immediate cus

Re: [WiX-users] Custom action "System.IO.DirectoryNotFoundException" on second Installation

2015-02-04 Thread Hoover, Jacob
Is the file/directory in use when the delete was attempted? Is there a reason you have to delete the file instead of just overwriting it? Have you pondered using a RemoveFile element to explicitly remove the files you are creating in your CA on uninstall? -Original Message- From: Sarv

Re: [WiX-users] custom action logging?

2015-01-30 Thread Phil Wilson
There are restrictions on calling logging from a DoAction event, the underlying MsiProcessMessage call doesn't work. The documentation is rather poor and probably incorrect in some ways, so I'd ignore the Serer 2003 reference: https://msdn.microsoft.com/en-us/library/aa368322(v=vs.85).aspx --

Re: [WiX-users] Custom Action not be called

2015-01-30 Thread John Cooper
xt: 431050 |jocoo...@jackhenry.com -Original Message- From: Craig Reeves [mailto:craig.ree...@kraygsoft.com] Sent: Friday, January 30, 2015 8:24 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Custom Action not be called Yes I know but due to the nature of

Re: [WiX-users] Custom Action not be called

2015-01-30 Thread Craig Reeves
file. I have never missed the [CustomAction] before. It was just a mistake I was too close to see. From: John Cooper Sent: 30 January 2015 13:41 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Custom Action not be called It is esse

Re: [WiX-users] Custom Action not be called

2015-01-30 Thread John Cooper
It is essential that managed custom actions have an [CustomAction] attribute for each method call that will be used as a custom action. E.g., [CustomAction] Public static ActionResult DoSomething(Session session) { // code here } By having the Return attribute set to "ignore", the errors that

Re: [WiX-users] Custom Action not be called

2015-01-30 Thread Craig Reeves
Sorry everyone the answer was I missed the [CustomAction] about the routine. -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, i

Re: [WiX-users] Custom Action after a Dialog

2015-01-29 Thread Phil Wilson
Maybe "after a dialog" means when the Next button is clicked, if so this is relevant: http://wix.tramontana.co.hu/tutorial/events-and-actions/control-your-controls --- Phil Wilson On Thu, Jan 29, 2015 at 7:49 AM, Joel Budreau wrote: > Hey Nagesh, > > What you’re looking for will be

Re: [WiX-users] Custom Action after a Dialog

2015-01-29 Thread Joel Budreau
Hey Nagesh, What you’re looking for will be really similar to this example - http://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/run_program_after_install.html Joel > On Jan 28, 2015, at 2:22 PM, Nagesh Hora wrote: > > Please help me in calling an custom action after a dia

Re: [WiX-users] Custom action using CAQuietExec fails on uninstall (likely permissions issue)

2015-01-11 Thread Jeremiahf
Are you using conditions in the install execute sequence? On Fri, Jan 9, 2015 at 9:31 AM, wixtester wrote: > Hi, > >I have a scripted custom action to register a COM+ service on install > and > unregister it during uninstall. > It works fine during install, but fails during uninstall. > > Cu

Re: [WiX-users] Custom Action - Should I return ActionResult.Failure or thrown an exception?

2014-12-04 Thread John Cooper
I think it is more important to be consistent. If it is my intent to trigger a rollback, then I trap and log the exception and return ActionResult.Failure. Otherwise, I generally log and rethrow. Sometimes, I am only interested in setting or clearing a property. In that case, I trap everythi

Re: [WiX-users] Custom action issue when msi is generated on Windows 8.1 and installed on Windows 8 or Windows 7

2014-09-15 Thread Noel Farrugia
Hi, I had a similar issue, what i did was remove each file from the folder and then remove the folder. > From: sharada.b...@outlook.com > To: wix-users@lists.sourceforge.net > Date: Mon, 15 Sep 2014 13:51:02 + > Subject: Re: [WiX-users] Custom action issue when msi is generate

Re: [WiX-users] Custom action issue when msi is generated on Windows 8.1 and installed on Windows 8 or Windows 7

2014-09-15 Thread sharada boda
Hi, I used RemoveFolderEx as suggested. But I am still facing the same issue. The msi when generated on Windows 8.1 system runs fine and uninstalls fine on other Windows 8.1 systems. But it does not uninstall on Windows 8 or Windows 7 system. I used the above code a

Re: [WiX-users] Custom action issue when msi is generated on Windows 8.1 and installed on Windows 8 or Windows 7

2014-09-10 Thread Rob Mensching
IIRC, you can condition the action to get what you want. _ Short replies here. Complete answers over there: http://www.firegiant.com/ -- Want excitement? Manuall

Re: [WiX-users] Custom action issue when msi is generated on Windows 8.1 and installed on Windows 8 or Windows 7

2014-09-09 Thread sharada boda
Hi Hoover, The reason why I’m using custom action and calling command prompt and not RemoveFolderEx is because I need to: Always delete the folder on uninstall (which will work with removeFolderEx) Delete conditionally on upgrade (i.e. I have modified the UI and provided a checkbox in Install

Re: [WiX-users] Custom action issue when msi is generated on Windows 8.1 and installed on Windows 8 or Windows 7

2014-09-09 Thread Hoover, Jacob
Why reinvent the wheel? http://wixtoolset.org/documentation/manual/v3/xsd/util/removefolderex.html -Original Message- From: sharada boda [mailto:sharada.b...@outlook.com] Sent: Tuesday, September 09, 2014 6:29 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom action is

Re: [WiX-users] Custom Action cannot find dependent assembly

2014-07-17 Thread John Cooper
Yes. True ..\packages\Microsoft.Web.Administration.7.0.0.0\lib\net20\Microsoft.Web.Administration.dll The True inside the reference is what you need. -- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS  66227 Office:  9

Re: [WiX-users] Custom action to run .bat file to install service

2014-04-23 Thread Pavan Konduru
Use this: -Original Message- From: Eric Chaland [mailto:e...@clm-consulting.com] Sent: Wednesday, April 23, 2014 1:10 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom action to run .bat file to install service Hello, I need to install and customize a service

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-28 Thread wixard
Thanks Pavan, Phil. Turned out I had defined my custom action incorrectly: Since this is a type 50 CA, Property should be set to executable name. So this works: I changed this to use CAQuietExec so the console window doesn't pop up. Works well now. Thanks! -- View this message in context:

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-27 Thread Phil Wilson
his: > > http://wix.tramontana.co.hu/tutorial/standard-libraries/silence-please > > --Pavan > > -Original Message- > From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] > Sent: Wednesday, March 26, 2014 5:15 PM > To: General discussion about the WiX toolset. > Subject: Re:

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-26 Thread Pavan Konduru
Pavan -Original Message- From: wixard [mailto:amit.mo...@citrix.com] Sent: Wednesday, March 26, 2014 3:51 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom action from ControlEvent fails Thanks Pavan. "Execute" is set to "immediate" if not specifie

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-26 Thread Pavan Konduru
From: wixard [mailto:amit.mo...@citrix.com] Sent: Wednesday, March 26, 2014 3:51 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom action from ControlEvent fails Thanks Pavan. "Execute" is set to "immediate" if not specified. I explicitly set it to "immedi

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-26 Thread wixard
Thanks Pavan. "Execute" is set to "immediate" if not specified. I explicitly set it to "immediate". Still get the same error. Setting to "deferred" generates the error: DEBUG: Error 2762: Unable to schedule operation. The action must be scheduled between InstallInitialize and InstallFinalize.

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-26 Thread Pavan Konduru
The "Execute" element is missing in the custom action. Set it to "deferred" or "immediate" --Pavan -Original Message- From: Amit Mohan [mailto:amit.mo...@citrix.com] Sent: Wednesday, March 26, 2014 2:30 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom action from Contr

Re: [WiX-users] Custom Action error Handling in Wix 3.7

2014-03-19 Thread Pavan Konduru
ut the WiX toolset. Subject: Re: [WiX-users] Custom Action error Handling in Wix 3.7 It's clear your catch handler is being called because of the EXCEPTION property being set. You're probably having an exception in the course of handling the exception. In general, having things that can

Re: [WiX-users] Custom Action error Handling in Wix 3.7

2014-03-19 Thread Bryan Wolf
th [mailto:the_red_baro...@hotmail.com] Sent: Tuesday, March 18, 2014 9:38 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Custom Action error Handling in Wix 3.7 Pavan, Error is a generic SQL Exception Property(C): EXCEPTIONDETAILS = System.Data.SqlClient.SqlException (0x8013

Re: [WiX-users] Custom Action error Handling in Wix 3.7

2014-03-19 Thread John Cooper
2014 9:38 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Custom Action error Handling in Wix 3.7 Pavan, Error is a generic SQL Exception Property(C): EXCEPTIONDETAILS = System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'Use

Re: [WiX-users] Custom Action error Handling in Wix 3.7

2014-03-18 Thread Alan Smith
en() at CustomActions.GetDBVersion(Session session) === Logging stopped: 3/18/2014 15:51:54 === Regards, > From: pavan.kond...@accelrys.com > To: wix-users@lists.sourceforge.net > Date: Tue, 18 Mar 2014 18:45:08 -0700 > Subject: Re: [WiX-users] Custom Action error Handling in Wix 3.7

Re: [WiX-users] Custom Action error Handling in Wix 3.7

2014-03-18 Thread Pavan Konduru
Hi Alan, Can you post the error message that you see in the log? --Pavan -Original Message- From: Alan Smith [mailto:the_red_baro...@hotmail.com] Sent: Tuesday, March 18, 2014 4:56 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Action error Handling in Wix 3.7 I thi

Re: [WiX-users] Custom action to write into a file while installing and uninstalling MSI file

2014-02-26 Thread Rob Mensching
: Wednesday, February 26, 2014 1:24 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Custom action to write into a file while installing and uninstalling MSI file Is this just for logging purposes? Is the normal MSI log not sufficient? If it's not, then depending on

Re: [WiX-users] Custom action to write into a file while installing and uninstalling MSI file

2014-02-26 Thread John Ludlow
Is this just for logging purposes? Is the normal MSI log not sufficient? If it's not, then depending on your situation, there's a number of options: * The XmlFile element in the Util extension can be tied to a component and update a target file when that component is installed or uninstalled. *

Re: [WiX-users] Custom Action Failing on Clean Windows 8.1 machine

2014-02-12 Thread pmarshall
Found the solution to my own problem. The custom action had a config file for the dll, but it wasn't named CustomAction.Config. I added a CustomAction.Config file to the project, set it to a build action of "Content" and specified that the custom action should run against framework 4.0 Which s

Re: [WiX-users] Custom Action Failing on Clean Windows 8.1 machine

2014-02-12 Thread pmarshall
Interestingly if I add the 3.5 framework to the machine I get a different error in the log: Action 10:41:33: GetOfficeVersions. Action start 10:41:33: GetOfficeVersions. SFXCA: Extracting custom action to temporary directory: C:\Users\DEVELO~1\AppData\Local\Temp\MSI806C.tmp-\ SFXCA: Binding to CL

Re: [WiX-users] Custom Action exe file run on background

2014-01-30 Thread Phil Wilson
t > you've already attempted to do showing that you've actually really tried to > figure out what is needed *decreases* the chance that anyone will respond. > > -Original Message- > From: Carter Young [mailto:ecyo...@grandecom.net] > Sent: Wednesday, January 29,

Re: [WiX-users] Custom Action exe file run on background

2014-01-29 Thread Rob Mensching
ailto:ecyo...@grandecom.net] Sent: Wednesday, January 29, 2014 8:01 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action exe file run on background Try not to Double Post... Someone will get to you... Quoting Fedor Pranovich : > Hello, > > I have one problem with installe

Re: [WiX-users] Custom Action exe file run on background

2014-01-29 Thread Carter Young
Use my Quote, plus what Phil Added regarding AN355 in the SiLabs KB, and you should be on your way to completion. Quoting Carter Young : > ...and look at the SiLabs Installer to see if you can pass any > parameters, and then Use the Return Attribute to wait for the > Installer to complete

Re: [WiX-users] Custom Action exe file run on background

2014-01-29 Thread Carter Young
Try not to Double Post... Someone will get to you... Quoting Fedor Pranovich : > Hello, > > I have one problem with installer > > > Directory="PRODUCTDIRECTORYFOLDER" Execute="deferred" Impersonate="no" > Return="ignore" > ExeCommand="[PRODUCTDIRECTORYFOLDER]SiLabs_CP210x/CP210xVCPInstaller.exe

Re: [WiX-users] Custom Action exe file run on background

2014-01-29 Thread David Connet
I)? Dave On 1/29/2014 6:29 AM, John Cooper wrote: > How I hate auto-correct. s/make to have to/may have to/ > > -Original Message- > From: John Cooper > Sent: Wednesday, January 29, 2014 8:25 AM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-

Re: [WiX-users] Custom Action exe file run on background

2014-01-29 Thread John Cooper
How I hate auto-correct. s/make to have to/may have to/ -Original Message- From: John Cooper Sent: Wednesday, January 29, 2014 8:25 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Custom Action exe file run on background In the WIX.chm, look for "How To G

Re: [WiX-users] Custom Action exe file run on background

2014-01-29 Thread John Cooper
In the WIX.chm, look for "How To Guides -> How To: User Interface and Localization -> How To Run the Installed Application After Setup" for ideas on how you can accomplish this. Note that you make to have to schedule the run of your executable substantially later than "InstallFiles". -- John

Re: [WiX-users] Custom Action Issue during MSI installation rollback

2014-01-10 Thread Blair Murri
Most of the time if you can condition your custom actions on the action states of some related component you will have more reliability in all use cases. > Date: Fri, 10 Jan 2014 11:22:29 -0800 > From: phildgwil...@gmail.com > To: wix-users@lists.sourceforge.net > Subject: Re

Re: [WiX-users] Custom Action Build Error

2014-01-10 Thread Blair Murri
instead of the backslash caused your build error. -Blair > From: bria...@gmail.com > Date: Fri, 10 Jan 2014 11:23:26 -0500 > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Custom Action Build Error > > Thanks, it is actually the file at C:\Program Files > (x

Re: [WiX-users] Custom Action Issue during MSI installation rollback

2014-01-10 Thread Phil Wilson
Looking at a complete verbose log may help. Otherwise there's not enough info here to say what's wrong. It doesn't help much to say that the CA is "something like this". For example, what type is it? We could assume it's deferred, but it's better to know for a fact. 1. I assume the V1 install has

Re: [WiX-users] Custom Action Build Error

2014-01-10 Thread Brian Enderle
Thanks, it is actually the file at C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\wix.ca.targets that needed updated. Brian Brian If you can't explain it simply, you don't understand it well enough. - Albert Einstein On Fri, Jan 10, 2014 at 10:51 AM, Carter Young wrote: > Try Editing wix.

Re: [WiX-users] Custom Action Build Error

2014-01-10 Thread Carter Young
Try Editing wix.ca.targets to read Looks like the Preprocessor Variable for $(WixToolPath) doesn't contain the last trailing slash for the path, then submit a Bug Request to the WiX Bugtracker and reference this Post, if and only if the fix works. If all goes well, the bug fix wil

Re: [WiX-users] Custom action was working now it isn't.... HELP...

2013-10-31 Thread Christopher Painter
nd profiling it. From: "Phil Wilson" Sent: Thursday, October 31, 2013 3:57 PM To: "General discussion about the WiX toolset." Subject: Re: [WiX-users] Custom action was working now it isn't HELP... As a random guess based on the

Re: [WiX-users] Custom action was working now it isn't.... HELP...

2013-10-31 Thread Phil Wilson
[mailto:chr...@iswix.com] > Sent: October-31-13 4:18 PM > To: General discussion about the WiX toolset.; General discussion about > the WiX toolset. > Subject: Re: [WiX-users] Custom action was working now it isn't HELP... > > Hmmm... I'm guessing there was somethi

Re: [WiX-users] Custom action was working now it isn't.... HELP...

2013-10-31 Thread Steven Ogilvie
- From: Christopher Painter [mailto:chr...@iswix.com] Sent: October-31-13 4:18 PM To: General discussion about the WiX toolset.; General discussion about the WiX toolset. Subject: Re: [WiX-users] Custom action was working now it isn't HELP... Hmmm... I'm guessing there was somethin

Re: [WiX-users] Custom action was working now it isn't.... HELP...

2013-10-31 Thread Bruce Cran
On 10/31/2013 7:50 PM, Steven Ogilvie wrote: > So weird... > > Was working before, stopped working... function name had 26 characters > removed 7 characters now it works... Something we discussed today was how the CA log name when calling WcaInitialize() has a maximum of 32 characters - anything

Re: [WiX-users] Custom action was working now it isn't.... HELP...

2013-10-31 Thread Christopher Painter
discussion about the WiX toolset." Subject: Re: [WiX-users] Custom action was working now it isn't HELP... So weird... Was working before, stopped working... function name had 26 characters removed 7 characters now it works... Go figure... Steve -Original Message- Fr

Re: [WiX-users] Custom action was working now it isn't.... HELP...

2013-10-31 Thread Steven Ogilvie
toolset. Subject: Re: [WiX-users] Custom action was working now it isn't HELP... http://stackoverflow.com/questions/3560370/custom-action-in-c-sharp-used-via-wix-fails-with-error-1154 Chris has quite a few suggestions on what could cause that error. -Original Message- From: StevenOg

Re: [WiX-users] Custom action was working now it isn't.... HELP...

2013-10-31 Thread Hoover, Jacob
http://stackoverflow.com/questions/3560370/custom-action-in-c-sharp-used-via-wix-fails-with-error-1154 Chris has quite a few suggestions on what could cause that error. -Original Message- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: Thursday, October 31, 2013 2:05 PM To: wix-users

Re: [WiX-users] Custom Action projects missing in WiX 3.8/VS2013

2013-10-21 Thread Bob Arnson
; > Looks like Bob was still adding stuff, so possibly the next weekly will have > it. > > -Original Message- > From: Christopher Painter [mailto:chr...@iswix.com] > Sent: Monday, October 21, 2013 12:31 PM > To: General discussion about the WiX toolset.; wix-users@list

Re: [WiX-users] Custom Action projects missing in WiX 3.8/VS2013

2013-10-21 Thread Christopher Painter
ck so it's progress as far as I'm concerned. From: "Hoover, Jacob" Sent: Monday, October 21, 2013 12:45 PM To: "General discussion about the WiX toolset." Subject: Re: [WiX-users] Custo

Re: [WiX-users] Custom Action projects missing in WiX 3.8/VS2013

2013-10-21 Thread Sean Hall
I see now that you created a bug, too (http://wixtoolset.org/issues/4154/). Guess I should have checked that first. > From: chr...@iswix.com > To: wix-users@lists.sourceforge.net; wix-users@lists.sourceforge.net > Date: Mon, 21 Oct 2013 10:30:56 -0700 > Subject: Re: [WiX-users] C

Re: [WiX-users] Custom Action projects missing in WiX 3.8/VS2013

2013-10-21 Thread Hoover, Jacob
ut the WiX toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action projects missing in WiX 3.8/VS2013 I found the same and left a note on Bob's blog post as to such. From: "Sean Hall" Sent: Monday, October 21, 201

Re: [WiX-users] Custom Action projects missing in WiX 3.8/VS2013

2013-10-21 Thread Christopher Painter
I found the same and left a note on Bob's blog post as to such. From: "Sean Hall" Sent: Monday, October 21, 2013 12:16 PM To: "wix-users@lists.sourceforge.net" Subject: [WiX-users] Custom Action projects missing in WiX 3.8/VS2013 I'm testing out WiX 3.8

Re: [WiX-users] Custom Action, feature condition and silent install

2013-09-13 Thread Ralph
Before CostFinalize works! Now I have the custom action in both InstallUISequence and InstallExecuteSequence. Thank you guys for your help. BTW, today I finally started getting information about my custom action in the log, yesterday whatever I did, no custom action was mentioned even if it was

Re: [WiX-users] Custom Action, feature condition and silent install

2013-09-12 Thread Steven Ogilvie
...@racelogic.co.uk] Sent: September-12-13 11:44 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action, feature condition and silent install No custom action is executed and no property is set: Action start 16:32:54: CostFinalize. MSI (s) (A0:CC) [16:32:54:363]: Doing action

Re: [WiX-users] Custom Action, feature condition and silent install

2013-09-12 Thread Steven Ogilvie
@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action, feature condition and silent install Steven Ogilvie wrote > Have you tried After CostFinalize Unfortunately it doesn't work either... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.co

Re: [WiX-users] Custom Action, feature condition and silent install

2013-09-12 Thread Ralph
No custom action is executed and no property is set: Action start 16:32:54: CostFinalize. MSI (s) (A0:CC) [16:32:54:363]: Doing action: InstallValidate MSI (s) (A0:CC) [16:32:54:363]: Note: 1: 2205 2: 3: ActionText Action ended 16:32:54: CostFinalize. Return value 1. MSI (s) (A0:CC) [16:32:54:36

Re: [WiX-users] Custom Action, feature condition and silent install

2013-09-12 Thread Phil Wilson
gt; Jack Henry & Associates, Inc.(r) > Shawnee Mission, KS 66227 > Office: 913-341-3434 x791011 > jocoo...@jackhenry.com > www.jackhenry.com > > > > -Original Message- > From: Ralph [mailto:ralph.gu...@racelogic.co.uk] > Sent: Thursday, September 12, 2013

Re: [WiX-users] Custom Action, feature condition and silent install

2013-09-12 Thread Ralph
It is product.wxs file. The feature should not be displayed in the UI if the version of the third party application is equal or greater than 5. If the version is older than 5 or the third party application is not installed, the feature should appear in the UI (and be installed by default in silen

Re: [WiX-users] Custom Action, feature condition and silent install

2013-09-12 Thread John Cooper
- From: Ralph [mailto:ralph.gu...@racelogic.co.uk] Sent: Thursday, September 12, 2013 11:21 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action, feature condition and silent install It is product.wxs file. The feature should not be displayed in the UI if the version of th

Re: [WiX-users] Custom Action, feature condition and silent install

2013-09-12 Thread Steven Ogilvie
What does your log file say? -Original Message- From: Ralph [mailto:ralph.gu...@racelogic.co.uk] Sent: September-12-13 10:38 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action, feature condition and silent install Steven Ogilvie wrote > Have you tried Af

Re: [WiX-users] Custom Action, feature condition and silent install

2013-09-12 Thread Ralph
Steven Ogilvie wrote > Have you tried After CostFinalize Unfortunately it doesn't work either... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-feature-condition-and-silent-install-tp7588916p7588918.html Sent from the wix-users mai

Re: [WiX-users] Custom Action, feature condition and silent install

2013-09-12 Thread Steven Ogilvie
Have you tried After CostFinalize -Original Message- From: Ralph [mailto:ralph.gu...@racelogic.co.uk] Sent: September-12-13 10:17 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Action, feature condition and silent install I have a custom action which detects the versi

Re: [WiX-users] Custom action [P]

2013-07-25 Thread Steven Ogilvie
Classification: Public Darn my bad, I should have stated the Before :) -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: July-25-13 12:01 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom action [P] Slight amendment

Re: [WiX-users] Custom action [P]

2013-07-25 Thread Rob Mensching
Slight amendment: "You should NOT call any custom actions **that modify machine state Before InstallInitialize or** After InstallFinalize " On Thu, Jul 25, 2013 at 6:08 AM, Steven Ogilvie wrote: > Classification: Public > You should NOT call any custom actions After InstallFinalize. > > -Ori

Re: [WiX-users] Custom action [P]

2013-07-25 Thread Hoover, Jacob
That's where you use burn to install these "other softwares". -Original Message- From: Chaitanya Sanapala [PC-BLR-DEV] [mailto:chaita...@pointcross.com] Sent: Thursday, July 25, 2013 8:30 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users

Re: [WiX-users] Custom action [P]

2013-07-25 Thread Chaitanya Sanapala [PC-BLR-DEV]
13 18:38:19 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom action [P] Classification: Public You should NOT call any custom actions After InstallFinalize. -Original Message- From: Chaitanya Sanapala [PC-BLR-DEV] [mailto:chaita...@pointcross.com]

Re: [WiX-users] Custom action [P]

2013-07-25 Thread Steven Ogilvie
Classification: Public You should NOT call any custom actions After InstallFinalize. -Original Message- From: Chaitanya Sanapala [PC-BLR-DEV] [mailto:chaita...@pointcross.com] Sent: July-25-13 4:56 AM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Custom action Hi, I'am using w

Re: [WiX-users] Custom Action syntax Issue

2013-07-11 Thread Hoover, Jacob
x.com] Sent: Thursday, July 11, 2013 9:04 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Custom Action syntax Issue Thanks for your reply, The services I am installing are kernel services and not regular services. >From the ServiceInstalll documen

Re: [WiX-users] Custom Action syntax Issue

2013-07-11 Thread Marc Beaudry
use the handle as suggested. Thanks Marc -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: July-11-2013 9:52 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Action syntax Issue You don't/can't. Before e

Re: [WiX-users] Custom Action syntax Issue

2013-07-11 Thread Hoover, Jacob
You don't/can't. Before elaborating, if you want to install a service then why not use the ServiceInstall/ServiceControl elements which exist today? Getting code right which modifies machine state is hard to do, as you have to handle the install/upgrade/repair/remove operations along with roll

Re: [WiX-users] Custom action only on uninstall and not upgrade

2013-07-05 Thread Alain Forget
I think most of us use Properties like this: NOT Installed AND NOT WIX_UPGRADE_DETECTED AND NOT WIX_DOWNGRADE_DETECTED WIX_UPGRADE_DETECTED AND NOT (REMOVE="ALL") (REMOVE="ALL") AND UPGRADINGPRODUCTCODE Installed AND (REMOVE="ALL") AND NOT (WIX_UPGRADE_DETE

Re: [WiX-users] Custom Action ALWAYS with admin rights

2013-06-25 Thread Blair Murri
google/bing it) instead. Blair > Date: Tue, 25 Jun 2013 09:25:29 +0200 > From: lukasha...@gmx.at > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Custom Action ALWAYS with admin rights > > On 2013-06-25 5:23, Bob Arnson wrote: > > On 24-Jun-13 14:17, Lukas

Re: [WiX-users] Custom Action ALWAYS with admin rights

2013-06-25 Thread Lukas Haase
On 2013-06-25 5:23, Bob Arnson wrote: > On 24-Jun-13 14:17, Lukas Haase wrote: >> > Custom actions after InstallFinalize cannot run elevated. Thank you. What would be the best place to include this CA and ensure that it runs elevated? Luke ---

Re: [WiX-users] Custom Action ALWAYS with admin rights

2013-06-24 Thread Bob Arnson
On 24-Jun-13 14:17, Lukas Haase wrote: > Custom actions after InstallFinalize cannot run elevated. -- sig://boB http://joyofsetup.com/ -- This SF.net email is sponsored by Windows: Build for Windows Store. http://

Re: [WiX-users] Custom Action ALWAYS with admin rights

2013-06-24 Thread David Connet
Is the CA immediate or deferred? A quick test (printf("%d\n", IsUserAnAdmin());) on my Win7 system shows IsUserAnAdmin (I am) returns false in a normal cmd shell. But if I elevate, then it's true. (This implies your CA is immediate). Dave From: Lukas Haase

Re: [WiX-users] Custom Action Extraction Issue

2013-05-03 Thread David Watson
. Subject: Re: [WiX-users] Custom Action Extraction Issue I'm already passing the credential info into the CA. Do you mean passing it to the CA, to the pass to the utility and run impersonation in there? I'll have to look and see if there's a way we can guarantee that the utility wi

Re: [WiX-users] Custom Action Extraction Issue

2013-05-03 Thread Joe Barker
I'm already passing the credential info into the CA. Do you mean passing it to the CA, to the pass to the utility and run impersonation in there? I'll have to look and see if there's a way we can guarantee that the utility will be called on first run, as our application is a web-based applicati

Re: [WiX-users] Custom Action Extraction Issue

2013-05-03 Thread David Watson
Can you pass the credential info to the CA and do the impersonation inside the utility? Or install the utility and call it on first run? -Original Message- From: Joe Barker [mailto:joeb...@gmail.com] Sent: 02 May 2013 16:36 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom

Re: [WiX-users] Custom Action triggered from Support Directory

2013-04-22 Thread TimM
il 22, 2013 2:47 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Action triggered from Support Directory Burn would support this, via Payload elements. In 3.8, the current directory is set to the folder for the payload when the Package is b

Re: [WiX-users] Custom Action triggered from Support Directory

2013-04-22 Thread TimM
Thanks Jacob, but does this Payload element only work with bootstrapper .exe installs? We are only making .msi install packages and therefore would this Payload element work in this case? Thanks, Tim. From: Hoover, Jacob [via Windows Installer XML (WiX) toolset] [mailto:ml-node+s687559n75853

Re: [WiX-users] Custom Action triggered from Support Directory

2013-04-22 Thread John Cooper
day, April 22, 2013 2:47 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Action triggered from Support Directory Burn would support this, via Payload elements. In 3.8, the current directory is set to the folder for the payload when the Package is b

Re: [WiX-users] Custom Action triggered from Support Directory

2013-04-22 Thread Hoover, Jacob
Burn would support this, via Payload elements. In 3.8, the current directory is set to the folder for the payload when the Package is being executed. -Original Message- From: TimM [mailto:timmay...@smarttech.com] Sent: Monday, April 22, 2013 1:58 PM To: wix-users@lists.sourceforge.net Su

  1   2   3   4   5   6   >