Even m using the same code but still its not working!!!
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/desktop-shortcuts-not-working-tp4695442p7595884.html
Sent from the wix-users mailing list archive at Nabble.com.
Hello,
I am using CloseApplication to check for certain applications running during
installation and then to prompt the use to close the applications.
There are three buttons that are part of the prompt dialog: Cancel, Retry,
and Ignore.
I want to remove the Ignore option from the dialog
The problem with my original issue was I didn't have cache=yes because I
had read that was the default but when the issue came up the
InstallCondition for those packages was false (incorrectly).
Now my new problem is I am trying to get a certain package to run when the
user launches the uninstall
I may have found the solution. It seems to entail editing CloseApps.cpp in
the source then building the WixUtilExtension.dll.
http://wix.codeplex.com/SourceControl/latest#src/ext/ca/wixca/dll/CloseApps.cpp
http://wixtoolset.org/documentation/manual/v3/wixdev/building_wix.html
--
View this
Here is the area of interest in the source:
static HRESULT PromptToContinue(
__in_z LPCWSTR wzApplication,
__in_z LPCWSTR wzPrompt
)
{
...
do
{
hr = ProcFindAllIdsFromExeName(wzApplication, prgProcessIds,
cProcessIds);
if (SUCCEEDED(hr) 0 cProcessIds)
{
Since the BA must take over the installation states for features, INSTALLLEVEL
in the Packages is now essentially irrelevant. You'd need to define a concept
like INSTALLLEVEL in your BA if that's what you want .
___
FireGiant |
I should also note that manipulating Feature states is way more challenging
than it should be with the Windows Installer. At FireGiant, we generally
encourage our clients to avoid Features and try breaking their installation
down into smaller packages.
Free advice, do with it as you wish.
Now the trouble is getting that change into WiX so that I can build an MSI
using this change in wixca.dll which will be used in WixUtilExtension.dll.
--
View this message in context:
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.
9 matches
Mail list logo