[WiX-users] How to close MSI Dialog without clicking on FINISH pushbutton?

2012-02-13 Thread ppremk
Hi guys, I have been trying to close an MSI dialog from a custom dialog I created and have not been able to. I read some post here: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/What-does-Custom-OnExit-do-td5807840.html

[WiX-users] Applying System Security Policies via WiX (Windows Install in General)

2012-02-13 Thread Andy Clugston
All, Is there a way to apply system policies similar to how one would use secedit.exe? I currently have a custom action that runs secedit.exe which works fine, but the trouble is that my current approach does not work well with localized versions of Windows (i.e. the command line arguments

[WiX-users] WixQueryOsWellKnownSID

2012-02-13 Thread Andy Clugston
Hello, I am attempting to use the WixQueryOsWellKnownSID action to query the localized group names for the Administrators and Users groups. In general, per the log file the action appears to be running and exiting but is still returning the English spelling of these groups thus causing the

[WiX-users] Return a BOOL value from deferred CA to WIX

2012-02-13 Thread Ananda Doddagatte
Hi, I am Ananda. D . Our driver Installation package has developed using WIX. We used dpinst.exe to install drivers in a C# Custom Action DLL. Dpinst returns a value about the status of the drivers installed, it may have Restart. I got the values successfully in C# CA. But I need to inform the

Re: [WiX-users] Return a BOOL value from deferred CA to WIX

2012-02-13 Thread Peter Shirtcliffe
This has come up before http://sourceforge.net/mailarchive/message.php?msg_id=28519297 -Original Message- From: Ananda Doddagatte [mailto:anan...@virident.com] Sent: 13 February 2012 12:44 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Return a BOOL value from deferred CA to

Re: [WiX-users] How To Run Custom Action During Install But Not During Uninstall

2012-02-13 Thread sttaq
I was trying to follow the step mentioned in this thread but on compiling I get the following exception: C:\...\xyz.wxs(204) : error CNDL0024 : The CustomAction element contains illegal inner text: 'NOT Installed'. It may not contain inner text unless the Script attribute is specified. make: ***

Re: [WiX-users] How To Run Custom Action During Install But Not During Uninstall

2012-02-13 Thread sttaq
Ok my mistake in reading the post - it was supposed to be in Custom and not in CustomAction tag. Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-To-Run-Custom-Action-During-Install-But-Not-During-Uninstall-tp6395892p7280721.html Sent from

Re: [WiX-users] How To Run Custom Action During Install But Not During Uninstall

2012-02-13 Thread John Cooper
It's sounds like you're trying to do something like: CustomAction Id=MyCustomAction NOT Installed /CustomAction But you can't put the conditional there. You have to put the conditional in a Custom element in either the InstallExecuteSequence or the InstallUISequence (or both).

Re: [WiX-users] How To Run Custom Action During Install But Not During Uninstall

2012-02-13 Thread sttaq
Yes I realized it and its working now - what a blunder. Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-To-Run-Custom-Action-During-Install-But-Not-During-Uninstall-tp6395892p7280809.html Sent from the wix-users mailing list archive at

Re: [WiX-users] Applying System Security Policies via WiX (Windows Install in General)

2012-02-13 Thread Rob Mensching
Not that I'm aware of but if you built a data driven custom action, it'd be great if you could contribute it back to the community so the next person needing this could find it. smile/ On Mon, Feb 13, 2012 at 3:53 AM, Andy Clugston clug...@gmail.com wrote: All, Is there a way to apply system

Re: [WiX-users] dealing with functions that throw exceptions

2012-02-13 Thread Wilson, Phil
C++ custom actions have a defined signature that includes expected return values. http://msdn.microsoft.com/en-us/library/windows/desktop/aa368072(v=vs.85).aspx You may be able to store the message in a property or anywhere else (registry?) to retrieve later. Phil W -Original

Re: [WiX-users] warning message LGHT1076 : ICE60

2012-02-13 Thread TimM
I have the same issue, and the files that I am including are 3rd party files so we can not change them. I tried the DefaultLanguage = 0 and I then get a LGHT1101 warning. So that does not solve the issue. So if we can not get rid of the LGHT1076 warning I guess we would have to just ignore

Re: [WiX-users] Managed CustomActions not compiling with latest WiX 3.6 version

2012-02-13 Thread Trent255
In order to be able to compile my CA, I changed the line: UsingTask TaskName=ReadRegistry AssemblyFile=$(WixTasksPath)/ To: UsingTask TaskName=ReadRegistry AssemblyFile=C:\Program Files (x86)\WiX Toolset v3.6\bin\WixTasks.dll/ in the file: C:\Program Files

[WiX-users] WiX training in the US (or at least in English)?

2012-02-13 Thread Trent255
Hi Someone asked about WIX training in Europe in a previous thread and there was at least two German courses, but are there anyone doing courses in the US or anywhere else in the world in English? -- View this message in context:

Re: [WiX-users] WiX and dynamic file linking

2012-02-13 Thread TimM
Danish, The tool that you were creating to help with Dynamic linking of files to a WiX install is it done yet? If so where can we get it to try it out? Now I am really new to WiX and therefore do not know the in's or out's of it as I have been using InstallShield for quit some time now. Now I

Re: [WiX-users] Managed CustomActions not compiling with latest WiX 3.6 version

2012-02-13 Thread Rob Mensching
I think this is fixed in the next build. On Mon, Feb 13, 2012 at 12:19 PM, Trent255 trent...@gmail.com wrote: In order to be able to compile my CA, I changed the line: UsingTask TaskName=ReadRegistry AssemblyFile=$(WixTasksPath)/ To: UsingTask TaskName=ReadRegistry AssemblyFile=C:\Program

Re: [WiX-users] WiX and dynamic file linking

2012-02-13 Thread Rob Mensching
Uhh, where did you hear that it was okay to add and remove files from a Component during an minor upgrade/patch? That definitely does not work correctly in all scenarios. On Mon, Feb 13, 2012 at 1:19 PM, TimM timmay...@smarttech.com wrote: Danish, The tool that you were creating to help with

Re: [WiX-users] Patching and Pyro Warning PYRO1110

2012-02-13 Thread Elfe Xu
With someone's help, I figured out the approach. After CostFinalize action, before InstallValidate action, add a customer action, say UpdateFeatureChange, which changes the feature's reqire state accordingly. In DTF, it is as simple as FeatureInfo featureA2= this.Session.Features[FeatureA2];

Re: [WiX-users] Return a BOOL value from deferred CA to WIX

2012-02-13 Thread Ananda Doddagatte
Hi, Thanks for your reply, the post you mentioned contains the following: There's a Wix built-in custom action called WixCheckRebootRequired that runs after instalfinalize. An examination of the source code for that might help you work out how it's done if there are no quick answers on

Re: [WiX-users] IIS7 Site Id

2012-02-13 Thread Neil Sleightholm
The setting is still available in IIS7/7.5 and if you manually set the id in WiX then the state works ok. I think this is an ASP.NET issue rather than IIS but will do some more checking and report back (or more usefully apply a patch). Neil -Original Message- From: Rob Mensching