Hi Anton. Thanks for the reply. Project I saw had a reference to wixproj. The reference properties had description as "WiX project reference", which is why I felt if wixproj could be referred?
-----Original Message----- From: wix-users-requ...@lists.sourceforge.net [mailto:wix-users-requ...@lists.sourceforge.net] Sent: Tuesday, July 14, 2009 11:49 AM To: wix-users@lists.sourceforge.net Subject: WiX-users Digest, Vol 38, Issue 50 Send WiX-users mailing list submissions to wix-users@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/wix-users or, via email, send a message with subject or body 'help' to wix-users-requ...@lists.sourceforge.net You can reach the person managing the list at wix-users-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of WiX-users digest..." Today's Topics: 1. Re: 32-bit app launching 64-bit MSI problem (John Ludlow) 2. Re: 32-bit app launching 64-bit MSI problem (Wilson, Phil) 3. Re: 32-bit app launching 64-bit MSI problem (Michael Ballou) 4. 64bit package compiling (Igor Lemsky) 5. Reference to Wixproj file (kathik.shenoy) 6. Re: Can I control the UI when uninstall (zhihai guo) 7. Re: Reference to Wixproj file (Anton de Wit) ---------------------------------------------------------------------- Message: 1 Date: Mon, 13 Jul 2009 23:15:42 +0100 From: John Ludlow <john.ludlow...@gmail.com> Subject: Re: [WiX-users] 32-bit app launching 64-bit MSI problem To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Message-ID: <c27f45f90907131515s19c41858h2d43b72442eaa...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Depending on how your 32-bit app calls the install, it's possible that it's using the 32-bit copy of msiexec.exe, which means that the System32 folder gets redirected by default, which could mean that the file doesn't actually exist. You may be able to use something like ProcessExplorer to verify what version of msiexec.exe is running. If that is the problem, you may be able to fix it by making sure your app disables redirection before spawning the installation process. HTH John 2009/7/13 Michael Ballou <mbal...@eeye.com>: > I have a simple 64-bit MSI that I made install 1 64-bit dll to System64 > folder. > > Under the following circumstances, MSI gets an error: > 1. That file already exists in the real C:\Windows\System32 folder > 2. The install is launched through a 32-bit app (not explorer.exe). > Anything that can launch another process will show this problem. > > During CostFinalize, the following error occurs: > DEBUG: Error 2324: Could not open file: C:\Windows\system32\myfile64.dll > GetLastError: 2 > > > If I also put a file with the same name in the C:\Windows\SysWOW64 > folder, then the install continues on. ?The MSI is makred to be install > on x64 platforms and the component is marked with Win64="yes". ?It seems > when a 32-bit app launches ?msiexec.exe, MSI gets confused about where > the file should be. > > Can anyone clarify what's happening here and if there is any fix or > workaround? > > Thanks, > Mike Ballou > > > > > ---------------------------------------------------------------------------- -- > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------ Message: 2 Date: Mon, 13 Jul 2009 15:17:24 -0700 From: "Wilson, Phil" <phil.wil...@wonderware.com> Subject: Re: [WiX-users] 32-bit app launching 64-bit MSI problem To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Message-ID: <5c889913ff236e4190093af280ab4ec401826a9...@wwlkfmail1.wonderware.com> Content-Type: text/plain; charset="us-ascii" Are you actually launching msiexec.exe? The one in the SysWow64 folder rather than the 64-bit one? Phil Wilson -----Original Message----- From: Michael Ballou [mailto:mbal...@eeye.com] Sent: Monday, July 13, 2009 2:47 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] 32-bit app launching 64-bit MSI problem I have a simple 64-bit MSI that I made install 1 64-bit dll to System64 folder. Under the following circumstances, MSI gets an error: 1. That file already exists in the real C:\Windows\System32 folder 2. The install is launched through a 32-bit app (not explorer.exe). Anything that can launch another process will show this problem. During CostFinalize, the following error occurs: DEBUG: Error 2324: Could not open file: C:\Windows\system32\myfile64.dll GetLastError: 2 If I also put a file with the same name in the C:\Windows\SysWOW64 folder, then the install continues on. The MSI is makred to be install on x64 platforms and the component is marked with Win64="yes". It seems when a 32-bit app launches msiexec.exe, MSI gets confused about where the file should be. Can anyone clarify what's happening here and if there is any fix or workaround? Thanks, Mike Ballou ---------------------------------------------------------------------------- -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------ Message: 3 Date: Mon, 13 Jul 2009 18:16:35 -0700 From: "Michael Ballou" <mbal...@eeye.com> Subject: Re: [WiX-users] 32-bit app launching 64-bit MSI problem To: <wix-users@lists.sourceforge.net> Message-ID: <a641ceaddbaeae4c96fc5bf85469526803652...@av-mail01.corp.int-eeye.com> Content-Type: text/plain; charset="us-ascii" No. My customer is using a 3rd party shell type application (Total Commander) that happens to be 32-bit to run the setup. When launching the MSI from there, it gets the error. The MSI log shows the calling process is Msiexec.exe in the SysWow64 folder, so it is the 32-bit one. This also happens when using a chat program and sending a link to the msi file. When the chat program launches the app, it must be using the 32-bit one as well. The really weird part is we have our own setup exe wrapper based on the setupexe in Wix. It's a 32-bit executable. When you launch the wrapper EXE from Explorer, it works fine, but it still fails when launched from the same 32-bit shell program. I don't see how the parent process of my own 32-bit process would make a difference to which version of MSI gets called. Using process monitor it looks like msiexec finds the file in C:\Windows\system32 (real one), but then later it checks for the file in C:\Windows\SysWow64 and gets error 2 (file not found). So it looks like a bug in 32-bit MSI not calling the redirection functions properly. Thanks, Mike Ballou -----Original Message----- Are you actually launching msiexec.exe? The one in the SysWow64 folder rather than the 64-bit one? Phil Wilson -----Original Message----- From: Michael Ballou [mailto:mbal...@ee...] Sent: Monday, July 13, 2009 2:47 PM To: wix-us...@li... Subject: [WiX-users] 32-bit app launching 64-bit MSI problem I have a simple 64-bit MSI that I made install 1 64-bit dll to System64 folder. Under the following circumstances, MSI gets an error: 1. That file already exists in the real C:\Windows\System32 folder 2. The install is launched through a 32-bit app (not explorer.exe). Anything that can launch another process will show this problem. During CostFinalize, the following error occurs: DEBUG: Error 2324: Could not open file: C:\Windows\system32\myfile64.dll GetLastError: 2 If I also put a file with the same name in the C:\Windows\SysWOW64 folder, then the install continues on. The MSI is makred to be install on x64 platforms and the component is marked with Win64="yes". It seems when a 32-bit app launches msiexec.exe, MSI gets confused about where the file should be. Can anyone clarify what's happening here and if there is any fix or workaround? Thanks, Mike Ballou ------------------------------ Message: 4 Date: Tue, 14 Jul 2009 11:29:34 +0700 From: Igor Lemsky <igor.lem...@gmail.com> Subject: [WiX-users] 64bit package compiling To: wix-users@lists.sourceforge.net Message-ID: <cf2b7f0b0907132129y333c66dcvee1f77a772fbc...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 I have x64 Windows XP. I tried to make 64 bit package by setting attribute: <Package Id="*".... Platform="x64" /> and during compilation got an error: light.exe : error LGHT0310 : Failed to open package for validation. The most common cause of this error is validating an x64 package on an x86 system. To fix this error, run validation on an x64 sys tem or disable validation. So, what I did wrong? ------------------------------ Message: 5 Date: Tue, 14 Jul 2009 11:19:43 +0530 From: "kathik.shenoy" <karthik.she...@robosoftin.com> Subject: [WiX-users] Reference to Wixproj file To: <wix-users@lists.sourceforge.net> Message-ID: <001801ca0446$e3788a30$aa699e...@shenoy@robosoftin.com> Content-Type: text/plain; charset="us-ascii" I don't know if I am talking sense here. But just wanted to know whether it is possible to refer a wixproj in another wixproj. I saw a sample project where they were referring to wixproj file. When I tried to add an wixproj reference to my project, Visual studio puts up an error saying " make sure it's a valid Wix reference" Thanks in advance. ----------------------------------------------- Robosoft Technologies - Come home to Technology Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus. ------------------------------ Message: 6 Date: Tue, 14 Jul 2009 15:15:15 +0900 From: zhihai guo <zhh...@gmail.com> Subject: Re: [WiX-users] Can I control the UI when uninstall To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Message-ID: <860931380907132315k57234fd7ye5c3e82493793...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Thank you for your answer. And can I disable the "cancel" button of the prepareDlg and the progressDlg when uninstall? 2009/7/3 Rob Mensching <r...@wixtoolset.org> > This was asked pretty recently. > > You don't. > > zhihai guo wrote: > > Hi > > > > Can I control the UI when uninstall in the xml? > > > > Thank you. > > > ---------------------------------------------------------------------------- -- > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ---------------------------------------------------------------------------- -- > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------ Message: 7 Date: Tue, 14 Jul 2009 08:18:31 +0200 From: Anton de Wit <dewit.an...@gmail.com> Subject: Re: [WiX-users] Reference to Wixproj file To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Message-ID: <d422284a0907132318n7a2b5857uede3344321bb...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Hi, I suppose those references you saw being used were references to .wixlib projects or Wix Library Projects. Those types of projects can indeed be referenced in Wix projects and (afaik) are mainly used for reusable wix sections. Not sure if regular wix projects can be referenced. That would seem a bit awkward to me, since it's output would be an msi. Cheers, Anton. On Tue, Jul 14, 2009 at 7:49 AM, kathik.shenoy < karthik.she...@robosoftin.com> wrote: > I don't know if I am talking sense here. But just wanted to know whether it > is possible to refer a wixproj in another wixproj. I saw a sample project > where they were referring to wixproj file. When I tried to add an wixproj > reference to my project, Visual studio puts up an error saying " make sure > it's a valid Wix reference" > > > > Thanks in advance. > > > ----------------------------------------------- > Robosoft Technologies - Come home to Technology > > Disclaimer: This email may contain confidential material. If you were not > an intended recipient, please notify the sender and delete all copies. > Emails to and from our network may be logged and monitored. This email and > its attachments are scanned for virus by our scanners and are believed to be > safe. However, no warranty is given that this email is free of malicious > content or virus. > > ---------------------------------------------------------------------------- -- > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------ ---------------------------------------------------------------------------- -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users End of WiX-users Digest, Vol 38, Issue 50 ***************************************** ----------------------------------------------- Robosoft Technologies - Come home to Technology Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users