Re: [WiX-users] Custom Action Reuse

2015-06-09 Thread John Cooper
t Subject: [WiX-users] Custom Action Reuse The e-mail below is from an external source. Please do not open attachments or click links from an unknown or suspicious origin. This is probably more of a coding-style question, but what's the best approach to reusing C# (or other) custom ac

[WiX-users] Custom Action Reuse

2015-06-09 Thread Griesshammer, Christoph (GE Healthcare)
This is probably more of a coding-style question, but what's the best approach to reusing C# (or other) custom actions that use properties? Is it better to have a separate method for each declaration of the custom action that access properties specific to that declaration and use a common metho

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
gt; 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 from a table) are: > >

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

2015-03-06 Thread Joel Budreau
; Development Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: 431050 > |jocoo...@jackhenry.com > > > > -Original Message- > From: Davis, Jeff [mailto:jda...@nanometrics.com] > Sent: Friday, March 6, 2015 12:02 PM > To: General discussion about the

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
ff [mailto:jda...@nanometrics.com] Sent: Friday, March 6, 2015 12:02 PM To: General discussion about the WiX toolset. Subject: [WiX-users] Custom Action to Read XML value It seems like the answer to every question about reading XML value using Wix is to write a custom action. I have found a couple of so

[WiX-users] Custom Action to Read XML value

2015-03-06 Thread Davis, Jeff
It seems like the answer to every question about reading XML value using Wix is to write a custom action. I have found a couple of solutions that I have tried with no success. Does someone have a working XML Search custom action that you pass a XML filename and a XPath value and it will popul

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

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

2015-02-17 Thread Sarvagya Pant
I have created a custom action using C# .Net 4.0 that is supposed to get the property passed to it and create a file eg: msiexec /i somemsi.msi /l*v out.txt IPADDRESS="127.0.0.1" I have created both MSI that does the work. But as this MSI is to be deployed to customers, I have following questions

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

2015-02-05 Thread Phil Wilson
--- >> Phil Wilson >> >> >> On Wed, Feb 4, 2015 at 6:48 AM, Hoover, Jacob >> wrote: >> > 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

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

2015-02-04 Thread Sarvagya Pant
our CA on uninstall? > > > > -Original Message- > > From: Sarvagya Pant [mailto:sarvagya.p...@gmail.com] > > Sent: Wednesday, February 04, 2015 1:25 AM > > To: General discussion about the WiX toolset. > > Subject: [WiX-users] Custom action >

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

2015-02-04 Thread Phil Wilson
lto:sarvagya.p...@gmail.com] > Sent: Wednesday, February 04, 2015 1:25 AM > To: General discussion about the WiX toolset. > Subject: [WiX-users] Custom action "System.IO.DirectoryNotFoundException" on > second Installation > > I have been making a Wix Installer that i

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

2015-02-04 Thread Hoover, Jacob
: Sarvagya Pant [mailto:sarvagya.p...@gmail.com] Sent: Wednesday, February 04, 2015 1:25 AM To: General discussion about the WiX toolset. Subject: [WiX-users] Custom action "System.IO.DirectoryNotFoundException" on second Installation I have been making a Wix Installer that is supposed to i

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

2015-02-03 Thread Sarvagya Pant
I have been making a Wix Installer that is supposed to install the contents and fetches the parameters passed in terminal and create files. ie. msiexec /i installer.msi /l*v out.log IPADDRESS="1.1.1.1" will create a file lpa.config. I have following wix file and custom action file. WIX: http://s

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

[WiX-users] custom action logging?

2015-01-30 Thread ALFORD Jack
I have a custom action that when called as a check in the InstallUISequence writes data to the log file via session.Log stmts. But when a different method in the same custom action is called from a dialog then none of the session.log stmts are written to the log. Here is how the custom action

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
@jackhenry.com -Original Message- From: Craig Reeves [mailto:craig.ree...@kraygsoft.com] Sent: Friday, January 30, 2015 2:40 AM To: General discussion about the WiX toolset. Subject: [WiX-users] Custom Action not be called I have some problems with managed code custom actions. I have 3

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

[WiX-users] Custom Action not be called

2015-01-30 Thread Craig Reeves
I have some problems with managed code custom actions. I have 3 custom actions but only one of them is working. They are called at different times in InstallExecuteSequence but moving them makes no difference. I know there not getting very far because if I place a message box at the beginning of

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

[WiX-users] Custom Action after a Dialog

2015-01-28 Thread Nagesh Hora
Please help me in calling an custom action after a dialog.. Pointers to examples would help -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slas

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

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

2015-01-09 Thread wixtester
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. Custom Action code to unregister - Log during uninstall contained failed CA c

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

2014-12-04 Thread John Cooper
irez [mailto:nickra...@hotmail.com] Sent: Thursday, December 4, 2014 3:16 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Action - Should I return ActionResult.Failure or thrown an exception? I was just thinking about this: What's the best practice for a custom action that has

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

2014-12-04 Thread Nick Ramirez
I was just thinking about this: What's the best practice for a custom action that has a problem? * Catch all exceptions and return ActionResult.Failure * Allow the exception to be thrown? Maybe ActionResult.Failure should be used for non-exception failed states? Such as the user entered someth

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
/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 issue when msi is generated on Windows 8.1 and

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
@lists.sourceforge.net Subject: [WiX-users] Custom action issue when msi is generated on Windows 8.1 and installed on Windows 8 or Windows 7 Hi, I'm calling a custom action on upgrade and delete of an application. The custom action essentially deletes certain folders (not part o

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

[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, I'm calling a custom action on upgrade and delete of an application. The custom action essentially deletes certain folders (not part of the installation folder) using the command prompt. When the msi is generated on windows 7/ windows 8, and then launched either on windows 7/windows

[WiX-users] custom action spinner(busy)?

2014-08-18 Thread ALFORD Jack
Hello, I'm wanting to call a custom action when the installer starts up. I've added it to the InstallUISequence as in the code below and it does get executed. The problem is that it takes a few seconds for the custom action to run and the hourglass/spinner either stops when I call the custom a

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

2014-07-17 Thread John Cooper
7 Office:  913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: George Fleming [mailto:gef...@microsoft.com] Sent: Wednesday, July 16, 2014 9:17 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Action cannot find dependent assembly Using

[WiX-users] Custom Action cannot find dependent assembly

2014-07-16 Thread George Fleming
Using Wix 3.5, I have a Custom Action that requires an interop .NET assembly. When I run the installer, it complains that the assembly is not found. I've searched for info on how to package the DLL file in the MSI, but only instruction seems to be for Visual Studio, and use of CopyLocal flag. P

[WiX-users] Custom action to modify a text file during installation with install path

2014-06-19 Thread Priya Thadanki
Hi All, I am looking for help in creating a custom action to modify a text file during installation and put the install path in it. If anyone worked previously on this please let me know. Thanks, PT -- HPCC Sys

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

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

2014-04-23 Thread Eric Chaland
Hello, I need to install and customize a service (Tomcat). I've created a custom action but the service doesn't get created. What am I doing wrong? Could anyone please share a sample - I need to run something like "service.bat install Tomcat" Thanks in advance for your help.

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 ControlEvent fails

2014-03-26 Thread Amit Mohan
Hi, I need to run a custom action on install failure. I've added a ControlEvent for this: 1 And then later... The custom action fires when a launch condition fails. The custom action returns an error: MSI (c) (B4:6C) [14:24:54:088]: Doing action: FatalError Action 14:24:54: FatalEr

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

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

2014-03-18 Thread Alan Smith
I think this is an issue with how I am implementing my custom action, but I am looking for some assistance with an issue I have encountered. I have built a number of C# (.NET 4) Custom Actions which all reside in a single DLL file. I am able to call all of these actions successfully and the pro

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

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

2014-02-26 Thread Mamidi, Balasubrahmanyam
Hi, we package the lessons and give to users in the format of msi file using wix installer. When users install/ Uninstall these lessons MSI file on their PC's, I should able to log this information with date time & MSI name into text file( file needs to create if not exists) under location (per

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

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

2014-02-12 Thread pmarshall
I am having a problem with a custom action in my Wix installer, on a Clean Install of Windows 8.1. The machine has .NET Framework version 4.5 installed. My custom action dll targets Framework 4.0 and works on a Windows 7 machine ( though this also has the 2.0 Framework installed ). The config fo

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,

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

2014-01-30 Thread Fedor Pranovich
Sorry! But I have forgot to say that in Windows XP all work correct. It problem is in Windows 7. Best Regards, Fedor Pranovich -- WatchGuard Dimension instantly turns raw network data into actionable security in

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
psa-software.com] Sent: Wednesday, January 29, 2014 6:41 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Action exe file run on background Hello, I have one problem with installer I want to start .exe file, but this file start only in background. But i need ru

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

2014-01-29 Thread Fedor Pranovich
Hello, I have one problem with installer I want to start .exe file, but this file start only in background. But i need run this exe file only in foreground and wait when it will finish. Thanks a lot!!! Best Regards, Fedor Pranovich ---

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

[WiX-users] Custom Action Build Error

2014-01-10 Thread Brian Enderle
When I attempt to build my CustomAction project Visual Studio exits with a code of 3. I have tracked the issue to the way wix.ca.targets references the path to MakeSfxCA.exe. In wix.ca.targets the following is what creates the path: When VS 2012 uses this path it is interpreted

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

2014-01-09 Thread Suryadeep Biswal
We ship a MSI which supports upgrades. We schedule the RemoveExistingProducts custom action after InstallInitialize using MajorUpgrade element – The MSI performs a variety of things including GACing, writing to registry and also includes a custom action which is used to install a kernel m

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
-users@lists.sourceforge.net Subject: [WiX-users] Custom action was working now it isn't HELP... A different pair of eyes should help... I have a custom action that reads the registry and goes through the SQL Server Instances to get the last instance name (if there are more than one)..

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

2013-10-31 Thread StevenOgilvie
A different pair of eyes should help... I have a custom action that reads the registry and goes through the SQL Server Instances to get the last instance name (if there are more than one)... Was working like a charm, now for about a week it stopped working and I am getting this error: Action ended

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/VS

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

2013-10-21 Thread Sean Hall
I'm testing out WiX 3.8 and VS 2013, and can't find the custom action projects. Here's what I did: 1. Setup new VM with Windows 8.1. 2. Install .NET 3.5 and all Windows Updates. 3. Install Visual Studio 2013 Ultimate RTM. 4. Install WiX 3.8.1014.0 (weekly build from 10/14). 5. Open Visual

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

  1   2   3   4   5   6   7   8   >