Re: [WiX-users] empty feature tree in maintenance mode
Hi all, as Stefan sad me in private mail: ghosts from the past is back! I had same problem with maintenance mode, but with Stefan help I localize and then found a reason of problem. It concealed in IsolateComponents Action. Quotation from http://msdn2.microsoft.com/en-us/library/Aa369561.aspx MSDN : This action must come after the CostInitialize action and before the CostFinalize action. Resolution (received from Stefan by mail) : Stefan Battmer wrote: What solved the problem that time was reordering the install sequence. The error occurred with this sequence: InstallUISequence Show Dialog=FatalErrorForm OnExit=error![CDATA[NOT HideFatalErrorForm]]/Show Show Dialog=UserExitForm OnExit=cancel/ Show Dialog=FinishedForm OnExit=success/ Custom Action=ERRCA_UIANDADVERTISED Before=AppSearch![CDATA[ProductState=1]]/Custom Custom Action=DIRCA_TARGETDIR After=ValidateProductID![CDATA[TARGETDIR=]]/Custom Show Dialog=ResumeForm After=IsolateComponents![CDATA[Installed= AND RESUME]]/Show Show Dialog=MaintenanceForm After=ResumeForm![CDATA[Installed]]/Show Show Dialog=WelcomeForm After=CostFinalize![CDATA[Installed= AND NOT RESUME]]/Show Show Dialog=ProgressForm After=WelcomeForm/ /InstallUISequence After changing it like this everything was working fine: InstallUISequence Show Dialog=FatalErrorForm OnExit=error![CDATA[NOT HideFatalErrorForm]]/Show Show Dialog=UserExitForm OnExit=cancel/ Show Dialog=FinishedForm OnExit=success/ Custom Action=ERRCA_UIANDADVERTISED Before=AppSearch![CDATA[ProductState=1]]/Custom Custom Action=DIRCA_TARGETDIR After=ValidateProductID![CDATA[TARGETDIR=]]/Custom Show Dialog=ResumeForm After=MaintenanceForm![CDATA[Installed= AND RESUME]]/Show Show Dialog=MaintenanceForm After=WelcomeForm![CDATA[Installed]]/Show Show Dialog=WelcomeForm After=CostFinalize![CDATA[Installed= AND NOT RESUME]]/Show Show Dialog=ProgressForm After=WelcomeForm/ /InstallUISequence Resolution of problem in my case: InstallUISequence Show Dialog=FatalErrorDlg OnExit=error / Show Dialog=UserExitDlg OnExit=cancel / Show Dialog=ExitDlg OnExit=success / Show Dialog=WelcomeDlg After=MigrateFeatureStates![CDATA[Installed=]]/Show Show Dialog=WelcomeMaintenanceDlg After=IsolateComponents![CDATA[Installed]]/Show Show Dialog=ProgressDlg After=WelcomeDlg / Show Dialog=PrepareDlg After=LaunchConditions / /InstallUISequence Changed to InstallUISequence Show Dialog=FatalErrorDlg OnExit=error / Show Dialog=UserExitDlg OnExit=cancel / Show Dialog=ExitDlg OnExit=success / Show Dialog=WelcomeDlg After=MigrateFeatureStates![CDATA[Installed=]]/Show Show Dialog=WelcomeMaintenanceDlg After=WelcomeDlg![CDATA[Installed]]/Show Show Dialog=ProgressDlg After=WelcomeDlg / Show Dialog=PrepareDlg After=LaunchConditions / /InstallUISequence Stefan Battmer wrote: Hi everyone, I have checked this with Wix 2.0.2520 and .4013 so it's most likely a bug in my installer source file. My setup in general runs fine. It incorporates a feature tree in a customize dialog where the user is allowed to select what he wants to install. Now when I display this very same dialog as a reaction on the user pressing 'Modify' in the maintenance form the feature tree in the customize Dlg. stays empty. I am unsure what information you might need. This is some part of the GUI source. I hope this is just something silly I oversee. Please let me know if you need more information. Any help or suggestion would be very nice. Thanks, Stefan Dialog Id=MaintenanceForm Width=373 Height=287 Title=[ProductName] Control Id=FinishButton Type=PushButton X=300 Y=261 Width=66 Height=18 Default=yes Text{\VSI_MS_Sans_Serif13.0_0_0}amp;Next/Text Publish Property=MODIFY Value=ALL![CDATA[MaintenanceForm_Action=Modify]]/Publish Publish Property=CustomizeForm_PrevArgs Value=MaintenanceForm![CDATA[1]]/Publish Publish Property=REINSTALL Value=ALL![CDATA[MaintenanceForm_Action=Repair]]/Publish Publish Event=Reinstall Value=ALL![CDATA[MaintenanceForm_Action=Repair]]/Publish Publish Property=REMOVE Value=ALL![CDATA[MaintenanceForm_Action=Remove]]/Publish Publish Event=Remove Value=ALL![CDATA[MaintenanceForm_Action=Remove]]/Publish Publish Event=EndDialog Value=Return![CDATA[(MaintenanceForm_Action=Repair) OR (MaintenanceForm_Action=Remove)]]/Publish !-- For some reason the customize tree stays empty when created via maintenance -- Publish Event=SpawnDialog
Re: [WiX-users] SelectionTree not showing the features to be installed!
Resolution found. Posted in neighbor topic: http://www.nabble.com/empty-feature-tree-in-maintenance-mode-tf1650272.html#a13743269 Empty feature tree in maintenance mode Sedgar wrote: Hi. Have same problem with visibility of features components in SelectionTree. All fine at the first time of msi running. But SelectionTree is empty after a product installed and I run installation again for modify some compomets. Any have idea about possible reasons of it? Maintenance Welcome Dialog - Maintenance Type Dialog(Modify, Reinstall, Remove) - Custom Setup Dialog(SelectionTree control with features) - ... Sebastian Brand-2 wrote: Also make sure the Feature's Level attribute is not set to 0. Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Oct 30, 2007, at 2:29 , Richard wrote: In article [EMAIL PROTECTED], Sajo Jacob [EMAIL PROTECTED] writes: I have defined all my features with Display='expand' and AllowAdvertise=yes with the appropriate components refs but still don't see the features on the selectiontree. It in fact shows a 2 level tree with no names to the features, something is definitely not right here since I have more than 2 features. Am I missing something here? Open the MSI in Orca and look at the Feature table to ensure that everything is populated correctly. -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download http://www.xmission.com/~legalize/book/download/index.html Legalize Adulthood! http://blogs.xmission.com/legalize/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://www.nabble.com/SelectionTree-not-showing-the-features-to-be-installed%21-tf4715585.html#a13743336 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] capturing errors from deployment using octopusCLI
Just to set the context right, we are using xml2iis (an vbscript utility) to create the website as the WIX iis:WebSite doesn't support all the IIS properties we intend to set. This xml2iis utility gets called in a custom action of the MSI. Question still holds good - how do we get the octopuscli to return the error when the custom action fails. Thanks, Chandra From: Pierson Lee (Volt) Sent: Wednesday, November 14, 2007 5:23 AM To: wix-users@lists.sourceforge.net Cc: Michael Thurlkill; Chandra Mohan Subject: RE: capturing errors from deployment using octopusCLI Forwarding to WiX list Does anyone know how to fail an MSI install with an error code if the website fails to be installed/configured? I was think of Windows Service and thought there was a way to do the iis:WebSite also but there doesn't seem to be. Any help is appreciated. Thanks Pierson From: Michael Thurlkill Sent: Tuesday, November 13, 2007 3:46 PM To: Pierson Lee (Volt); Chandra Mohan Subject: RE: capturing errors from deployment using octopusCLI We're using Wix. Chandra did most of the work, but I know just enough to be dangerous. From: Pierson Lee (Volt) Sent: Tuesday, November 13, 2007 3:43 PM To: Michael Thurlkill; Chandra Mohan Subject: RE: capturing errors from deployment using octopusCLI Are you creating your MSIs through WiX or using something else? From: Michael Thurlkill Sent: Tuesday, November 13, 2007 3:38 PM To: Pierson Lee (Volt); Chandra Mohan Subject: RE: capturing errors from deployment using octopusCLI So, how do you do that? Chandra, you probably know more about this than I do. Can you help work out how to get the error code out of the msi and octopus? From: Pierson Lee (Volt) Sent: Friday, November 09, 2007 6:14 PM To: Michael Thurlkill Subject: RE: capturing errors from deployment using octopusCLI I think you need to mark it critical in your MSI so the MSI install fails if it can't install the site. That's what I did to get Octopus to error From: Michael Thurlkill Sent: Friday, November 09, 2007 6:13 PM To: Pierson Lee (Volt) Subject: RE: capturing errors from deployment using octopusCLI Yes. I can see the errors from the msi in the octopus log. I just don't appear to get an errorcode out of octopus. From: Pierson Lee (Volt) Sent: Friday, November 09, 2007 5:55 PM To: Michael Thurlkill; Octopus Discussions Subject: RE: capturing errors from deployment using octopusCLI Are you deploying the website through an MSI? From: Michael Thurlkill Sent: Friday, November 09, 2007 12:25 PM To: Michael Thurlkill; Octopus Discussions Subject: RE: capturing errors from deployment using octopusCLI Does anyone deploy websites using Octopus? From: Michael Thurlkill Sent: Thursday, November 08, 2007 4:39 PM To: Octopus Discussions Subject: capturing errors from deployment using octopusCLI We are using octopuscli in an automated job to deploy a webapp to several web servers. If it is unable to deploy to one or more servers we would like to know and return failure for the job. I'm not seeing a way to do this other than parsing the logs to look for errors. Is there a way to cause octopus to return an error code? How are other teams dealing with this kind of scenario? Thanks - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Enable Wix3 Custom Action Trace
Just wondering how I can go about enabling trace from WiX custom actions. The perf counter install is failing without letting me know why (other than the standard windows installer error 1723, a DLL count not be run). I have had a look through the wix CA code, and can see it uses standard OutputDebugStringA, but can't see any trace output. I can see the checks at the top to ensure the trace level is set correctly. How do I go about setting the trace level correctly so I can see the debug output? Just FYI, a snippet of my code for installing the performance counter is as follows. !-- Queueing Related performance counters -- Component Id=QueuingPerformanceCounters Guid=1643532C-75E0-4769-901F-1C01C17B494C Directory=CoreBinaries CreateFolder Directory=CoreBinaries / util:PerformanceCategory Id=QPC DefaultLanguage=english Name=Queuing System MultiInstance=no Help=Measures statistics about the queuing system. Library=netfxperf.dll Open=OpenPerformanceData Close=ClosePerformanceData Collect=CollectPerformanceData util:PerformanceCounter Name=Messages Read/sec Type=rateOfCountsPerSecond32 / util:PerformanceCounter Name=Total Messages Read Type=numberOfItems32 / /util:PerformanceCategory /Component Anything wrong in there? Cheers, Mark - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
The problem isn't anything to do with Vista, its because your service has a dependency on something in the GAC and the files don't really appear in the GAC until after the Commit phase of the install. Just mark your service as starting automaticly and you shouldn't have any problem. Then Windows will start the service when its needed. Why do you think that you must start your service before the install finishes? -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download http://www.xmission.com/~legalize/book/download/index.html Legalize Adulthood! http://blogs.xmission.com/legalize/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
Talk about to the tail wagging the dog.Customer requirements should dictate installation behavior, not the installation technology being used. There are a number of ways to work around this limitation of MSI. Some involve code changes to the service exe and some require using alternative methods to publish the assembly and/or start the service. But to imply that MSI is perfect ( works as contructed is the term Microsofties like to use ) and that the requirement must therefore be void reminds me of the side of MSI that I really don't like. Richard [EMAIL PROTECTED] wrote: The problem isn't anything to do with Vista, its because your service has a dependency on something in the GAC and the files don't really appear in the GAC until after the Commit phase of the install. Just mark your service as starting automaticly and you shouldn't have any problem. Then Windows will start the service when its needed. Why do you think that you must start your service before the install finishes? -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download Legalize Adulthood! - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Never miss a thing. Make Yahoo your homepage.- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
Wouldn't a true solution be writing a chainer (bootstrapper)? Otherwise I agree with Christopher: these why do you think answers are implications of something that lies in the philosophy and the state of art - if the developer is assigned to preparing the installation, the developer thinks like a coder, and is going to assume that he can do everything with a development environment, be it the WiX or anything else. So tries to code free... and will come up with tons of questions seeming to be obvious, but hard to answer. And tons of people (the developers, I mean) will have to learn WiX from the starts, thus preventing the more complex, constructive questions from appearing on the list. The only escape from this trap - I think - can be better organized and more comprehensive documentations on the subject... there is a need for improved/new tutorials, books etc.. But we still have to wait for these to appear AFAIK. 2007/11/14, Christopher Painter [EMAIL PROTECTED]: Talk about to the tail wagging the dog.Customer requirements should dictate installation behavior, not the installation technology being used. There are a number of ways to work around this limitation of MSI. Some involve code changes to the service exe and some require using alternative methods to publish the assembly and/or start the service. But to imply that MSI is perfect ( works as contructed is the term Microsofties like to use ) and that the requirement must therefore be void reminds me of the side of MSI that I really don't like. *Richard [EMAIL PROTECTED]* wrote: The problem isn't anything to do with Vista, its because your service has a dependency on something in the GAC and the files don't really appear in the GAC until after the Commit phase of the install. Just mark your service as starting automaticly and you shouldn't have any problem. Then Windows will start the service when its needed. Why do you think that you must start your service before the install finishes? -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download Legalize Adulthood! - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Never miss a thing. Make Yahoo your homepage.http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] special characters in Wix Product Name
On Wed, 14 Nov 2007 17:39:25 +1300, Adam Langley wrote: Adam, I am building a Wix package, and my product name has a special character in it (Latin U with diaeresis Ü) I have tried both the actual character, and its entity equivalent (Ü), but Windows Installer is always unable to render the character when the package starts up... Just make sure you set the Codepage and Language values of the Product and the Package to the values your language (German, probably, in this case) requires. I also have accented characters in my language (Hungarian) and it works just fine. Bye, Gábor --- DEÁK JAHN, Gábor -- Budapest, Hungary E-mail: [EMAIL PROTECTED] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
Just mark your service as starting automaticly and you shouldn't have any problem. Then Windows will start the service when its needed. How does Windows know when the service needs to be started (other than boot time)? - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
Another solution that was suggested here was to use a deferred custom action to start the service. But that also doesn't seem to work. Using WiX 2.x branch and it results in a runtime error. The custom action works OK if run outside of the MSI. The error returned is Unable to schedule operation. The action must be scheduled between InstallInitialize and InstallFinalize. Currently I have it as, Binary Id=blah SourceFile=/ CustomAction Id=blah_ca ExeCommand= BinaryKey=blah Execute=deferred Impersonate=no Return=ignore / InstallExecuteSequence Custom Action=blah_ca OnExit=success / /InstallExecuteSequence Any ideas? I could be wrong but, I think your problem is that you're trying to use a binary that's embedded in the msi and this is only available between InstallInitialize and InstallFinalize. After InstallFinalize, all the temporary bits of your msi have been cleaned up. To run a custom action as late as you need, it has to be something you install or something already on the system. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
In article [EMAIL PROTECTED], =?ISO-8859-1?Q?J=E1nos_Brezniczky?= [EMAIL PROTECTED] writes: these why do you think answers are They're not answers, they're questions. Over and over and over again, I see people asking how do I do task X? without ever stating the goal. Many times X is the wrong task to achieve the goal. Generally services don't need to be started after the install is complete if they are set to start automatically. So you can avoid the whole issue of how do I get my service to start? if its created in such a way that it will start when needed anyway. -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download http://www.xmission.com/~legalize/book/download/index.html Legalize Adulthood! http://blogs.xmission.com/legalize/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
But it is possible to start services using MSI / WiX. I know. My installation does (I'm assuming it works for me because while the service is a .NET one, it is not installed in or dependent on the GAC). I guess what I'm trying to say is that there is merit to the ServiceControl element. Unfortunately, it doesn't apply equally for all choices of runtime environment. :-( Regards, Richard From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of János Brezniczky Sent: Wednesday, November 14, 2007 10:09 AM To: Richard Cc: WiX Users Subject: Re: [WiX-users] Services + Vista + GAC Well, then what do you think, why is there a ServiceControl element with start on install functionality? Should not it be completely removed to prevent people from thinking that they can accomplish it with MSI/WiX? It seems to me like people just simply need more than the current features. [Remainder of message trimmed] * C O N F I D E N T I A L I T Y N O T I C E * --- The content of this e-mail is intended solely for the use of the individual or entity to whom it is addressed. If you have received this communication in error, be aware that forwarding it, copying it, or in any way disclosing its content to any other person, is strictly prohibited. Quixote Traffic Corporation is neither liable for the contents, nor for the proper, complete and timely transmission of (the information contained in) this communication. If you have received this communication in error, please notify the author by replying to this e-mail immediately and delete the material from any computer. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
I agree the probing for the real goal instead of anwering the exact question is a good thing, but when someone replies with the `why do you think` tone, it is clear that the presumption is that they already know the requirement and have voided it. It's not a good way of starting a good dialog and coming to a proper resolution of the real problem. To me that is one of the biggest traps in becoming married to MSI. Richard [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], =?ISO-8859-1?Q?J=E1nos_Brezniczky?= writes: these why do you think answers are They're not answers, they're questions. Over and over and over again, I see people asking how do I do task X? without ever stating the goal. Many times X is the wrong task to achieve the goal. Generally services don't need to be started after the install is complete if they are set to start automatically. So you can avoid the whole issue of how do I get my service to start? if its created in such a way that it will start when needed anyway. -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download Legalize Adulthood! - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX MSI not removing REG entries during removal
If removal is what you expect, ICE validation (either with Orca or smoke) is related to the question, and running it will help you in case roaming user profiles would be involved. As I remember Registry... values are removed together with the contents of the component they belong to. 2007/11/14, Lanteigne, Alan [EMAIL PROTECTED]: During removal, should a WIX/Votive generated MSI remove any registry values it wrote during install? Or is there some place you have to specify that as the desired behavior? Thanks, Alan *Alan S. Lanteigne *| Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] *Interactive Intelligence Inc.* Deliberately Innovative www.inin.com - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WiX MSI not removing REG entries during removal
During removal, should a WIX/Votive generated MSI remove any registry values it wrote during install? Or is there some place you have to specify that as the desired behavior? Thanks, Alan Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX MSI not removing REG entries during removal
Nope, I was wrong. See the action attribute of registry element in the WiX help. 2007/11/14, János Brezniczky [EMAIL PROTECTED]: If removal is what you expect, ICE validation (either with Orca or smoke) is related to the question, and running it will help you in case roaming user profiles would be involved. As I remember Registry... values are removed together with the contents of the component they belong to. 2007/11/14, Lanteigne, Alan [EMAIL PROTECTED]: During removal, should a WIX/Votive generated MSI remove any registry values it wrote during install? Or is there some place you have to specify that as the desired behavior? Thanks, Alan *Alan S. Lanteigne * | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] *Interactive Intelligence Inc.* Deliberately Innovative www.inin.com - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
If this really is the C runtime then it's not going into the GAC (are you using the merge modules?) but it is being committed to the SxS directory at InstallFinalize (on Vista) so the effect is the same as if you had a managed code service dependent on assemblies being installed into the GAC. If it is the C runtime case and you have a C++ service your choices are to start the service with a custom action after InstallFinalize or to build the C++ with static link to the required runtime libraries. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Majer Sent: Tuesday, November 13, 2007 8:07 PM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Services + Vista + GAC Hi, I have a service I want to install and automatically start with an installer. Now, the runtime for the service is not available until after installer completed because the runtime goes into the GAC (it is just the VS2005 SP1 C runtime). One solution is to deploy the files locally (as in a per-user install), but that doesn't work because the service uses a plugin that is in a subdirectory of the installation. The location of the plugin is not easy to change. Another solution that was suggested here was to use a deferred custom action to start the service. But that also doesn't seem to work. Using WiX 2.x branch and it results in a runtime error. The custom action works OK if run outside of the MSI. The error returned is Unable to schedule operation. The action must be scheduled between InstallInitialize and InstallFinalize. Currently I have it as, Binary Id=blah SourceFile=/ CustomAction Id=blah_ca ExeCommand= BinaryKey=blah Execute=deferred Impersonate=no Return=ignore / InstallExecuteSequence Custom Action=blah_ca OnExit=success / /InstallExecuteSequence Any ideas? This problem will definitely keep surfacing regarding Vista and services. Is there something being done either in the Windows Installer or WiX to address this issue and allow services to start after GAC is updated? Or update the GAC, start services then commit installation?? Or is there a way to force GAC refresh (or whatever it is called) as an installation sequence? The current situation is a giant PITA. - Adam PS. I guess an alternative would be not to start the service on Vista and ask user either to start it manually or restart the machine. Not a good improvement from XP or 2003! - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
Richard wrote: The problem isn't anything to do with Vista, its because your service has a dependency on something in the GAC and the files don't really appear in the GAC until after the Commit phase of the install. Just mark your service as starting automaticly and you shouldn't have any problem. Then Windows will start the service when its needed. Why do you think that you must start your service before the install finishes? First a general comment - thanks for all the replies! Regarding the service now, I think the problem has a lot to do with the installation of stuff into the GAC (the recommended way of doing things after all). All that the service needs is the C runtime, nothing special here. But that is not available. Now, wix has ServiceControl start=install/ so, why have that? Coincidently, it works on *every* release of windows, but not Vista because of Vista's new way of handing assemblies. Therefore the bug is either in WiX, Windows Installer or Vista. By my understanding of how things work, GAC refresh/update/install/committing/whatever you want to call it, should just be an API call within Windows Installer so the installation sequence can be, .. install stuff (including to GAC) .. refresh GAC -- maybe this could be a custom step that doesn't run unless needed, like when starting services before installation is done. .. start services. Then if start services fails, you roll back by uninstalling the stuff from the GAC, (refreshing it again, if you have done it before) and rolling back the rest of the installation. Finally, the application here is installed as a service because it is not a user intractable application and it is the easiest way of doing things. But yes, there may be another way of running it... messy, but possible. But for general case, does windows have triggers that allow a service to be started automatically when someone tried to connect to UDP port 123 (example) or a named pipe? If yes, then I guess ServiceControl's start attribute can be removed? - Adam - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX MSI not removing REG entries during removal
Ok, I see this guy: createKeyAndRemoveKeyOnUninstall Creates the key, if absent, when the parent component is installed then remove the key with all its values and subkeys when the parent component is uninstalled. ...as an Action for the Registry element. That is almost what I'm looking for, except I need to remove a REG value and leave the key it's under intact. I'm modifying a value in an important MS key on install, and I want to either change it back or remove it during uninstall. When I build this project as a Setup Wizard project in VS2005, the MSI generated has the desired behavior...so it's got to be possible. Any ideas? Thanks for the help! Alan From: János Brezniczky [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 11:22 AM To: Lanteigne, Alan Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX MSI not removing REG entries during removal Nope, I was wrong. See the action attribute of registry element in the WiX help. 2007/11/14, János Brezniczky [EMAIL PROTECTED]: If removal is what you expect, ICE validation (either with Orca or smoke) is related to the question, and running it will help you in case roaming user profiles would be involved. As I remember Registry... values are removed together with the contents of the component they belong to. 2007/11/14, Lanteigne, Alan [EMAIL PROTECTED]: During removal, should a WIX/Votive generated MSI remove any registry values it wrote during install? Or is there some place you have to specify that as the desired behavior? Thanks, Alan Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
In article [EMAIL PROTECTED], Adam Majer [EMAIL PROTECTED] writes: Regarding the service now, I think the problem has a lot to do with the installation of stuff into the GAC (the recommended way of doing things after all). All that the service needs is the C runtime, nothing special here. But that is not available. As Phil mentioned, an easy solution to this is to link to the C runtime staticly and then *poof*, the problem goes away. ServiceControl start=install/ so, why have that? Please note that I'm not suggesting that ServiceControl has no point, or that there's never a need to control a service. I'm simply saying that most of the time a service exists to provide some functionality and you want that functionality to be there regardless of whether or not someone is logged into the machine. ServiceControl does more than *start* services. Plenty of times you need to stop services before you upgrade or install things, otherwise the service process keeps it loaded in memory and you can't update it without rebooting. IIS can hold onto your vdir, for instance. For your own services, you need to stop them before you can update them. I've used ServiceControl to start services I've installed plenty of times, but in this particular case (changes you need aren't done until InstallFinalize or later), it isn't working, so I was saying why not investigate if you can live without starting the service after you've installed it. Its a workaround. -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download http://www.xmission.com/~legalize/book/download/index.html Legalize Adulthood! http://blogs.xmission.com/legalize/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
Richard wrote: In article [EMAIL PROTECTED], Adam Majer [EMAIL PROTECTED] writes: Regarding the service now, I think the problem has a lot to do with the installation of stuff into the GAC (the recommended way of doing things after all). All that the service needs is the C runtime, nothing special here. But that is not available. As Phil mentioned, an easy solution to this is to link to the C runtime staticly and then *poof*, the problem goes away. Actually, that is not the 'easy' solution! There are other dependencies (not assembies, just regular DLLs) and those would have to reconfigurured and rebuilt. ServiceControl does more than *start* services. Plenty of times you need to stop services before you upgrade or install things, otherwise the service process keeps it loaded in memory and you can't update it without rebooting. IIS can hold onto your vdir, for instance. For your own services, you need to stop them before you can update them. I've used ServiceControl to start services I've installed plenty of times, but in this particular case (changes you need aren't done until InstallFinalize or later), it isn't working, so I was saying why not investigate if you can live without starting the service after you've installed it. Its a workaround. I know this. My question was why have the start attribute of the ServiceControl tag? Maybe a good feature for future release of WiX may be a delayed start of services. That is, the service is started after installation finalizes? - Adam - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Ваша реклама
Электронные рассылки по базам всего мира. тел. 660-35-0б - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Condition on Component based on Env Variable
Hi I am using the latest v2 I want to be able to create a registry key whose value is different depending on an environment variable. I cant seem to find any info on getting an environment variable at msi install time or any examples of using a condition on a component (I figured I'd define 2 components each with the opposite condition) Any ideas appreciated Regards Simon - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
I, for one, am glad there is a Start attribute on the ServiceControl element. We have several services in our product that work in combination with each other and are needed to be started before the install finishes as several custom actions run utilities that configure the system and depend on the services being started. Not my design, but WiX does the right thing for me. But, one of our other services relies on a component in the GAC so for that one I use a delayed custom action to NET START the service. Here's an example of one service being started after InstallFinalize CustomAction Id=NETSTART Property=NETSTART Value=NET START quot;HFS Hosting Servicequot; HideTarget=yes / CustomAction Id=caNETSTART Return=check ExeCommand=[NETSTART] Directory=TARGETDIR HideTarget=yes / And in the InstallExecuteSequence Custom Action=NETSTART After=InstallFinalize![CDATA[FrameworkRole = 3]]/Custom Custom Action=caNETSTART After=NETSTART![CDATA[FrameworkRole = 3]]/Custom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Majer Sent: Wednesday, November 14, 2007 11:08 AM To: WiX Users Subject: Re: [WiX-users] Services + Vista + GAC Richard wrote: In article [EMAIL PROTECTED], Adam Majer [EMAIL PROTECTED] writes: Regarding the service now, I think the problem has a lot to do with the installation of stuff into the GAC (the recommended way of doing things after all). All that the service needs is the C runtime, nothing special here. But that is not available. As Phil mentioned, an easy solution to this is to link to the C runtime staticly and then *poof*, the problem goes away. Actually, that is not the 'easy' solution! There are other dependencies (not assembies, just regular DLLs) and those would have to reconfigurured and rebuilt. ServiceControl does more than *start* services. Plenty of times you need to stop services before you upgrade or install things, otherwise the service process keeps it loaded in memory and you can't update it without rebooting. IIS can hold onto your vdir, for instance. For your own services, you need to stop them before you can update them. I've used ServiceControl to start services I've installed plenty of times, but in this particular case (changes you need aren't done until InstallFinalize or later), it isn't working, so I was saying why not investigate if you can live without starting the service after you've installed it. Its a workaround. I know this. My question was why have the start attribute of the ServiceControl tag? Maybe a good feature for future release of WiX may be a delayed start of services. That is, the service is started after installation finalizes? - Adam - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] IIS Web Address problem
I'm trying to get my IIS site to only listen on the IP address that I'm providing. When I use the following snippet of WiX code, though, I get two addresses in the IIS site properties, and the one that is selected for it to listen on is 'All Unassigned'. How do I replace All Unassigned with my IP address/hostname combo? iis:WebSite Id=PartnerXSite Directory=mainDirectory WebLog=DefaultLogging Description=PartnerX Web Site AutoStart=yes DirProperties=SoapWebProperties ConfigureIfExists=yes iis:WebAddress Id=PartnerXAddrId IP=[PartnerX.IPAddress] Header=$(var.PartnerXHeader) Port=80 / iis:WebApplication Id=PartnerXWebApp Isolation=high WebAppPool=PartnerXPool Name=PartnerX Web Site / /iis:WebSite - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX MSI not removing REG entries during removal
Could these errors (from my removal log) be the cause of REG values and files not being removed during uninstall? MSI (s) (14:A4) [14:56:29:803]: Disallowing uninstallation of component: {193119C5-AF4B-4432-9406-FFB4C34DE70D} since another client exists MSI (s) (14:A4) [14:56:29:803]: Disallowing uninstallation of component: {193119C5-AF4B-4432-9406-FFB3C34DE70D} since another client exists MSI (s) (14:A4) [14:56:29:803]: Disallowing uninstallation of component: {193119C5-AF4B-4432-9406-FFB2C34DE70D} since another client exists MSI (s) (14:A4) [14:56:29:803]: Disallowing uninstallation of component: {193119C5-AF4B-4432-9406-FFB1C34DE70D} since another client exists MSI (s) (14:A4) [14:56:29:803]: Disallowing uninstallation of component: {193119C5-AF4B-4432-9406-FFB1C34DE70D} since another client exists MSI (s) (14:A4) [14:56:29:803]: Disallowing uninstallation of component: {193119C5-AF4B-4432-9406-FFB5C34DE70D} since another client exists Alan From: János Brezniczky [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 11:22 AM To: Lanteigne, Alan Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX MSI not removing REG entries during removal Nope, I was wrong. See the action attribute of registry element in the WiX help. 2007/11/14, János Brezniczky [EMAIL PROTECTED]: If removal is what you expect, ICE validation (either with Orca or smoke) is related to the question, and running it will help you in case roaming user profiles would be involved. As I remember Registry... values are removed together with the contents of the component they belong to. 2007/11/14, Lanteigne, Alan [EMAIL PROTECTED]: During removal, should a WIX/Votive generated MSI remove any registry values it wrote during install? Or is there some place you have to specify that as the desired behavior? Thanks, Alan Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
In article [EMAIL PROTECTED], Adam Majer [EMAIL PROTECTED] writes: ServiceControl does more than *start* services. [...] I know this. My question was why have the start attribute of the ServiceControl tag? Because ServiceControl does more than start services. Maybe a good feature for future release of WiX may be a delayed start of services. That is, the service is started after installation finalizes? As was also suggested, this would be better handled from a bootstrapper. -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download http://www.xmission.com/~legalize/book/download/index.html Legalize Adulthood! http://blogs.xmission.com/legalize/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Bug in Wix preprocessor?
This should work. Can you file a bug on SourceForge for this? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Hancock (HSG) Sent: Tuesday, November 13, 2007 7:08 AM To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Subject: [WiX-devs] Bug in Wix preprocessor? I'm getting a compile error in a Wix project in the following scenario where a .wxi include file included in another .wxi include file isn't read from a location relative to the outside include but instead relative to the file that included the outer include file. In other words, I've got files that look something like the following: A.wxs Outer.wxi Inner.wxi SubDirectory\B.wxs A.wxs includes Outer.wxi like: ?include Outer.wxi ? B.wxs includes Outer.wxi like: ?include ..\Outer.wxi ? Outer.wxi includes the line: ?include Inner.wxi ? I get a compile error something like the following: Error 1 The system cannot find the file 'Inner.wxi ' with type 'include'. D:\MyDirectory\Outer.wxi 111 MyProject When processing includes for A.wxs, the compiler is able to find Inner.wxi OK, but it cannot for B.wxs because it looks for Inner.wxi in its own folder rather than relative to the location where it included Outer.wxi. This ought to work, should it not? John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Creating Localized MSI using WIX
Hi, I don't know if this is the right DL - if not, Please, forward to the right one. I'm trying to create MSI package using WIX toolset. I'm getting errors when I'm using localized (non-ASCII) names of the files/directories... For example: the last error that I got is: light.exe : fatal error LGHT0017 : Failed to create cab 'C:\Users\michala\AppData\Local\Temp\Cact\fwqlavsx\app.cab' while cabbing file 'c:\Telemetry\E2E_1_MSI_Cycle1_1453562_1.exe' with error 0x8007007B. Can you please help me with this? What should I do in order to create localized MSI with localized names of files/directories etc...? Thanks, Michal - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] YOUR INHERITANCE FUNDS OF $15.5M APPROVED
\FROM THE DESK OF MR STEVEN WILLIAMS DIRECTOR,INTERNATIONAL REMITTANCE FOREIGN OPERATIONS DEPT, UNION BANK OF NIGERIA PLC, LAGOS-NIGERIA. ATTENTION:PLEASE YOUR INHERITANCE FUNDS OF $15.5M THIS IS TO NOTIFY YOU THAT YOUR OVER DUE INHERITANCE FUNDS HAS BEEN GAZZETED TO BE RELEASED, VIA KEY TELEX TRANSFER (KTT )-DIRECT WIRE TRANSFER TO YOU BY THE SENATE COMMITTEE FOR FOREIGN OVER DUE FUND TRANSFER. MEANWHILE,A WOMAN CAME TO MY OFFICE FEW DAYS AGO WITH A LETTER,CLAIMING TO BE YOUR TRUE REPRESENTATIVE. HERE ARE HER INFORMATIONS: NAME JANET WHITE BANK NAME: CITI BANK,YORK. BANK ADDRESS: NEW YORK, USA. ACCOUNT Number: 6503809428. PLEASE,DO RECONFIRM TO THIS OFFICE ,AS A MATTER OF URGENCY IF THIS WOMAN IS FROM YOU SO THAT THE FEDERAL GOVERNMENT WILL NOT BEHELD RESPONSIBLE FOR PAYING INTO THE WRONG ACCOUNT NAME. THE RESERVE BANK GOVERNOR,EXECUTIVE, BOARD OF DIRECTORS AND THE SENATE COMMITTEE FOR FOREIGN OVER DUE INHERITTANCE FUND HAVE APPROVED AND ACCREDITED THIS REPUTABLE BANK WITH THE OFFICE OF THE DIRECTOR,INTERNATIONAL REMITTANCE / FOREIGN OPERATIONS,TO HANDLE AND TRANSFER ALL FOREIGN INHERITTANCE FUNDS THIS SECOND QUARTER PAYMENT OF THE YEAR. HOWEVER,WE SHALL PROCEED TO ISSUE ALL PAYMENTS DETAILS TO THE SAID MRS.WHITE,IF WE DO NOT HEAR FROM YOU WITHIN THE NEXT SEVEN WORKING DAYS FROM TODAY. CONGRATULATIONS IN ADVANCE. BEST REGARDS, MR STEVEN WILLIAMS TELL:+234-8033707948 DIRECTOR, INTERNATIONAL REMITTANCE FOREIGN OPERATIONS DEPT, UNION BANK OF NIGERIA PLC, LAGOS-NIGERIA. CC: ALL FOREIGN INHERITTANCE FUNDS CC:CENTRAL BANK GOVERNOR CC: BOARD OF DIRECTORS [FPD] CC: ACCOUNTANT GENERAL OF NIGERIA - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] wixca.wixlib and sca.wixlib not in WIX 3.0?
Leo ... wrote: What happened to the two WIX libs wixca.wixlib and sca.wixlib in WIX version 3.0? They're now embedded in extensions (like WixUtilExtension and WixIIsExtension). Load them with the -ext switch to candle and light. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Enable Wix3 Custom Action Trace
Mark Allanson wrote: Just wondering how I can go about enabling trace from WiX custom actions. The perf counter install is failing without letting me know why (other than the standard windows installer error 1723, a DLL count not be run). I have had a look through the wix CA code, and can see it uses standard OutputDebugStringA, but can't see any trace output. Only debug builds of WiX/wcautil use OutputDebugString. Otherwise, wcautil detects verbose logging and will write those messages to the MSI log. MSI doesn't expose what kind of logging is enabled, so wcautil first checks for a LOGVERBOSE property being set; if not, it checks the MSI logging policy registry at HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer!Logging to see if it includes the v switch. In very recent builds, I added a check for the standard MSI property MsiLogging (in MSI 4.0 on Vista) too. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX MSI not removing REG entries during removal
Lanteigne, Alan wrote: Could these errors (from my removal log) be the cause of REG values and files not being removed during uninstall? If your registry values belong to the component that's not being uninstalled, yes. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Не забудь записать
Страхование КАСКО и ОСАГО Тел. 644-76-38 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Doing a RegistrySearch and storing it into a Property - default value
Hello, I have the following code snippet: Property Id=INSTALLDIR RegistrySearch Id=PreviousInstallLocationRegistrySearch Root=HKCU Key=SOFTWARE\My Name\My App Name=InstallDir Type=raw / /Property This snippet should set the INSTALLDIR property to the path where the app is installed when uninstalling and do nothing if the app is being installed. Writing the path to the registry during install works perfectly. Also, the given snippet works, but I wonder why. If the app is already installed, RegistrySearch finds something and this is assigned to the property INSTALLDIR. But what about the case when RegistrySearch returns nothing? According to the specification, has INSTALLDIR the empty string or is INSTALLDIR untouched? I think this is not clear when I read the specifications of the Property and RegistrySearch elements. In the description of the Property element, it is said under Value: Sets a default value for the property. The value will be overwritten if the Property is used for a search. - what does that mean? Thanks in advance. Regards Sabrina Werscheid ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] File element and DiskId
Ah, I see. That isn't as flexible, and seems a bit confusing, but it should work. I expected the hierarchy to work the other way around. That is, that I would have a media element that would specify what features were contained in it. E.g. Property Id='DiskPrompt' Value=USGS Topographic Basemaps Arizona [1] / Media Id=1 Cabinet=az.cab DiskPrompt=TOPO_AZ_DISK1 FeatureRef Id=AZ_250k_MapPack/ /Media --Craig --- http://www.overlandnavigator.com Touchscreen Friendly GPS Mapping -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 5:26 PM To: [EMAIL PROTECTED] Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] File element and DiskId Craig Miller wrote: Why is the diskId associated with a file? Because at the end of the day, files go into .cabs or disks.g That said, you can also specify media IDs at the component or directory levels and they cascade down to their contained files. What you can't do at the moment is specify media IDs outside the fragment. I think you can do everything you talk about. Media IDs are just integers; you can create different Media elements at your product level; you just have to do a least common denominator approach (i.e., break up your media such that they fit on CD so you can reuse them on a DVD). Example 1: Assuming I have 3 files... All will fit on the DVD, but only one will fit on each CD. If I specify the DiskId at the file level, everything always goes onto Disk1 unless I edit the reusable fragment. Use three media IDs, one for each file. In your DVD product, each Media element points to the same layout. In your CD product, a different layout each. and it's GUID. Unfortunately, the file element specifies the DiskId and only the primary state being installed will fit on the DVD. The partial files need to go onto DVD 2 (DiskId 2). Same as example #1, really. Have as many Media IDs as you need to cover the different scenarios (three whole states, plus overlaps). In the Media elements for each Product element, you can lay them out however fits your CDs/DVDs. -- sig://boB http://joyofsetup.com/ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.31/1130 - Release Date: 11/14/2007 9:27 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.31/1130 - Release Date: 11/14/2007 9:27 AM - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
Adam Majer wrote: I know this. My question was why have the start attribute of the ServiceControl tag? Because MSI supports it for low-dependency services. Maybe a good feature for future release of WiX may be a delayed start of services. That is, the service is started after installation finalizes? That works only when the service is ACLd to let standard users start it. Same with a post-InstallFinalize custom action, because it can't run elevated. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] File element and DiskId
Craig Miller wrote: Why is the diskId associated with a file? Because at the end of the day, files go into .cabs or disks.g That said, you can also specify media IDs at the component or directory levels and they cascade down to their contained files. What you can't do at the moment is specify media IDs outside the fragment. I think you can do everything you talk about. Media IDs are just integers; you can create different Media elements at your product level; you just have to do a least common denominator approach (i.e., break up your media such that they fit on CD so you can reuse them on a DVD). Example 1: Assuming I have 3 files... All will fit on the DVD, but only one will fit on each CD. If I specify the DiskId at the file level, everything always goes onto Disk1 unless I edit the reusable fragment. Use three media IDs, one for each file. In your DVD product, each Media element points to the same layout. In your CD product, a different layout each. and it's GUID. Unfortunately, the file element specifies the DiskId and only the primary state being installed will fit on the DVD. The partial files need to go onto DVD 2 (DiskId 2). Same as example #1, really. Have as many Media IDs as you need to cover the different scenarios (three whole states, plus overlaps). In the Media elements for each Product element, you can lay them out however fits your CDs/DVDs. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to copy whole directory
They work the same way. Just list all the files you want installed and the Windows Installer will install/uninstall/rollback them all. diwakar09 wrote: hi, in case of installation i need to copy my whole directory and its subdirectories to the installation location, I know how to copy a single file but i got confuse in case of copying directory, please help me out - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Change button in Add/Remove Programs dialog
Or Property Id=ARPNOMODIFY Value=1/ All the same. smile/ Rob Hamflett wrote: Set ARPNOMODIFY to 1. Property Id=ARPNOMODIFY![CDATA[1]]/Property or just Property Id=ARPNOMODIFY1/Property should do the trick. Rob Abdullah Ahmed wrote: Hey guys, Is there anyway to disable or remove the change button in the add/remove programs dialog? My installer currently installs and uninstalls silently (with no UI ) but the Change button seems to only run a custom action and then quits leaving the program in a half uninstalled state. -- . Abdullah Ahmed . [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Services + Vista + GAC
I don't know where to reply to this thread so I thought I'd just start here. Personally, in the list of all the technologies to blame, I blame Fusion. smile/ Fusion is the technology under the GAC (Fusion is actually a code name for a few things but the GAC is very much Fusion's fault) and due to some (IMHO) really brain dead design decisions they created a system that doesn't interact really well with existing installation technologies. Then the C++ team did another brain dead thing (IMHO) and took a dependency on Fusion and made the C Run Time (CRT) Win32 SxS DLLs. Now we have deep, low-level, core functionality that pretty much everyone on the planet (that writes C++) needs dependent on a high level, poorly designed, data store (aka: GAC). The easiest way out of the mess and the one that I always recommend is to statically link the CRT. There are downsides (your executable is bigger for example) but your install gets so amazingly more simple that I personally can't imagine making the trade off the other way. For example, you'll notice all of the WiX custom actions statically link to the CRT so your install has no dependencies on the GAC (which are actually impossible to satisfy in the middle of an install). PS: Has anyone ever noticed how many custom actions the CRT merge modules pull in? Terrifying amounts of code to do something that should have remained simple, copy the CRT with your application. And to think, people use to argue that the GAC was going to make installation easier. smile/ Adam Majer wrote: Richard wrote: The problem isn't anything to do with Vista, its because your service has a dependency on something in the GAC and the files don't really appear in the GAC until after the Commit phase of the install. Just mark your service as starting automaticly and you shouldn't have any problem. Then Windows will start the service when its needed. Why do you think that you must start your service before the install finishes? First a general comment - thanks for all the replies! Regarding the service now, I think the problem has a lot to do with the installation of stuff into the GAC (the recommended way of doing things after all). All that the service needs is the C runtime, nothing special here. But that is not available. Now, wix has ServiceControl start=install/ so, why have that? Coincidently, it works on *every* release of windows, but not Vista because of Vista's new way of handing assemblies. Therefore the bug is either in WiX, Windows Installer or Vista. By my understanding of how things work, GAC refresh/update/install/committing/whatever you want to call it, should just be an API call within Windows Installer so the installation sequence can be, .. install stuff (including to GAC) .. refresh GAC -- maybe this could be a custom step that doesn't run unless needed, like when starting services before installation is done. .. start services. Then if start services fails, you roll back by uninstalling the stuff from the GAC, (refreshing it again, if you have done it before) and rolling back the rest of the installation. Finally, the application here is installed as a service because it is not a user intractable application and it is the easiest way of doing things. But yes, there may be another way of running it... messy, but possible. But for general case, does windows have triggers that allow a service to be started automatically when someone tried to connect to UDP port 123 (example) or a named pipe? If yes, then I guess ServiceControl's start attribute can be removed? - Adam - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Condition on Component based on Env Variable
[%ENVVAR] doesn't work? The MSI SDK has a topic about Formatted columns in the MSI database. It lists all kinds of cool tricks like the above. Simon Burgess wrote: Hi I am using the latest v2 I want to be able to create a registry key whose value is different depending on an environment variable. I cant seem to find any info on getting an environment variable at msi install time or any examples of using a condition on a component (I figured I’d define 2 components each with the opposite condition) Any ideas appreciated Regards Simon - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users