[WiX-users] Injection Custom UI after LicenseAgreementDlg

2014-03-26 Thread Jun Qi(Timiz)
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

Re: [WiX-users] (Gentle Reminder)Creating directory under C:\Programdata same as what the user specified in the UI dialogue

2014-03-26 Thread Suvrajyoti Panda
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

Re: [WiX-users] WIX 3.5 - Adding active directory user to a local group

2014-03-26 Thread Wayne Drury
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

[WiX-users] Fwd: Fwd: Re: Uninstall removing the default Virtual directory and not the one user created

2014-03-26 Thread Suvrajyoti Panda
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)

Re: [WiX-users] Injection Custom UI after LicenseAgreementDlg

2014-03-26 Thread Hoover, Jacob
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,

Re: [WiX-users] Help with adding new elements using XMLConfig

2014-03-26 Thread Michael Turner
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

Re: [WiX-users] Some but not all files being removed on uninstall

2014-03-26 Thread Michael Turner
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

Re: [WiX-users] (Gentle Reminder)Creating directory under C:\Programdata same as what the user specified in the UI dialogue

2014-03-26 Thread Bevan Weiss
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,

[WiX-users] Custom action from ControlEvent fails

2014-03-26 Thread Amit Mohan
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

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-26 Thread Pavan Konduru
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

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-26 Thread wixard
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. --

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-26 Thread Pavan Konduru
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/

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-26 Thread Pavan Konduru
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

Re: [WiX-users] Help with adding new elements using XMLConfig

2014-03-26 Thread Uma Harano
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: