Re: [WiX-users] Custom actions in C# and disabling buttons

2015-03-12 Thread Joseph L. Casale
> How about having the custom action set a property if the condition is met, > and having the NewDialog event be conditioned on that property? Hi Nir, What I ended up doing was creating a validate button which invokes a custom action which sets a hidden property enabling the next button. This prov

Re: [WiX-users] Custom actions in C# and disabling buttons

2015-03-12 Thread Nir Bar
How about having the custom action set a property if the condition is met, and having the NewDialog event be conditioned on that property? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallS

Re: [WiX-users] Custom Actions added with a Patch are ignored during uninstall

2014-12-12 Thread Nick Ramirez
Take a look at http://msdn.microsoft.com/en-us/library/aa370739%28v=vs.85%29.aspx where it says: /The Custom Action Patch Uninstall option is not available. There is no method for marking a custom action within a patch package to be run when the patch is uninstalled because the installer does not

Re: [WiX-users] Custom Actions that need to call unmanaged DLL

2013-11-14 Thread tom
What Blair suggests is working fine: "C:\Program Files (x86)\WiX Toolset v3.7\SDK\MakeSfxCA.exe" $(TargetDir)MBACAs.dll "C:\Program Files (x86)\WiX Toolset v3.7\SDK\x86\SfxCA.dll" $(TargetDir)CustomActions.dll $(SolutionDir)Libs\MY_NATIVE_WIN32.DLL $(TargetDir)CustomAction.config "C:\Program Fi

Re: [WiX-users] Custom Actions that need to call unmanaged DLL

2013-07-02 Thread Hoover, Jacob
or Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Actions that need to call unmanaged DLL In managed CAs using DTF you can include unmanaged DLLs in much the same way you can include dependent assemblies and they will be extracted alongside your CA's main assembly. Blair &g

Re: [WiX-users] Custom Actions that need to call unmanaged DLL

2013-07-02 Thread Blair Murri
ourceforge.net > Date: Tue, 2 Jul 2013 04:33:27 +0000 > Subject: Re: [WiX-users] Custom Actions that need to call unmanaged DLL > > 1) yes > 2) you could > 3) yes, you could but you would need to manually extract the dll in you > managed ca (after embedding it in the msi)

Re: [WiX-users] Custom Actions that need to call unmanaged DLL

2013-07-01 Thread Hoover, Jacob
1) yes 2) you could 3) yes, you could but you would need to manually extract the dll in you managed ca (after embedding it in the msi) and then pinvoke that dll. Fairly certain .net requires the native libs to exist as its loading your assembly, so you would need to build the reference to the n

Re: [WiX-users] Custom actions failing on XP

2013-01-28 Thread Natalie Carr
Installer XML toolset.; chr...@iswix.com Subject: Re: [WiX-users] Custom actions failing on XP Well, looking in the installer log on my laptop, it looks like it requires VersionNt = 5.1 and ServicePackLevel >= 2). Based on that, the x86 version should support install on XP with SP2 or SP3.

Re: [WiX-users] Custom actions failing on XP

2013-01-25 Thread John Cooper
wix.com; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom actions failing on XP Look in the assemblies in the runtime (ILDASM will work). If there are any .NET 4.5 dependencies, it will be a no-go on anything before Windows 7. -- John Merryweather Cooper

Re: [WiX-users] Custom actions failing on XP

2013-01-25 Thread John Cooper
x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: Friday, January 25, 2013 11:07 AM To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom

Re: [WiX-users] Custom actions failing on XP

2013-01-25 Thread Christopher Painter
Sorry, haven't read the whole thread Didn't I read somewhere that VS2012 C++ doesn't support Windows XP? http://stackoverflow.com/questions/13492056/vs2012-c-dll-compatability From: "Natalie Carr" Sent: Friday, January 25, 2013 4:39 AM To: wix-users

Re: [WiX-users] Custom actions failing on XP

2013-01-25 Thread Rob Mensching
Friday, January 25, 2013 12:03 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Custom actions failing on XP > > Multithreaded ought to be fine - I was referring to the > dynamically/statically linking options (lib vs dll), but if you've al

Re: [WiX-users] Custom actions failing on XP

2013-01-25 Thread Neil Sleightholm
To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Custom actions failing on XP Thanks for your help Peter, I have no idea why it is not running...:( Kind Regards, Natalie Carr -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl

Re: [WiX-users] Custom actions failing on XP

2013-01-25 Thread Natalie Carr
talie Carr [mailto:natalie.c...@measuresoft.com] Sent: 25 January 2013 11:24 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Custom actions failing on XP Hi Peter, I am using the Multi-threaded for the runtime? Would that be causing the issue? Thanks fo

Re: [WiX-users] Custom actions failing on XP

2013-01-25 Thread Peter Shirtcliffe
resoft.com] Sent: 25 January 2013 11:24 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Custom actions failing on XP Hi Peter, I am using the Multi-threaded for the runtime? Would that be causing the issue? Thanks for getting back to me Kind Re

Re: [WiX-users] Custom actions failing on XP

2013-01-25 Thread Natalie Carr
I have done that and still no joy..:( Kind Regards, Natalie Carr -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Friday, January 25, 2013 11:27 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom actions failing on XP

Re: [WiX-users] Custom actions failing on XP

2013-01-25 Thread Natalie Carr
XML toolset. Subject: Re: [WiX-users] Custom actions failing on XP Have you tried linking to the C++ runtimes statically instead of to the DLLs ? The target runtime might be missing on XP. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 25 January 2013 10

Re: [WiX-users] Custom actions failing on XP

2013-01-25 Thread Neil Sleightholm
I think you need an update to VS2012 http://blogs.msdn.com/b/vcblog/archive/2012/10/08/10357555.aspx Neil -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 25 January 2013 11:26 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users

Re: [WiX-users] Custom actions failing on XP

2013-01-25 Thread Neil Sleightholm
I seem to remember reading that C++ code compiled using VS2012 cannot target XP. Neil -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 25 January 2013 10:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom actions failing on XP Hi along wi

Re: [WiX-users] Custom actions failing on XP

2013-01-25 Thread Natalie Carr
for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom actions failing on XP Have you tried linking to the C++ runtimes statically instead of to the DLLs ? The target runtime might be missing on XP. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent

Re: [WiX-users] Custom actions failing on XP

2013-01-25 Thread Peter Shirtcliffe
Have you tried linking to the C++ runtimes statically instead of to the DLLs ? The target runtime might be missing on XP. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 25 January 2013 10:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom

Re: [WiX-users] custom actions in burn?

2012-11-02 Thread Rob Mensching
That you could do declaratively via InstallCondition on the Package elements if you didn't want to do it programmatically in your BA. On Fri, Nov 2, 2012 at 1:50 AM, Igor Brejc wrote: > Hi, > > I have the same thing (two MSIs, one 32 and the other 64 bit). I'm using > the managed bootstrapper w

Re: [WiX-users] custom actions in burn?

2012-11-02 Thread Igor Brejc
Hi, I have the same thing (two MSIs, one 32 and the other 64 bit). I'm using the managed bootstrapper with override of OnPlanPackageBegin() method to control which one gets installed, without the need for custom actions: protected override void OnPlanPackageBegin(PlanPackageBeginEventArgs

Re: [WiX-users] custom actions in burn?

2012-10-31 Thread Hoover, Jacob
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Wednesday, October 31, 2012 11:48 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] custom actions in burn? Looks like there's a simple registry search. Have you seen this ? http://stackoverflow.com

Re: [WiX-users] custom actions in burn?

2012-10-31 Thread Steven Ogilvie
Once again Peter, thank you! Awesome... STeve -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: October-31-12 12:48 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] custom actions in burn? Looks like there's a s

Re: [WiX-users] custom actions in burn?

2012-10-31 Thread Peter Shirtcliffe
neral discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] custom actions in burn? So from your answer it sounds like you cannot really use in burn? I have 2007/2010/2013 Outlook and 32 bit/64 bit checking for the bitness isn't simple, we have a custom action dll that does t

Re: [WiX-users] custom actions in burn?

2012-10-31 Thread Peter Shirtcliffe
al Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 31 October 2012 16:38 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] custom actions in burn? So from your answer it sounds like you cannot really use in burn? I have 2007/2010/2013 Outl

Re: [WiX-users] custom actions in burn?

2012-10-31 Thread Steven Ogilvie
ssage- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: October-31-12 12:29 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] custom actions in burn? I imagine that a Burn custom action would be part of the code of a custom bootstrapper application that

Re: [WiX-users] custom actions in burn?

2012-10-31 Thread Peter Shirtcliffe
I imagine that a Burn custom action would be part of the code of a custom bootstrapper application that would set a variable during the appropriate event. Could you not use a util:product search or utilL:registry search to determine which outlook is installed ? Save you a lot of work unless you've

Re: [WiX-users] custom actions in a Bootstrapper

2012-04-10 Thread PAES Stephane
ching [mailto:r...@robmensching.com] Envoyé : samedi 7 avril 2012 04:42 À : General discussion for Windows Installer XML toolset. Objet : Re: [WiX-users] custom actions in a Bootstrapper No such thing. Bundle's chain packages. Bundles also have variables and can search the machine for stuff to

Re: [WiX-users] custom actions in a Bootstrapper

2012-04-06 Thread Rob Mensching
No such thing. Bundle's chain packages. Bundles also have variables and can search the machine for stuff to assign to variables. There is no such thing as a custom action in a Bundle. On Fri, Apr 6, 2012 at 9:10 AM, PAES Stephane wrote: > Hello > > I would like to add a custom action in a Burn Bo

Re: [WiX-users] custom actions after reboot

2011-03-10 Thread Matthew Slane
files. -Original Message- From: David Watson [mailto:dwat...@sdl.com] Sent: 09 March 2011 17:20 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] custom actions after reboot Put a launch condition in that cancels your installation if msmq is not installed. I

Re: [WiX-users] custom actions after reboot

2011-03-09 Thread David Watson
March 2011 16:58 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] custom actions after reboot Hi, I'm getting a bit frustrated with constantly rebooting to try and get this working. If MSMQ is installed the queue gets created. If MSMQ isn't installe

Re: [WiX-users] custom actions after reboot

2011-03-09 Thread Matthew Slane
Hi, I'm getting a bit frustrated with constantly rebooting to try and get this working. If MSMQ is installed the queue gets created. If MSMQ isn't installed, it gets installed and throws the following message before forcing the reboot: "The installer has encountered an unexpected error install

Re: [WiX-users] Custom Actions during/post install and uninstall

2011-03-07 Thread Peter Shirtcliffe
1. Yes. Use conditions in the execute & UI sequences to determine if you should execute the action (for example, at uninstall time). 2. If you store custom action dll in the binary table using the element, the custom action is available as long as the installer is running. 3. Custom actions can us

Re: [WiX-users] Custom Actions & UAC

2011-01-23 Thread Christopher Painter
Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me - Original Message From: Blair To: General discussion for Windows Installer XML toolset. Sent: Sun, January 23, 2011 8:34:11 PM Subject: Re: [WiX-users] Custom Actions & UAC I hav

Re: [WiX-users] Custom Actions & UAC

2011-01-23 Thread Blair
eBackupPrivilege? Something like >> http://msdn.microsoft.com/en-us/library/aa387705(VS.85).aspx<http://msdn.mic rosoft.com/en-us/library/aa387705%28VS.85%29.aspx> >> >> -Original Message- >> From: Andy Clugston [mailto:clug...@gmail.com] >> Sent: Sat

Re: [WiX-users] Custom Actions & UAC

2011-01-22 Thread Andy Clugston
t; http://msdn.microsoft.com/en-us/library/aa387705(VS.85).aspx<http://msdn.microsoft.com/en-us/library/aa387705%28VS.85%29.aspx> >> >> -Original Message- >> From: Andy Clugston [mailto:clug...@gmail.com] >> Sent: Saturday, January 22, 2011 6:54 AM >> To: General discussion

Re: [WiX-users] Custom Actions & UAC

2011-01-22 Thread Andy Clugston
Original Message- > From: Andy Clugston [mailto:clug...@gmail.com] > Sent: Saturday, January 22, 2011 6:54 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Custom Actions & UAC > > Phil, I am running Win7 and 5.0 of msiexec is on the

Re: [WiX-users] Custom Actions & UAC

2011-01-22 Thread Blair
taller XML toolset. Subject: Re: [WiX-users] Custom Actions & UAC Phil, I am running Win7 and 5.0 of msiexec is on the system (shipped with it), and I still see the issue. Thanks. On Fri, Jan 21, 2011 at 4:08 PM, wix user wrote: > Hi Phil, > > How is the WIX support for MSI 4.5 fe

Re: [WiX-users] Custom Actions & UAC

2011-01-22 Thread Andy Clugston
t; > -Original Message- > > From: Andy Clugston [mailto:clug...@gmail.com] > > Sent: Thursday, January 20, 2011 6:35 PM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Custom Actions & UAC > > > > Well I t

Re: [WiX-users] Custom Actions & UAC

2011-01-21 Thread wix user
kb/942288 > > Phil Wilson > > > -Original Message- > From: Andy Clugston [mailto:clug...@gmail.com] > Sent: Thursday, January 20, 2011 6:35 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Custom Actions & UAC > > We

Re: [WiX-users] Custom Actions & UAC

2011-01-21 Thread Wilson, Phil
Use MSI 4.5 - it got restored there. http://support.microsoft.com/kb/942288 Phil Wilson -Original Message- From: Andy Clugston [mailto:clug...@gmail.com] Sent: Thursday, January 20, 2011 6:35 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users

Re: [WiX-users] Custom Actions & UAC

2011-01-20 Thread Andy Clugston
Well I think I have figured out why the issue is occurring. The call that is failing in the custom action is LoadUserProfile(). This needs the SeBackupPrivilege which the windows installers service *does not* have on a UAC-enabled system. Some details: http://blogs.msdn.com/b/vistacompatteam/arc

Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript

2011-01-19 Thread Shaun Hayward
o:chr...@deploymentengineering.com] Sent: Tuesday, January 18, 2011 9:03 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Emailfoundin subject - Email found in subject - Email found in subject - Email found in subject Pe

Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Emailfound in subject - Email found in subject - Email found in subject

2011-01-18 Thread Christopher Painter
Message From: Shaun Hayward To: General discussion for Windows Installer XML toolset. Sent: Mon, January 17, 2011 9:44:53 AM Subject: Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Emailfound in subject - Email found in subject - Email found in subject > WiX doesn't do it, the

Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript

2011-01-18 Thread Shaun Hayward
From: Rob Mensching [r...@robmensching.com] Sent: Monday, January 17, 2011 7:54 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Emailfound in subject - Email found in subject - Email found in subject - Email fou

Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Emailfound in subject - Email found in subject - Email found in subject

2011-01-17 Thread Rob Mensching
> Shaun Hayward | Senior Software Developer | Omnivex | 905.761.6640 ext 429 > | www.omnivex.com > > -Original Message- > From: Rob Mensching [mailto:r...@robmensching.com] > Sent: Friday, January 14, 2011 11:12 PM > To: General discussion for Windows Installer XML

Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Emailfound in subject - Email found in subject - Email found in subject

2011-01-17 Thread Shaun Hayward
taller XML toolset. Subject: Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Emailfound in subject - Email found in subject - Email found in subject WiX doesn't do it, the Windows Installer does. WiX is just the language. Check out the FileSearch element. On Fri, Jan 14, 2011 at

Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Emailfound in subject - Email found in subject

2011-01-14 Thread Rob Mensching
] > Sent: Friday, January 14, 2011 7:16 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - > Emailfound in subject - Email found in subject > > Funny you say that, I was doing some work with KB976477

Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript

2011-01-14 Thread Rob Mensching
I'm a purist but I write my custom actions as declarative, data driven beasties designed so I never have to solve that problem again. That attitude is where the bulk of the WiX toolset custom actions come from. Simply put, custom actions will be the most vulnerable part of your install. Avoid the

Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Emailfound in subject - Email found in subject

2011-01-14 Thread Shaun Hayward
Thanks - Shaun From: Christopher Painter [chr...@deploymentengineering.com] Sent: Friday, January 14, 2011 7:16 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Emailfound in subject - Email found in subject Funny you s

Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Email found in subject

2011-01-14 Thread Christopher Painter
s Installer XML toolset. Sent: Fri, January 14, 2011 5:56:44 PM Subject: Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Email found in subject Thanks, Chris! Funny it should be you that replies. I'm looking at deploying a VSTO add-in and I've read the related articles on you

Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Email found in subject

2011-01-14 Thread Shaun Hayward
General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Email found in subject  VB/JScript is still a no go.  The managed blog was ( thankfully ) O.B.E. when WiX released managed custom action via DTF. Personally, if I had the C++ chops,

Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript

2011-01-14 Thread Christopher Painter
 VB/JScript is still a no go.  The managed blog was ( thankfully ) O.B.E. when WiX released managed custom action via DTF. Personally, if I had the C++ chops, had enough reusable libraries and was typically shipping unmanaged apps then I probably would be an unmanaged purist for CA's.   Wi

Re: [WiX-users] Custom Actions with elevated privledges

2010-11-18 Thread Grinden
That's a good point, and I appreciate that chaining isn't a great solution, but in this case though, all that I think we are both attempting to do is get a list of app pools to display in a combobox for the user to select. If they are doing a silent install, then there would be no need for the lis

Re: [WiX-users] Custom Actions with elevated privledges

2010-11-17 Thread Rob Mensching
That will only work if you run it from the InstallUISequence and if you do a basic or silent mode install the InstallUISequence is skipped completely. Chaining from within an MSI just doesn't work the general (might work in very narrow use cases). That's why you need a bootstrapper. On Wed, Nov 1

Re: [WiX-users] Custom Actions with elevated privledges

2010-11-17 Thread Grinden
Christian Froehlich wrote: > > Hi All, > > I have hit a conundrum here. I have an immediate custom action that gets a > list > of IIS application pools to be displayed in a ComboBox for user selection. > > Now as this needs to be executed before the user interface is shown, i > have made > t

Re: [WiX-users] Custom Actions in VB.Net

2010-08-30 Thread kate_102
Hi Chris, I am using WIX 3.5 to create installer. I need to check if Oracle or SQL Server is installed on target machine based on user selection by clicking on radio button on my Dataabse setup dialog. If selected database is not installed then display error and exit installation process. I ha

Re: [WiX-users] Custom Actions in VB.Net

2010-08-30 Thread ALBERT Aurélien
Thanks a lot, I missed that ! -Message d'origine- De : Christopher Painter [mailto:chr...@deploymentengineering.com] Envoyé : lundi 30 août 2010 14:20 À : General discussion for Windows Installer XML toolset. Objet : Re: [WiX-users] Custom Actions in VB.Net WiX / Votive provides

Re: [WiX-users] Custom Actions in VB.Net

2010-08-30 Thread Christopher Painter
WiX / Votive provides a WiX | VB.NET Custom Action project in Visual Studio.   Just run the project wizard and all the plumbing will be handled for you. Chris   Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves att

Re: [WiX-users] Custom Actions with elevated privledges

2010-08-18 Thread Paul Lalonde
The only solution I've found to this problem is to create a bootstrapper that starts up msiexec with my msi. The bootstrapper is marked as "requireAdministrator", so it as well as the msi's UI run elevated. Hope this helps, -- Paul Lalonde paullalonde at mac dot com "Il n

Re: [WiX-users] Custom Actions with elevated privledges

2010-08-18 Thread Blair
Unfortunately when merely querying the system requires elevation you typically have to engage a bootstrapper that is manifested to require elevation to force all of your MSI to run elevated. That, of course, means your removal from ARP will see this CA fail as well, so if you need the CA for remova

Re: [WiX-users] Custom Actions Missing in InstallExecuteSequence

2010-05-12 Thread achandrapano
never mind, this was my error, i had my custom actions commented out in the wix file...i am stupid, sorry -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Actions-Missing-in-InstallExecuteSequence-tp5039683p5043372.html Sent from the wix-users

Re: [WiX-users] Custom Actions Missing in InstallExecuteSequence

2010-05-12 Thread Nick Ramirez
How are you scheduling your custom actions in the InstallExecuteSequence table? With the InstallExecuteSequence element? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Actions-Missing-in-InstallExecuteSequence-tp5039683p5043350.html Sent fro

Re: [WiX-users] Custom Actions Best Practicies

2010-04-07 Thread dB .
Having written a lot (and I mean a lot) of custom actions (http://msiext.codeplex.com), the best practice for custom actions is to avoid them :) I recommend going the route of wix extensions that wrap/embed custom actions. I would write deferred, table-driven CAs and a lot of tests, one per ta

Re: [WiX-users] Custom Actions

2009-08-14 Thread Blair
: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Actions That was the error. I was including the wrong DLL. However the Thanks Oscar -Original Message- From: Blair [mailto:os...@live.com] Sent: Friday, August 14, 2009 3:21 PM To: 'General discu

Re: [WiX-users] Custom Actions

2009-08-14 Thread Oscar Newkerk
That was the error. I was including the wrong DLL. However the Thanks Oscar -Original Message- From: Blair [mailto:os...@live.com] Sent: Friday, August 14, 2009 3:21 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Custom Actions

Re: [WiX-users] Custom Actions

2009-08-14 Thread Blair
Your entry point wasn't exported in the DLL you packaged: http://blogs.msdn.com/heaths/archive/2006/08/14/determine-if-the-custom-acti on-function-is-exported.aspx Turns out with DTF projects that you can't reference the right DLL to use using the This should work. -Original Message- Fr

Re: [WiX-users] Custom Actions: Install Mode + Rollback

2009-02-15 Thread Bob Arnson
Kusuma Sudheer Kumar (Tata Consultancy Services) wrote: > 1. What is the property I can use in my C# Code to find out Mode of > install [ whether I am performing Install/Uninstall/Repair or Rollback] > You're combining two concepts: Rollback is a mode of execution but install/uninstall/

Re: [WiX-users] Custom Actions from Merge Modules

2009-01-29 Thread Bob Arnson
Lisa Wright wrote: > I did find a workaround that seems to be working. I'm merging multiple msm's > but have found that if the one I'm trying to work with is first in the list > it gets merged properly and are sequenced in the 700's as they should. > Unfortunately, mergemod.dll has its own b

Re: [WiX-users] Custom Actions from Merge Modules

2009-01-29 Thread Lisa Wright
sion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Actions from Merge Modules Lisa Wright wrote: > I'm having a similar problem with merge modules I am picking up from another > team. I can't modify those msm's and I'm being forced to add custom ac

Re: [WiX-users] Custom Actions from Merge Modules

2009-01-28 Thread Bob Arnson
Lisa Wright wrote: > I'm having a similar problem with merge modules I am picking up from another > team. I can't modify those msm's and I'm being forced to add custom actions > to set the system folder properties they use so the files get installed to > the correct place. Mine need to be sequ

Re: [WiX-users] Custom Actions from Merge Modules

2009-01-28 Thread Lisa Wright
neral discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Actions from Merge Modules It's more complicated than that. The problem your hitting in WiX v3 is actually a feature added in WiX v2 that allows a developer to separate their authoring into separate "Fragmen

Re: [WiX-users] Custom actions failing

2008-10-15 Thread Ian Elliott (Excell Data Corporation)
neral discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom actions failing Can you point me to a resource for information on how to do this? Thanks! -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 5:31 PM To: Ge

Re: [WiX-users] Custom actions failing

2008-10-15 Thread David Bartmess
Can you point me to a resource for information on how to do this? Thanks! -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 5:31 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom actions failing

Re: [WiX-users] Custom actions failing

2008-10-14 Thread Rob Mensching
PROTECTED] Sent: Tuesday, October 14, 2008 14:17 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom actions failing Oops, forgot the actual CustomAction, sorry... -Original Message- From: David Bartmess [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: [WiX-users] Custom actions failing

2008-10-14 Thread David Bartmess
Oops, forgot the actual CustomAction, sorry... -Original Message- From: David Bartmess [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 3:12 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Custom actions failing I'm trying to w

Re: [WiX-users] Custom Actions from Merge Modules

2008-09-25 Thread Rob Mensching
to be easy. -Original Message- From: Tina Basinger [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2008 12:48 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Actions from Merge Modules It seems to me that Wix is being u

Re: [WiX-users] Custom Actions from Merge Modules

2008-09-25 Thread Tina Basinger
It seems to me that Wix is being unsupportive of something that Windows Installer allows. The InstallExecuteSequence table of an MSI contains references to both the custom actions defined in the MSI directly as well as in the merge modules. You can go in and modify this table directly (using Orca

Re: [WiX-users] Custom Actions from Merge Modules

2008-09-24 Thread Bob Arnson
Tina Basinger wrote: > Maybe this is not supported any more. Should I be able to have the main > installation code schedule a custom action that is defined within a merge > module? Any thoughts? > Merge modules are designed to be self-contained, which is why they have the modularization GUID

Re: [WiX-users] Custom Actions from Merge Modules

2008-09-22 Thread Christopher Karper
In all likelihood, your problem is that your CA is being modularized when compiled, but maybe not to the standard you're expecting. If you look at your .msm in Orca, you'll see the actual name it's been given. I believe you can suppress the modularization if that's your wish. Or you can at leas

Re: [WiX-users] Custom Actions from Merge Modules

2008-09-22 Thread Tina Basinger
Maybe this is not supported any more. Should I be able to have the main installation code schedule a custom action that is defined within a merge module? Any thoughts? Thanks! -Tina On Fri, Sep 19, 2008 at 1:15 PM, Tina Basinger <[EMAIL PROTECTED]>wrote: > Is there a trick to calling a custom

Re: [WiX-users] Custom actions in Merge Modules

2008-08-25 Thread Bob Arnson
Ranjith chevanan wrote: >I am trying to create a merge module using the Wix toolset. I succeeded > in creating my merge module but I am unsure of how to add Custom Actions to > the merge module. The custom action that i would like to add to my merge > module is another msm file. Please help >

Re: [WiX-users] Custom Actions

2008-08-06 Thread Bob Arnson
Jonathan Moore wrote: > Custom4 is the vbscript that removes a shortcut You shouldn't use VBScript custom actions. MSI automatically removes shortcuts it installs but if you need to "clean up" extra files, use the RemoveFile element.

Re: [WiX-users] Custom Actions

2008-08-06 Thread John Nannenga
Custom4 runs during the install because your condition is "Not Installed". -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Moore Sent: Wednesday, August 06, 2008 2:34 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Actions I'm

Re: [WiX-users] custom actions and merge modules

2008-06-06 Thread Bob Arnson
Frédéric Viollet wrote: > Are the merge modules installed after 'StartServices'? > No. It's a limitation of how the CRT installs the DLLs into the WinSxS store. See the MsiAssembly Table doc in the MSI SDK: The assemblies are not committed until successful execution of the InstallFinalize Ac

Re: [WiX-users] Custom Actions

2008-05-13 Thread Blair Murri
: Monday, May 12, 2008 7:34 PM To: Rob Mensching; Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom Actions Ok. So if want the exe to run on a admin command prompt, then setting Impersonate=no a better option ? From: Rob Mensching Sent: Monday, May 12, 2008 7:03 PM

Re: [WiX-users] Custom Actions

2008-05-12 Thread Harini Gurusamy
Ok. So if want the exe to run on a admin command prompt, then setting Impersonate=no a better option ? From: Rob Mensching Sent: Monday, May 12, 2008 7:03 PM To: Harini Gurusamy; Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: RE: Custom Actions Are you doing an admin install? If not, yo

Re: [WiX-users] Custom Actions

2008-05-12 Thread Rob Mensching
Are you doing an admin install? If not, you'll want the action in the InstallExecuteSequence. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harini Gurusamy Sent: Monday, May 12, 2008 18:48 To: Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Actions I

Re: [WiX-users] Custom Actions and featurs

2008-04-15 Thread Christopher Painter
Use a conditional expression based on the feature ( or component ) action state. ( &FEATURE=xxx ) as shown here: http://msdn2.microsoft.com/en-us/library/aa368012.aspx Fox Cutter <[EMAIL PROTECTED]> wrote: I'm working on an install that has a set of custom actions working on files that

Re: [WiX-users] Custom actions working fine in xp - failing in Vista

2008-01-23 Thread Adam Majer
SaiTeja wrote: > I have created a WIX installer that works perfectly on XP. > > But When I try in Vista Business, my custom actions are failing > > Below is the custom action > > ExeCommand="UninstallLogonHandler" FileKey="xyz.exe"> > Let me quess, the xyz.exe depends on the C runtime? And yo

Re: [WiX-users] Custom actions working fine in xp - failing in Vista

2008-01-23 Thread SaiTeja
Hi Thanks for respones. Log says: Action 18:50:25: UninstallLogonHandler. Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: UninstallLogonHandler, loca

Re: [WiX-users] Custom actions working fine in xp - failing in Vista

2008-01-23 Thread Johan Appelgren
On Jan 23, 2008 2:20 PM, SaiTeja <[EMAIL PROTECTED]> wrote: > > Hi, > > I have created a WIX installer that works perfectly on XP. > > But When I try in Vista Business, my custom actions are failing > > Below is the custom action > > ExeCommand="UninstallLogonHandler" FileKey="xyz.exe"> > > > >

Re: [WiX-users] Custom actions per component?

2007-11-09 Thread Rob Mensching
Or take a look at the WiX custom actions. All of the custom actions look up the state of the Component to determine how they will be installed, uninstalled, repaired, etc. Richard wrote: > In article <[EMAIL PROTECTED]>, > Dror Cohen <[EMAIL PROTECTED]> writes: > > >> I wanted to know i

Re: [WiX-users] Custom actions as executables

2007-11-06 Thread Bob Arnson
Dror Cohen wrote: I want my MSI to run in a custom action an executable that I want to add into the package but not stay on the user's machine. This executable might also be dependent on files (DLLs) that will be installed on the machine. What is the easiest way to achieve that? MSI doesn

Re: [WiX-users] Custom actions per component?

2007-11-06 Thread Richard
In article <[EMAIL PROTECTED]>, Dror Cohen <[EMAIL PROTECTED]> writes: > I wanted to know if it is possible to make a custom action run only if a ce= > rtain component is installed and how to do it. Use a condition that is true when the component is set to be installed.

Re: [WiX-users] Custom actions as executables

2007-11-06 Thread Richard
In article <[EMAIL PROTECTED]>, Dror Cohen <[EMAIL PROTECTED]> writes: > I want my MSI to run in a custom action an executable that I want to add in= > to the package but not stay on the user's machine. This executable might al= > so be dependent on files (DLLs) that will be installed on the

Re: [WiX-users] Custom actions launched from .MSM files

2007-10-30 Thread Mike Dimmick
rceforge.net Subject: Re: [WiX-users] Custom actions launched from .MSM files Hi Mike, Thank you for the answer; but I think the property is in the same file; this is the XML sequence which works fine in the .MSI: "

Re: [WiX-users] Custom actions launched from .MSM files

2007-10-29 Thread Elena Diaconu
lto:[EMAIL PROTECTED] Sent: 2007-Oct-29 Mon 5:57 PM To: 'Elena Diaconu'; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Custom actions launched from .MSM files Deferred custom actions get their instructions on what to do from a property named the same as the custom action itself,

  1   2   >