[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

Re: [WiX-users] Custom Action Reuse

2015-06-09 Thread John Cooper
: [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 actions that use

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
-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. Subject: Re: [WiX-users] Custom Action to Read XML value http://stackoverflow.com/questions/23805767/wix-custom-actions-reading

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

2015-03-06 Thread Joel Budreau
-Original Message- From: Davis, Jeff [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

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

2015-03-06 Thread John Cooper
...@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 solutions that I

[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

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 from

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

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

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 =

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

[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
? -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 System.IO.DirectoryNotFoundException on second Installation I have been making

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

2015-02-04 Thread Phil Wilson
] 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 install the contents and fetches the parameters

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

2015-02-04 Thread Sarvagya Pant
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 System.IO.DirectoryNotFoundException on second Installation I have been

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 install

[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: ?xml

[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

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 Craig Reeves
. I have never missed the [CustomAction] before. It was just a mistake I was too close to see. From: John Cooper jocoo...@jackhenry.com Sent: 30 January 2015 13:41 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Custom Action

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 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 my custom actions I don't

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,

[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

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

2015-01-30 Thread John Cooper
-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 custom actions

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 horanag...@gmail.com wrote: Please help me in calling an custom

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 joel.budr...@gmail.com wrote: Hey Nagesh, What you’re

[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

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 sangee...@hotmail.com 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

[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 - CustomAction Id=Propca_UnReg_Assembly

[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

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

2014-12-04 Thread John Cooper
[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 a problem

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

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 generated on Windows

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?

[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

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

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

[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

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

2014-07-17 Thread John Cooper
: 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 3.5, I have a Custom Action that requires an interop .NET assembly. When I run the installer, it complains

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

[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

[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. CustomAction

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

2014-04-23 Thread Pavan Konduru
-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 (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

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: CustomAction Id=CopyLogFile Property=MsiLogFileLocation ExeCommand=xcopy.exe /h /r /y quot;[MsiLogFileLocation]quot; c:\logs\ Impersonate=yes Return=ignore / Since this is a type 50 CA, Property should be set to

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

2014-03-27 Thread Phil Wilson
this: 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: [WiX-users] Custom action from

[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: Publish Dialog=FatalError Control=Finish Event=DoAction Value=CopyLogFile 1 /Publish And then later... CustomAction Id=CopyLogFile Property=MsiLogFileLocation

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

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
. --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 specified. I explicitly set

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

2014-03-26 Thread Pavan Konduru
in the control element. --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

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

2014-03-19 Thread John Cooper
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 'Username_user

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

2014-03-19 Thread Bryan Wolf
...@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 (0x80131904): Login failed

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

2014-03-19 Thread Pavan Konduru
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 throw exceptions

[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

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

2014-03-18 Thread Alan Smith
() 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 Hi Alan, Can you post

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

[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

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

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

[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

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

2014-01-30 Thread Phil Wilson
: [WiX-users] Custom Action exe file run on background Try not to Double Post... Someone will get to you... Quoting Fedor Pranovich fiodar.pranov...@psa-software.com: Hello, I have one problem with installer CustomAction Id=InstallSiLabs_CP210xDriver Directory=PRODUCTDIRECTORYFOLDER

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

2014-01-29 Thread Fedor Pranovich
Hello, I have one problem with installer CustomAction Id=InstallSiLabs_CP210xDriver Directory=PRODUCTDIRECTORYFOLDER Execute=deferred Impersonate=no Return=ignore ExeCommand=[PRODUCTDIRECTORYFOLDER]SiLabs_CP210x/CP210xVCPInstaller.exe / InstallExecuteSequence Custom

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

2014-01-29 Thread John Cooper
, 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 CustomAction Id=InstallSiLabs_CP210xDriver Directory=PRODUCTDIRECTORYFOLDER Execute=deferred Impersonate=no Return=ignore ExeCommand

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 Guides

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

2014-01-29 Thread David Connet
/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-users] Custom Action exe file run on background

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 fiodar.pranov...@psa-software.com: Hello, I have one problem with installer CustomAction Id=InstallSiLabs_CP210xDriver Directory=PRODUCTDIRECTORYFOLDER Execute=deferred Impersonate=no Return=ignore

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 ecyo...@grandecom.net: ...and look at the SiLabs Installer to see if you can pass any parameters, and then Use the Return Attribute to wait for the

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

2014-01-29 Thread Rob Mensching
...@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 fiodar.pranov...@psa-software.com: Hello, I have one problem

[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: CreateProperty Value=$(WixToolPath)..\sdk\ Condition=

Re: [WiX-users] Custom Action Build Error

2014-01-10 Thread Carter Young
Try Editing wix.ca.targets to read CreateProperty Value=$(WixToolPath)\..\sdk\ Condition= '$(WixSdkPath)' == '' Output TaskParameter=Value PropertyName=WixSdkPath / /CreateProperty Looks like the Preprocessor Variable for $(WixToolPath) doesn't contain the last trailing slash for the

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

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 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 (x86)\MSBuild\Microsoft\WiX\v3

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: [WiX-users] Custom

[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 – MajorUpgrade Schedule=afterInstallInitialize AllowDowngrades=yes / The MSI performs a variety of things including GACing,

[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

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

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

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

2013-10-31 Thread Christopher Painter
discussion about the WiX toolset. wix-users@lists.sourceforge.net 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

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 Steven Ogilvie
: 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 something else at play. DTF

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

2013-10-31 Thread Phil Wilson
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 something else at play. DTF can handle entry points up to 72 characters in length before it'll

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

2013-10-31 Thread Christopher Painter
it. From: Phil Wilson phildgwil...@gmail.com Sent: Thursday, October 31, 2013 3:57 PM To: General discussion about the WiX toolset. wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom action was working now it isn't HELP... As a random guess

[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 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 rhal...@hotmail.com Sent: Monday, October 21, 2013 12:16 PM To: wix-users@lists.sourceforge.net wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Action projects

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

2013-10-21 Thread Hoover, Jacob
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 rhal...@hotmail.com Sent: Monday, October 21, 2013 12:16 PM

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] Custom Action

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

2013-10-21 Thread Christopher Painter
as far as I'm concerned. From: Hoover, Jacob jacob.hoo...@greenheck.com Sent: Monday, October 21, 2013 12:45 PM To: General discussion about the WiX toolset. wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action projects missing in WiX 3.8

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

2013-10-21 Thread Bob Arnson
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@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action projects missing in WiX 3.8/VS2013 I

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

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

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

2013-09-12 Thread Ralph
I have a custom action which detects the version of some installed third party library and assigns the version to some property. Then I have a condition reading that property to enable or disable a feature. If I put the custom action into InstallUISequence it works very well with the UI, but does

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 After

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

2013-09-12 Thread John Cooper
[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 the third party

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

  1   2   3   4   5   6   7   >