I use c# created a win form application that used for doing some configuration
things during installation.
Now I want to inject these form application after the LicenseAgreementDlg.
I have tried use Binary to define the location of my app, and define a
CustomAction,
Then use Publish to do
Hi Bevan,
As suggested I did the following:
* Replaced all the manually generated GUID's with * except the
component preferences file as light was giving error for the same
saying it is not allowed because the component is not nested under a
directory.
* Regarding the registry
Im still quite new to WiX 3.6 and using Wyrdfish code above the component
section is error stating I have to specificy the Directory. I have amended
to include directory and now its complnain of ICE18 but this directorytRef
is used in other components fine. what am I missing?
Use of code and
Hi All,
I was able to resolve the issue by following the below structure:
Directory Id=TARGETDIR Name=SourceDir
Directory Id=ENERGYSOLUTIONS Name=.
Directory Id='InstallDir' Name=$(var.installDir)
Directory Id=MYWEBWEBSITE Name=$(var.websiteDir)
Don't shell out to a custom application for settings. If the settings are
required for installation then gather them in a standard MSI UI or write your
own BA and pass them to the MSI as properties. Regardless of the method used,
you need to remember that silent installations will have no UI,
Uma,
First of all, I don't think you can insert XML before a given node using
XmlConfig; you can only append a new child to a given parent node.
(http://stackoverflow.com/q/8224918)
Also, there are two nodes that match your XPath expression, and XmlConfig
only uses the first match. Since you
Scott,
Is your product using conditional Features? One way that components can get
orphaned is if they belong to a Feature whose Level is 0 at time of
uninstall. Usually this happens when the intent is to install the feature
only if a certain prerequisite software is present, and if the
Have you verified that your XSLT is performing its job properly? If it's
setting the permanent attribute on every harvested component this would
obviously be the problem.
How are the registry entries a requirement?
If you are installing a 32bit application it can't see the 64-bit registry
hive,
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
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
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.
--
You should probably use CAQuietExec rather than ExeCommand, that way the cmd
window doesn't pop-up during installation.
This is how I run batch commands in my installer:
CustomAction Id=RunPostBatTask BinaryKey=WixCA DllEntry=CAQuietExec
Execute=deferred Return=ignore Impersonate=no/
Or try 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
Hi Mike,
Option 1 did not work - I got a message saying:
Failed to find snippet node //SnippetCollection//Language/SnippetDir[last()]
With option 2 (which was very promising and such a simple solution for me) I
get this error in the MSI log. The setup just rolls back immediately:
ExecXmlConfig:
14 matches
Mail list logo