[WiX-users] Integrity of WiX binaries
Hi, Is it possible for WiX binaries and the MSI (eg Wix35.msi) to be digitally signed by the WiX team? Alternatively is it possible for an authoritative team member to post MD5 and SHA-1 hashes of the official binaries and the MSI to this list? My organization now requires integrity validation of all software used in the build process. If the cost of a digital certificate is a consideration, I'm sure many organizations would be willing to donate Thank you -- Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Uninstall can't stop running application due to UAC
On Vista SP2, I installed my application, which runs elevated thanks to its manifest, using a simple MSI I made with WiX 3. But when I want to uninstall, UAC becomes a problem. . If I manually run the MSI elevated and click Remove, it detects that my application is still running, displays its full file description (not just the process name), and is able to close the application. No problems. . If I use "Uninstall or change a program" (Add/Remove Programs), it detects that my application is still running, displays only the process name, and fails to close the application. This is probably due to process privileges and user interface privilege isolation (UIPI). This happens AFTER the uninstaller requests elevation. . If I manually run the MSI without elevation and click Remove, it tells me: "The setup must update files or services that cannot be updated while the system is running. If you choose to continue, a reboot will be required to complete the setup." This happens before it requests elevation. It does not close the application after elevation. If it matters, the application does not always show a main window, it just has a hidden window for system tray icon notification messages. The WiX .wxs file I used to make the MSI has InstallPrivileges="elevated" and InstallScope="perMachine" for the Package. I want uninstallation to always be able to close my application. Any suggestions? /a -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Question on using Wix
On Thu, 30 Jul 2009 12:05:00 -0500 Qi Ning wrote: >Hi, > >I am new using wix (v3.0). Here are a question that I cannot >figure out with the user manual. > >The question is about how to specify a directory: >I used the following to find out where the VS2010 is installed. > > > Key=SOFTWARE\Microsoft\VisualStudio\10.0" Name="InstallDir" >Root="HKLM" Type="raw" /> > > >I will get back something likeVS2010INSTALLDIR=C:\Program >Files\Microsoft Visual Studio 10.0\Common7\IDE\ > >My question is how to write a Wix Directory element to install my >files into >VS2010INSTALLDIR\extensions\MyCompany\MyFeature\v1.0. > >The examples given in the manual do not show clues to do this. Do >I need to parse VS2010INSTALLDIR? > >-- >Qi Hi Qi, Definitely read these excellent tutorials, at least Lesson 1: http://www.tramontana.co.hu/wix/lesson1.php I accomplished what you intended with the following snippet: ... P.S. Don't forget the tutorials! http://www.tramontana.co.hu/wix/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Uninstall can't stop running application due to UAC
On Wed, 29 Jul 2009 20:02:32 -0500 Bob Arnson wrote: >lambda...@hushmail.com wrote: >> I want uninstallation to always be able to close my application. > >> > >The WiX CloseApplication element offers the ElevatedCloseMessage >attribute to do this. > >-- >sig://boB >http://joyofsetup.com/ Thank you! This accomplished the letter, if not the spirit, of what I was hoping for: ... . If I run the MSI without elevation and click Remove, it still says a reboot will be necessary, instead of displaying the "Files in Use" dialog for closing applications. The "xxx" Description is never used because that dialog is not displayed. However, after elevation, near the end of uninstallation, the application is silently forced to close. It's not the same user experience as if uninstallation would elevate immediately, display the usual close application dialog, and succeed right then. . If I uninstall from "Uninstall or change a program" (Add/Remove Programs), it requests elevation but still isn't able to close the application from the dialog. It tries, fails, displays an error, and asks whether to continue or cancel. If I continue, the application then suddenly, silently closes. So although CloseApplication does ensure that the application is closed, the user experience is still rough around the edges. Hopefully no one will want to uninstall the application /a -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] The results of your email commands
On Fri, 31 Jul 2009 08:22:18 -0500 Konstantin Vlasenko wrote: >Trying to make my own WixExtension. Do the same as in the SQL >extension > project (have added my.xsd and made EmbeddedFlattenedResource, XsdGenSource > steps). > I get the error when I run this cli: candle -ext MyExtension test.wxs > error CNDL0200 : The Product element contains an uhandled extension element > 'My:Script'. Please ensure that the extension for elements in the ' > http://scheas.microsoft.com/wix/MyExtension' namespace has been provided. > Source trace:at C:\wix\wix3.0.5419.0- sources\build\debug\x86\test.wxs: line > 10 > > Am I doing somthing wrong? > BTW: I see the Microsoft.Tools.WindowsInstallerXml.Extensions.Xsd.my.xsd > resource in the Resources folder of the extension dll via Reflector. Could you please e-mail the relevant portion of the XML in test.wxs, to the mailing list? I'm especially interested In the tag, for the http://scheas.microsoft.com/wix/MyExtension";> part. Perhaps it should read "http://schemas..."; instead of "http://scheas...";? Also, don't forget to add your extension as a reference. In Visual Studio, this is accomplished in the Solution Explorer pane by right- clicking on References and choosing Add Reference This action amounts to adding a new tag under a Project/ItemGroup tag in your .wixproj file. /a -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WixQueryOsWellKnownSID fails on Windows NT 4.0
If I run a WiX 3.0-created MSI on Windows NT 4.0 that uses or (of course, LocalService does not exist on NT 4.0) for configuring the account a service runs as, the installer fails right away with "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor." The log indicates the following: Note: 1: 1723 2: WixQueryOsWellKnownSID 3: WixQueryOsWellKnownSID 4: C:\TEMP\MSI2.tmp Error 1723. There is a problem ... Action WixQueryOsWellKnownSID, entry: WixQueryOsWellKnownSID, library: C:\TEMP\MSI2.tmp Action ended ... WixQueryOsWellKnownSID. Return value 3. This is on Windows NT 4.0 Service Pack 6a + Q299444 (SRP), with no other hotfixes, running Microsoft Installer 2.0. NT 4.0 support is important in this situation. Although I could make a separate installer for use on NT 4.0, is it possible to make WixQueryOsWellKnownSID work on this OS? /a -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users