> 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
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 is definitely a good tool to author MSI packages with.
However it does leave an option to the user to uninstall a fix, which could
result in files/registry/whatever removed from the target machine, so your
authoring should take that into account.
Another issue is that one fix may be dependent
WiX uses a method similar to what's described in this post:
http://forum.installsite.net/index.php?showtopic=7745&p=20726
Only instead of using a file with a predefined name in %TMP% dir it uses a
global atom-table string.
To use it call WcaDeferredActionRequiresReboot from your deferred CA code
(
I assume Rob was speaking of WcaDoDeferredAction. If you are writing a CA in
C, I would defiantly be using wcautil.lib as it provides a framework for
handling native custom actions.
Ex:
EXPORT UINT __stdcall MyCA(MSIHANDLE hInstall)
{
HRESULT hr = S_OK;
UINT er = ERROR_SUCCESS;
hr
Rob,
Can you be more specific? I am not that familiar with wcautil.lib.
-Original Message-
From: Phil Wilson [mailto:phildgwil...@gmail.com]
Sent: Thursday, March 12, 2015 12:08
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Reboots
MsiDoAction() on ScheduleRebo
My organization frequently generate KB articles for our users with long
series of manual corrective steps. We plan to start building automated
packages to simplify and reduce human error - Similar to a Microsoft KB
with 'Fix it for me'/'let me fix it myself' options - e.g.
http://support.microsoft.
MsiDoAction() on ScheduleReboot might work - I'm not sure if that's
the underlying method that Rob is referring to.
---
Phil Wilson
On Wed, Mar 11, 2015 at 1:09 PM, Rob Mensching wrote:
> wcautil.lib provides a mechanism to do that.
>
> ___
wcautil.lib provides a mechanism to do that.
_
Short replies here. Complete answers over there: http://www.firegiant.com/
-Original Message-
From: Ivanoff, Alex [mailto:alex.ivan...@shavlik.com]
Sent: Wednesday, March 11, 2015
1. Call MsiSetMode (..) with one of the reboot choices depending
on when you want the reboot to happen.
2. Condition the dialog on the ReplacedInUseFiles property. That
should work, if not use MsiGetMode() to see if a reboot is pending.
However Windows Installer will show a dialog anyway and o
​​
​Hi,
I have created an installer that is supposed to be get install and start
the service. The installer does install in most machines , but during
installation in one of customers, it gave "Error 1920. Service
'SomeService'failed to start" error. The user has installed the software as
an admin
Fellow WiX users,
I apologize if this has been covered before, but I don't understand
things well enough to know what I should be searching for.
I've used WiX before, for a limited case, and it worked out pretty
well then; I hope it will work out for me now.
Here's the layout:
Application is a .N
12 matches
Mail list logo