Re: [WiX-users] FilesInUse Dialog is not working properly...
One of the things required for Windows Installer to put an entry in the FilesInUse dialog is that it needs to be able to find a window handle. This is why the program doesn't appear in the list if it is in the tray. I think this might have been sorted out in Windows Installer v4. You'll need a custom action to get round the problem. Rob V K Gangwar wrote: Hello All, While my application is running an ICON is displayed in system tray. When I uninstall my application FilesInUse dialog doesn't tell that application is currently running. But if click the ICON (maximized condition) and then Uninstall the application. that time FilesInUse dialog displays properly. How I fix this problem. Regards, Veerendra Yahoo! oneSearch: Finally, mobile search that gives answers http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC, not web links. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Run my Setup.exe file if user clicks the MSI file
From a previous post: You could put a Condition element under the Product element like this: Condition Message='Please run the exe'RUNFROMEXE = 1/Condition When you call msiexec from the exe be sure to pass RUNFROMEXE=1 as an argument. Double-clicking the MSI file obviously won't provide this argument, and so the launch condition will fail. I don't know if you can get Windows Installer to perform an early return, but this is at least a step in the right direction. Rob Magus wrote: Ok, this might sound a bit odd, but I would like my installer to run my setup(bootstrapper) if the end-user clicks the MSI. What exactly would I need to setup in order for the Installation to Execute the Setup program and close itself without erroring. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Help on Service
I see the service getting registered under the path, HKLM\SYSTEM\CurrentControlSet\Services\service.Do you mean to put these registry values directly?If yes, tomorrow if there gonna be some change in windows with regards to service registry update path,how will i make sure that does not affect my product? Bob Arnson-6 wrote: Anidil wrote: What is the best approach to implement this using WiX? Get the registration information (e.g., from the source code or doc) and put them in the Registry directly. Install-time registration is a major cause of setup headaches; avoid it at all costs. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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/Help-on-Service-tf4480158.html#a12857375 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] choosing Webserver and changing Virtual Directory
Hi all, I am searching a posibility how I could let the customer choose the webserver (like in the Visual Studio WebSetup) and to change the Virtual Directory. I think changing the Virtual Directory should not be a big problem, just adding a Textbox and triggering a custom action setting the property of the Virtual directory new. But how can I gain access to the webserver list so that I can choose one and how can I tell Wix that it should use this Webserver? Greets Peter - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] FilesInUse Dialog is not working properly...
Rob, Could you give some example code (custom action) to workaround for this problem. Thanks a lot! Veerendra Rob Hamflett wrote: One of the things required for Windows Installer to put an entry in the FilesInUse dialog is that it needs to be able to find a window handle. This is why the program doesn't appear in the list if it is in the tray. I think this might have been sorted out in Windows Installer v4. You'll need a custom action to get round the problem. Rob V K Gangwar wrote: Hello All, While my application is running an ICON is displayed in system tray. When I uninstall my application FilesInUse dialog doesn't tell that application is currently running. But if click the ICON (maximized condition) and then Uninstall the application. that time FilesInUse dialog displays properly. How I fix this problem. Regards, Veerendra Yahoo! oneSearch: Finally, mobile search that gives answers http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC, not web links. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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/FilesInUse-Dialog-is-not-working-properly...-tf4500452.html#a12860185 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] FilesInUse Dialog is not working properly...
This page has a good example of enumerating processes and getting the executable file names. http://msdn2.microsoft.com/en-us/library/ms682623.aspx You would need your Custom Action to read a property from the MSI which contained the names to look for, and then compare that list against the processes as you go through them. You can then do whatever it is that needs doing to populate the FilesInUse dialog, or show a dialog asking the user to close the program. Rob Veerendra wrote: Rob, Could you give some example code (custom action) to workaround for this problem. Thanks a lot! Veerendra Rob Hamflett wrote: One of the things required for Windows Installer to put an entry in the FilesInUse dialog is that it needs to be able to find a window handle. This is why the program doesn't appear in the list if it is in the tray. I think this might have been sorted out in Windows Installer v4. You'll need a custom action to get round the problem. Rob V K Gangwar wrote: Hello All, While my application is running an ICON is displayed in system tray. When I uninstall my application FilesInUse dialog doesn't tell that application is currently running. But if click the ICON (maximized condition) and then Uninstall the application. that time FilesInUse dialog displays properly. How I fix this problem. Regards, Veerendra Yahoo! oneSearch: Finally, mobile search that gives answers http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC, not web links. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] FilesInUse Dialog is not working properly...
Hi, According to this topic I'd like to ask whether it is a good or bad choice if I use an embedded DLL (Binary) implenting the functionality to tackle with the running executable issue. It becomes interesting when it comes to deploying the application to 64 bit platforms. I mean in this case, would it be a must to provide a 64 bit version of the DLL, too? 2007/9/24, Rob Hamflett [EMAIL PROTECTED]: This page has a good example of enumerating processes and getting the executable file names. http://msdn2.microsoft.com/en-us/library/ms682623.aspx You would need your Custom Action to read a property from the MSI which contained the names to look for, and then compare that list against the processes as you go through them. You can then do whatever it is that needs doing to populate the FilesInUse dialog, or show a dialog asking the user to close the program. Rob Veerendra wrote: Rob, Could you give some example code (custom action) to workaround for this problem. Thanks a lot! Veerendra Rob Hamflett wrote: One of the things required for Windows Installer to put an entry in the FilesInUse dialog is that it needs to be able to find a window handle. This is why the program doesn't appear in the list if it is in the tray. I think this might have been sorted out in Windows Installer v4. You'll need a custom action to get round the problem. Rob V K Gangwar wrote: Hello All, While my application is running an ICON is displayed in system tray. When I uninstall my application FilesInUse dialog doesn't tell that application is currently running. But if click the ICON (maximized condition) and then Uninstall the application. that time FilesInUse dialog displays properly. How I fix this problem. Regards, Veerendra Yahoo! oneSearch: Finally, mobile search that gives answers http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC , not web links. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Run my Setup.exe file if user clicks the MSI file
with the code that Rob left you may wish to put or Installed after it, this will allow the add remove programs to successfully remove your app, with the current code, the app wont install unless the setup.exe is run, however if you try to remove using add remove programs you get your error msg Please run from exe so put this in like like Condition Message=Please run from the Setup.exe(RUNFROMEXE=1) or Installed/Condition Hope that helps Rob Hamflett wrote: From a previous post: You could put a Condition element under the Product element like this: Condition Message='Please run the exe'RUNFROMEXE = 1/Condition When you call msiexec from the exe be sure to pass RUNFROMEXE=1 as an argument. Double-clicking the MSI file obviously won't provide this argument, and so the launch condition will fail. I don't know if you can get Windows Installer to perform an early return, but this is at least a step in the right direction. Rob Magus wrote: Ok, this might sound a bit odd, but I would like my installer to run my setup(bootstrapper) if the end-user clicks the MSI. What exactly would I need to setup in order for the Installation to Execute the Setup program and close itself without erroring. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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/Run-my-Setup.exe-file-if-user-clicks-the-MSI-file-tf4502686.html#a12861246 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] FilesInUse Dialog is not working properly...
I think a DLL is probably the best way to handle most custom actions. I'm fairly sure the 32-bit version would work fine under Win64. You could always create a DLL that does nothing too difficult and give it a quick test. Rob János Brezniczky wrote: Hi, According to this topic I'd like to ask whether it is a good or bad choice if I use an embedded DLL (Binary) implenting the functionality to tackle with the running executable issue. It becomes interesting when it comes to deploying the application to 64 bit platforms. I mean in this case, would it be a must to provide a 64 bit version of the DLL, too? 2007/9/24, Rob Hamflett [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: This page has a good example of enumerating processes and getting the executable file names. http://msdn2.microsoft.com/en-us/library/ms682623.aspx You would need your Custom Action to read a property from the MSI which contained the names to look for, and then compare that list against the processes as you go through them. You can then do whatever it is that needs doing to populate the FilesInUse dialog, or show a dialog asking the user to close the program. Rob Veerendra wrote: Rob, Could you give some example code (custom action) to workaround for this problem. Thanks a lot! Veerendra Rob Hamflett wrote: One of the things required for Windows Installer to put an entry in the FilesInUse dialog is that it needs to be able to find a window handle. This is why the program doesn't appear in the list if it is in the tray. I think this might have been sorted out in Windows Installer v4. You'll need a custom action to get round the problem. Rob V K Gangwar wrote: Hello All, While my application is running an ICON is displayed in system tray. When I uninstall my application FilesInUse dialog doesn't tell that application is currently running. But if click the ICON (maximized condition) and then Uninstall the application. that time FilesInUse dialog displays properly. How I fix this problem. Regards, Veerendra Yahoo! oneSearch: Finally, mobile search that gives answers http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC, not web links. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net mailto:WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net mailto:WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net mailto:WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
[WiX-users] Wix Bug, Installs to drive with most space
Hey Im still playing around with my installer, testing mainly and ive come across what appers to be a bug in Wix (im told) Basically on install, if the user selects an install dir with say 2gb free space, the installer will auto install to the c drive that has eg 4gb free space, regardless of the path the user specifies. Does anyone know a fix for this Thanks -- View this message in context: http://www.nabble.com/Wix-Bug%2C-Installs-to-drive-with-most-space-tf4509631.html#a12861348 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] FilesInUse Dialog is not working properly...
Rob Hamflett wrote: One of the things required for Windows Installer to put an entry in the FilesInUse dialog is that it needs to be able to find a window handle. This is why the program doesn't appear in the list if it is in the tray. It's looking for a top-level window with a title. See System Reboots for a complete list. I think this might have been sorted out in Windows Installer v4. You'll need a custom action to get round the problem. WiX v3 ships the CloseApplication custom action that lets you close apps and/or detect whether they're running. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Help on Service
Anidil wrote: I see the service getting registered under the path, HKLM\SYSTEM\CurrentControlSet\Services\service.Do you mean to put these registry values directly?If yes, tomorrow if there gonna be some change in windows with regards to service registry update path,how will i make sure that does not affect my product? Services can be registered using the ServiceInstall element to let MSI and Windows make those entries. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] FilesInUse Dialog is not working properly...
János Brezniczky wrote: According to this topic I'd like to ask whether it is a good or bad choice if I use an embedded DLL (Binary) implenting the functionality to tackle with the running executable issue. It becomes interesting when it comes to deploying the application to 64 bit platforms. I mean in this case, would it be a must to provide a 64 bit version of the DLL, too? No, because MSI automatically detects the bitness of a DLL and runs an appropriate custom action server. Therefore it's safe to use 32-bit CA DLLs unless you need to provide a 64-bit version for specific functionality. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WiX 2.0, SqlDatabase, non-default instance and port
I've got a customer who's running their Microsoft SQL Server 2005 instance on both a non-default instance name, and on a non-default port number. How do I specify the port number in a SqlDatabase element? Cheers, Roger. - 1E can save a company with 10,000 PCs over $165,000 and 1,381 tons of CO2 emissions per annum. Calculate what you can save with NightWatchman from 1E. Discover the benefits of System Center solutions for yourself - attend an exclusive 1E Enterprise Solutions Road Show. Visit our website at http://www.1e.com DISCLAIMER: This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind 1E Ltd to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX 2.0, SqlDatabase, non-default instance and port
Try for [EMAIL PROTECTED]yoursqlserver,8080 where 8080 is the non-default portnumber for your sqlserver AFAIK the customaction is not doing any magic with the servername so the SqlOleDb connect should receive the alternative port. http://www.sqlmanager.net/en/articles/1209 Hope this helps, René From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roger Lipscombe Sent: Monday, September 24, 2007 5:22 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] WiX 2.0, SqlDatabase, non-default instance and port I've got a customer who's running their Microsoft SQL Server 2005 instance on both a non-default instance name, and on a non-default port number. How do I specify the port number in a SqlDatabase element? Cheers, Roger. - 1E can save a company with 10,000 PCs over $165,000 and 1,381 tons of CO2 emissions per annum. Calculate http://www.1e.com/energycampaign/Calculation.aspx what you can save with NightWatchman http://www.1e.com/softwareproducts/nightwatchman/index.aspx from 1E. Discover the benefits of System Center solutions for yourself - attend an exclusive 1E Enterprise Solutions Road Show http://www.1e.com/roadshow/index.aspx . Visit our website at http://www.1e.com. DISCLAIMER: This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind 1E Ltd to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to detect a running process which is not part of the installing files ???
The potential issue with closing down a COM server is what the clients do. If you terminate it forcibly and there are (say) 10 clients using it, what will these clients do? Crash? Lose data? IMO it's more usual to replace COM servers in place rather than to a different folder. Then you can take advantage of any files in use dialogs that can be shown, and if the server cannot be shut down then Windows will prompt for a reboot to update it with the new version. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dong Fang Xie (Excell Data Corporation) Sent: Friday, September 21, 2007 2:34 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to detect a running process which is not part of the installing files ??? I checked CloseApps.cpp in WiX 3, it can not provide any help at all. The process that I want the user to terminate is different, it is the old version installed in a different folder. It is a COM server, and it must be terminated and unregistered, or the new version (will be installed to another folder) will never take effect. Why WiX has no such simple (and vital) function built in ? Can anybody provide any help ? Thanks in advance - From: Rob Mensching Sent: Friday, September 21, 2007 12:36 PM To: Prasanta Ghosal; Windows Installer Xml Virtual Team Subject: RE: How to identify if a process is running using Wix Look at the CloseApps custom action. From: Prasanta Ghosal Sent: Friday, September 21, 2007 12:34 To: Windows Installer Xml Virtual Team Subject: How to identify if a process is running using Wix Hello, We are trying to come up with an installer using wix. We need to detect if a specific process is running in the system or not. Could anyone please help us about how to detect if a process is running or not in the system from the wix installer? Thanks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WiX v3: COM on Vista. I have some success, but worried about heat's erroneous output.
I basically have about 150 COM, ActiveX VB6 files. I ran heat to produce the output and then modified them to produce 2 merge modules. I used heat to avoid using the SelfRegCost attribute which as been frowned upon by many here. I read Rob's blog about that :) I ran into 2 warnings which were ICE33 and ICE82. I scoured the archive and was able to find that I can safely ignore the ICE33 and ICE82 warnings. I ran ORCA as well just to be safe which is why ICE33 showed up since I later realized that WiX suppresses it by default. examples are: light.exe: warning LGHT1076 : ICE82: This action ProgramMenuFolder.C7AC8538_65ED_4C2B_AE16_6291871D0918 has duplicate sequence number 2 in the table InstallExecuteSequence orca.exe: ICE33 WARNING Reg key reg7EF074BB025A80CBFE2087521879C64E is used in an unsupported way. ProgId should be registered via the ProgId table. This entry may overwrite a value created through that table. After ignoring those 2 warning, I then proceeded to build my MSI and ran into 2 more errors that were output by candle: 1. RequiredFiles.wxs(81) : error CNDL0010 : The Class/@Context attribute was not found; it is required when attribute {3E28E9C7-A265-41D6-B6EA-132B62605C75} is specified. 2. RequiredFiles.wxs(81) : error CNDL0010 : The Class/@Server attribute was not found; it is required. Initially, the entry looked like this: Class Id={479066AE-099A-41CB-80F2-A54BD8E891EF} Description=Contains a List a ValueItem objects. Version=1.1 ProgId Id=GridEX20.JSValueList Description=Contains a List a ValueItem objects. / /Class To solve 1, I added the attribute Context=InprocServer32 into the Class element: To solve 2, I added the attribute Server=NameOfDll.dll into the Class element: Class Id={479066AE-099A-41CB-80F2-A54BD8E891EF} Context=InprocServer32 Server=GridEX20.ocx Description=Contains a List a ValueItem objects. Version=1.1 ProgId Id=GridEX20.JSValueList Description=Contains a List a ValueItem objects. / /Class After doing all that, I ran into one more problem that involved ActiveX DLLs. The error I got was a couple of times for the various ActiveX DLLs and was produced by light: RequiredFiles.wxs(500) : error LGHT0130 : The primary key regB69CCE91B63112D0023E330FD9CCE948.B05A 204B_CEB8_4A82_B515_ADFB4AE6965C' is duplicated in table 'Registry'. Please remove one of the entries or rename a part of the primary key to avoid the collision. I didn't quite understand this. The line it referred to was this: Class Id={D5DE8D20-5BB8-11D1-A1E3-00A0C90F2731} Context=InprocServer32 Server=GridEX20.ocx Description=VBPropertyBag ThreadingModel=apartment / I commented the line out and error was gone, but I have to admit I don't know what I did!! Can someone please shed some light on this? I really don't want to use SelfRegCost and take the easy way out ;) -- View this message in context: http://www.nabble.com/WiX-v3%3A-COM-on-Vista.--I-have-some-success%2C-but-worried-about-heat%27s-erroneous-output.-tf4510373.html#a12863906 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Run my Setup.exe file if user clicks the MSI file
It's not that odd - MSI 4.5 has this kind of thing. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Magus Sent: Saturday, September 22, 2007 5:18 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Run my Setup.exe file if user clicks the MSI file Ok, this might sound a bit odd, but I would like my installer to run my setup(bootstrapper) if the end-user clicks the MSI. What exactly would I need to setup in order for the Installation to Execute the Setup program and close itself without erroring. -- View this message in context: http://www.nabble.com/Run-my-Setup.exe-file-if-user-clicks-the-MSI-file- tf4502686.html#a12841656 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Restoring SQL database from backup file
Hi, Is there any way to restore SQL db from backup file by using SqlScript as below? Using SqlFileSpec for data and SqlLogFileSpec for log file elements were also not successful. Binary Id=RestoreDB SourceFile=.\RestoreDB.sql / Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Directory Id=SQLServer Name=Microsoft SQL Server Directory Id=MSSQL.1 Name=MSSQL.1 Directory Id=MSSQL Name=MSSQL Directory Id=MSSQLDATA Name=Data Component Id=SQLDirComponent Guid={61E9CEC3-99DA-415b-A828-E3C9C8323073} KeyPath=yes CreateFolder / Sql:SqlDatabase Id='TestDB' CreateOnInstall='yes' Database='TestDB' Server='Dev' Sql:SqlScript Id=RestoreRackwiseDB ContinueOnError=no ExecuteOnInstall=yes ExecuteOnReinstall=yes Sequence=001 BinaryKey=RestoreDB/ /Sql:SqlDatabase /Component /Directory /Directory /Directory /Directory /Directory In RestoreDB.sql, RESTORE DATABASE TestDB FROM DISK = 'C:\Projects\Wix\TestDB.bak' WITH MOVE 'Rackwise' TO 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\TestDB.MDF', MOVE 'Rackwise_log' TO 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\TestDB.LDF' GO Any feedback will be greatly appreciated. -- View this message in context: http://www.nabble.com/Restoring-SQL-database-from-backup-file-tf4510637.html#a12864723 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Removing a file from the GAC using a patch
Hi, I have an assembly installed by the RTM installer that was put into the GAC. I now want to remove the file in a patch because it is no longer needed. How should I author my wix code to delete the file? Thanks, Lindsey -- View this message in context: http://www.nabble.com/Removing-a-file-from-the-GAC-using-a-patch-tf4510961.html#a12865594 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Create Web Application pool using current longon user
Hi All: I am a newbie of WIX, and I have the following question: I need to create a Web Application Pool that runs under the current logon user. However, the following code does not work in wix ~~~ Component Id=C_EMW_Webapppool Guid=585826DF-BCCB-41a9-9F8C-4E89CB756ACE iis:WebAppPool Id=W_EMW_Webapppool Name=EMWAppPool Identity=other User=LogonUser/ /Component ~~~ The compiler error is: ** Unresolved reference to symbol 'User:LogonUser' in section 'Product:{57B88F94-EFA4-4C2B-86B6-7EB82F0AC3CC}'. ** If I change User=LogonUser to User=[LogonUser], I got the following compiling error: * The iis:WebAppPool/@User attribute's value, '[LogonUser]', is not a legal identifier. Identifier's may contain ASCII characters A-Z, a-z, digits, underscores (_), or periods (.). Every identifier must begin with either a letter or an underscore. Is there anyway I can specify current logon user as the user for the web application pool? Your help will be greatly appreciated. Yongzhi Yongzhi Yu Latitude Geographics Group Ltd. [EMAIL PROTECTED] www.latitudegeo.com file:///C:/Documents%20and%20Settings/yzyu/Application%20Data/Microsoft /Signatures/www.latitudegeo.com Head Office: 204 Market Square Victoria, BC Canada V8W 3C6 Tel: (250) 381-8130 Fax: (250) 381-8132 Geocortex Internet Mapping (www.geocortex.com http://www.geocortex.com/ ) - Helping people succeed with web-based geography - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX v3: COM on Vista. I have some success, but worried about heat's erroneous output.
Roy Abou Assaly wrote: I basically have about 150 COM, ActiveX VB6 files. I ran heat to produce the output and then modified them to produce 2 merge modules. I used heat to avoid using the SelfRegCost attribute which as been frowned upon by many here. I read Rob's blog about that :) I ran into 2 warnings which were ICE33 and ICE82. I scoured the archive and was able to find that I can safely ignore the ICE33 and ICE82 warnings. I ran ORCA as well just to be safe which is why ICE33 showed up since I later realized that WiX suppresses it by default. examples are: light.exe: warning LGHT1076 : ICE82: This action ProgramMenuFolder.C7AC8538_65ED_4C2B_AE16_6291871D0918 has duplicate sequence number 2 in the table InstallExecuteSequence orca.exe: ICE33 WARNING Reg key reg7EF074BB025A80CBFE2087521879C64E is used in an unsupported way. ProgId should be registered via the ProgId table. This entry may overwrite a value created through that table. After ignoring those 2 warning, I then proceeded to build my MSI and ran into 2 more errors that were output by candle: 1. RequiredFiles.wxs(81) : error CNDL0010 : The Class/@Context attribute was not found; it is required when attribute {3E28E9C7-A265-41D6-B6EA-132B62605C75} is specified. 2. RequiredFiles.wxs(81) : error CNDL0010 : The Class/@Server attribute was not found; it is required. Initially, the entry looked like this: Class Id={479066AE-099A-41CB-80F2-A54BD8E891EF} Description=Contains a List a ValueItem objects. Version=1.1 ProgId Id=GridEX20.JSValueList Description=Contains a List a ValueItem objects. / /Class To solve 1, I added the attribute Context=InprocServer32 into the Class element: To solve 2, I added the attribute Server=NameOfDll.dll into the Class element: Class Id={479066AE-099A-41CB-80F2-A54BD8E891EF} Context=InprocServer32 Server=GridEX20.ocx Description=Contains a List a ValueItem objects. Version=1.1 ProgId Id=GridEX20.JSValueList Description=Contains a List a ValueItem objects. / /Class After doing all that, I ran into one more problem that involved ActiveX DLLs. The error I got was a couple of times for the various ActiveX DLLs and was produced by light: RequiredFiles.wxs(500) : error LGHT0130 : The primary key regB69CCE91B63112D0023E330FD9CCE948.B05A 204B_CEB8_4A82_B515_ADFB4AE6965C' is duplicated in table 'Registry'. Please remove one of the entries or rename a part of the primary key to avoid the collision. I didn't quite understand this. The line it referred to was this: Class Id={D5DE8D20-5BB8-11D1-A1E3-00A0C90F2731} Context=InprocServer32 Server=GridEX20.ocx Description=VBPropertyBag ThreadingModel=apartment / I commented the line out and error was gone, but I have to admit I don't know what I did!! Can someone please shed some light on this? I really don't want to use SelfRegCost and take the easy way out ;) I've been reading more about heat, vb6 and vista. I'm now starting to get worried that there's a potential difference between running Heat on Vista versus XP. And yes, you do need to run as Admin, and elevated for Heat to actually extract anything. Also, Should I be deleting all the registry entries that refer to the VB Virtual Machine Runtime DLL...I forget the exact key, but it references c:\windows\system32 ... MSVBRuntime(forgot name).dll. Perhaps there's a list of things that should be deleted..as in, after heat produces the output, we need to do the following steps: 1. Ignore ICE82 2. Delete anything related to the VB Runtime DLL, etc. 3. Run Smoke, ORCA, etc.. Any help would be appreciated as our migration to Vista is proving to be painstakingly difficult. I'm almost there, I'd just like to this clean up now while I'm in development, rather than later when the product goes out for testing. Roy -- View this message in context: http://www.nabble.com/WiX-v3%3A-COM-on-Vista.--I-have-some-success%2C-but-worried-about-heat%27s-erroneous-output.-tf4510373.html#a12872113 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Browse dialogs New folder (Localization)
I am trying to localize my installer, and I have come across an issue where my browse dialog always makes New Folder as the name for a new folder, however this should be happening on other other operating systems. Is there anyway to specify which folder name I want this to create or start out with. I am using the browse folder that is in this tutorial. http://www.tramontana.co.hu/wix/lesson5.php -- View this message in context: http://www.nabble.com/Browse-dialogs-New-folder-%28Localization%29-tf4513215.html#a12872695 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Browse dialogs New folder (Localization)
You need to define the UITextNewFolder string in a .wxl-file like this: ?xml version=1.0 encoding=utf-8? WixLocalization Culture=de-de xmlns=http://schemas.microsoft.com/wix/2006/localization; String Id=UITextNewFolderOrdner|Neuer Ordner/String /WixLocalization Or in a .wxs-file like this: UI UIText Id=NewFolderOrdner|Neuer Ordner/UIText /UI -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:wix-users- [EMAIL PROTECTED] Im Auftrag von Magus Gesendet: Dienstag, 25. September 2007 05:58 An: wix-users@lists.sourceforge.net Betreff: [WiX-users] Browse dialogs New folder (Localization) I am trying to localize my installer, and I have come across an issue where my browse dialog always makes New Folder as the name for a new folder, however this should be happening on other other operating systems. Is there anyway to specify which folder name I want this to create or start out with. I am using the browse folder that is in this tutorial. http://www.tramontana.co.hu/wix/lesson5.php -- View this message in context: http://www.nabble.com/Browse-dialogs-New- folder-%28Localization%29-tf4513215.html#a12872695 Sent from the wix-users mailing list archive at Nabble.com. --- -- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users