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

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

2015-03-09 Thread Joseph L. Casale
I have a dialogue that executes a custom action to validate user specified input however it returns ActionResult.Failure in the event the user supplied data is not accurate. That's rather abrupt and unneeded, however I can not seem to work around a condition to disable the next action. How does on

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

[WiX-users] Custom actions don't execute as proposed

2014-07-17 Thread Valery Portnyagin
Hello all, if say briefly, I have a script with next parts: / // // // // // // // // // // // // // // // // // // // // NOT (Installed) AND NOT (PREVIOUSVERSIONSINSTALLED OR NEWERVERSIONDETECTED)// // // // // // NOT (Installed) AND NOT (PREVIOUSVERSIONSINSTALLED

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

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

2013-07-01 Thread George Fleming
I would like do something like this: CustomActions.cs: [CustomAction] Public static ActionResults MyCustomAction(Session session) { ... NativeMethod.XYZ xyz = new NativeMethod.XYZ(); } NativeMethods.cs: internal static class NativeMethods { Intern

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
25, 2013 4:39 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom actions failing on XP Hi along with my wix installer I have a dll created using the C++ custom action project. However on running my setup on XP the custom actions are all returning value 3 and failing. I believe they are

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
] Custom actions failing on XP 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

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

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

[WiX-users] Custom actions failing on XP

2013-01-25 Thread Natalie Carr
Hi along with my wix installer I have a dll created using the C++ custom action project. However on running my setup on XP the custom actions are all returning value 3 and failing. I believe they are not even getting entered as the logs don't show them being initialized. I need help asap as I have

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
27;ve already got a custom BA. -Original Message- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: 31 October 2012 16:21 To: wix-users@lists.sourceforge.net Subject: [WiX-users] custom actions in burn? Hi all, I have a product that installs a 32 bit version and 64 bit version inst

[WiX-users] custom actions in burn?

2012-10-31 Thread StevenOgilvie
Hi all, I have a product that installs a 32 bit version and 64 bit version installer (two .msi) I have a custom action in product.wxs that determines the "bitness" of Microsoft Outlook (whether the user installed 32 bit or 64 bit version of Outlook, our product is an add-in). so I have 2 msi's, b

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

[WiX-users] custom actions in a Bootstrapper

2012-04-06 Thread PAES Stephane
Hello I would like to add a custom action in a Burn Bootstrapper, but I can't find out how it has to be done. Indeed, I should ask a Custom element, which can only be created in AdminExecuteSequence, AdminUISequence, AdvertiseExecuteSequence, InstallExecuteSequence, or InstallUISequence ; and t

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
From: Matthew Slane [mailto:matthew.sl...@thetrainline.com] Sent: 04 March 2011 10:22 To: wix-users@lists.sourceforge.net Subject: [WiX-users] custom actions after reboot Hi, I've got a property that checks whether MSMQ is available and custom actions to install it if it isn't. I&#

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

2011-03-07 Thread Peter Shirtcliffe
-dll-custom-actions-introduction.aspx -Original Message- From: Sameer Arora [mailto:arora...@gmail.com] Sent: 04 March 2011 13:22 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Custom Actions during/post install and uninstall Am reading the tramontana tuto

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

2011-03-04 Thread Sameer Arora
Am reading the tramontana tutorial - one of the best online I have to say. Just need some clarification from WIX practitioners about custom actions (in C# preferably): - Can one perform custom actions during and post installation and uninstallation ? - I guess custom action post uninstall may not

[WiX-users] custom actions after reboot

2011-03-04 Thread Matthew Slane
Hi, I've got a property that checks whether MSMQ is available and custom actions to install it if it isn't. I've also got MsmqExtension working to create queues. I haven't got them working together. The installer works nicely if MSMQ is already installed, otherwise it installs the program bu

[WiX-users] Custom Actions to manage a refcount (or something cleverer?)

2011-03-02 Thread Alan Sinclair
I have several apps which need to set the same DWORD registry flag. The apps can be installed together (independently) on the same machine, so the flag must not be unset if one app is uninstalled while another is in place. Unfortunately the only permissible values for the flag are zero (or unset

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
toolset. Subject: Re: [WiX-users] Custom Actions & UAC Per your link... The issue with Windows Installer 5.0 is that the SeBackupPrivilege permission is missing altogether. It is necessary to add it to the service permission value in the registry (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\service

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

[WiX-users] Custom Actions & UAC

2011-01-20 Thread Andy Clugston
Hi Users, I am working on a product that needs to support Windows 7 w/ UAC enabled. The MSI has a few custom actions that perform various configuration items that I would like to keep contained within the MSI/product install. The custom actions are Execute='deferred' with Impersonate='no' and the

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
erves > attention? E-Mail Me > > > > - Original Message > From: Shaun Hayward > To: "WiX-users@lists.sourceforge.net" > Sent: Fri, January 14, 2011 12:39:11 PM > Subject: [WiX-users] Custom Actions - C++ vs C# vs VBScript > > Hello, WiX Communi

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
nal Message From: Shaun Hayward To: "WiX-users@lists.sourceforge.net" Sent: Fri, January 14, 2011 12:39:11 PM Subject: [WiX-users] Custom Actions - C++ vs C# vs VBScript Hello, WiX Community I've been playing around with WiX for about a year now and took over my company&#

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

2011-01-14 Thread Shaun Hayward
Hello, WiX Community I've been playing around with WiX for about a year now and took over my company's installations (WiX-based) a few months ago. I'm really enjoying it. I'm looking for some advice on the pros/cons of various ways of writing Custom Actions. I understand that an issue with the

[WiX-users] custom actions costs

2010-12-29 Thread Sean Farrow
Hi: When defining a cost for a custom action, what are the units for the values-miliseconds or something else? Also how does one go about determining how long a custom action will take-for example I'm calling a command line external to the main installer. Any advice appreciated. Cheers Sean. ---

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
attention? E-Mail Me - Original Message From: ALBERT Aurélien To: "wix-users@lists.sourceforge.net" Sent: Mon, August 30, 2010 6:51:54 AM Subject: [WiX-users] Custom Actions in VB.Net Hi, I need to call a custom function stored in a DLL from WIX using a CustomAction element

[WiX-users] Custom Actions in VB.Net

2010-08-30 Thread ALBERT Aurélien
Hi, I need to call a custom function stored in a DLL from WIX using a CustomAction element. I found several websites describing the method for a C# DLL, like this : http://stackoverflow.com/questions/1717318/creating-an-entry-point-in-a-c-dll-to-call-from-wix How can I do this with a VB.Net DL

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
35 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Actions with elevated privledges 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 exe

[WiX-users] Custom Actions with elevated privledges

2010-08-17 Thread Christian Froehlich
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 this an immediate custom action. This seems to wor

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

[WiX-users] Custom Actions Missing in InstallExecuteSequence

2010-05-11 Thread achandrapano
For some reason, when I make an msi build using WiX, sometimes the MSI that comes out is missing custom actions in my InstallExecuteSequence. The custom actions are correctly identified in the CustomActions table in Orca but in the InstallExecuteSequence, they are not there. This doesn't happen to

Re: [WiX-users] Custom Actions Best Practicies

2010-04-07 Thread dB .
ussion for Windows Installer XML toolset. Subject: [WiX-users] Custom Actions Best Practicies If I have a lot of custom action work going on and I mean a lot. Is it better to have a few custom actions that encompass most of the work, obviously this can be split into multiple functions within

[WiX-users] Custom Actions Best Practicies

2010-03-29 Thread Kerber, Cameron
If I have a lot of custom action work going on and I mean a lot. Is it better to have a few custom actions that encompass most of the work, obviously this can be split into multiple functions within the custom action or have a ton of separate custom actions? I'm trying to weigh the pros and co

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
al Message- From: Oscar Newkerk [mailto:osc...@unifysquare.com] Sent: Friday, August 14, 2009 2:15 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Actions I'm trying to use a custom action in my setup and getting an error when the MSI runs. The custom action is a DLL writ

[WiX-users] Custom Actions

2009-08-14 Thread Oscar Newkerk
I'm trying to use a custom action in my setup and getting an error when the MSI runs. The custom action is a DLL written in C# using the Visual Studio template for custom actions. It's not executing correctly when I run the setup. Any suggestions as to what I'm doing wrong? The entry point

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/

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

2009-02-13 Thread Kusuma Sudheer Kumar (Tata Consultancy Services)
Hi I am using Custom actions[ C# Code] for performing some tasks After InstallFinalize Action 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] I tried to use WixUI_InstallMode but it was not worki

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 tryi

[WiX-users] Custom actions failing

2008-10-14 Thread David Bartmess
I'm trying to wrap my head around the custom actions, and how to code them. I've got the following in my fragment, and although it builds fine, I always get an error about "a program required could not be run". Any suggestions would be helpful and appreciated! Thanks! (OFFICEVERSION =

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

  1   2   >