Re: [WiX-users] Through WIX how to know whether installation is going via GUI or Command Line?

2010-06-03 Thread Blair
Also, if there is no scripted UI, the InstallUISequence table is skipped. -Original Message- From: Blair [mailto:os...@live.com] Sent: Thursday, June 03, 2010 10:46 PM To: 'General discussion for Windows Installer XML toolset.' Subject: RE: [WiX-users] Through WIX how to know whether inst

Re: [WiX-users] Through WIX how to know whether installation is going via GUI or Command Line?

2010-06-03 Thread Blair
Use the UILevel property. http://msdn.microsoft.com/library/aa372096.aspx Blair -Original Message- From: vijay chander [mailto:vijaychander2...@gmail.com] Sent: Thursday, June 03, 2010 10:18 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Through WIX how to know whether inst

Re: [WiX-users] Unable to use msiexec /i

2010-06-03 Thread Blair
MSI (s) (88:90) [10:04:02:685]: Feature: VIJ_TRAIL_COMPONENTS; Installed: Absent; Request: Local; Action: Local MSI (s) (88:90) [10:04:02:685]: Feature: F1;Installed: Absent; Request: Local; Action: Local MSI (s) (88:90) [10:04:02:685]: Feature: F2; Installed: Absent; Request: Local; Ac

[WiX-users] Through WIX how to know whether installation is going via GUI or Command Line?

2010-06-03 Thread vijay chander
Hi, In WIX, do we have any condition to check whether installation is going on through GUI or Command line? If yes please let me know the condition and if it there are no such conditions, how can we achieve this? Thanks in Advance. Regards, Vijay Chander -

Re: [WiX-users] WiX-users Digest, Vol 49, Issue 24

2010-06-03 Thread vijay chander
Hi, @Swapnil - If possible can you share me the sample code which was working for you? If we must not send the code on this user list can you send me on my personal mail id? Regards, Vijay Chander Date: Fri, 4 Jun 2010 10:02:38 +0530

Re: [WiX-users] Unable to use msiexec /i /qn

2010-06-03 Thread Swapnil Sankla
Hi, @Vijay: I tried silent installation using feature tree using msiexec /qn /i sample.msi. And it is working fine. It must be some another issue. Thanks, Swapnil Sankla | Software Engineer | Persistent Systems Limited swapnil_san...@persistent.co.in | Cell: +91 9960851096 Persistent Systems -

Re: [WiX-users] The same list of transforms must be appliedfor install/uninstall/repair, right?

2010-06-03 Thread Yan Sklyarenko
Sure, I also apply an instance transform. So, the TRANSFORMS property for the first instance and Russian language looks like this: TRANSFORMS=:InstanceId1;:ru-RU.mst Actually, the multi-instance part works just fine, and the multi-language also does - I was just trying to verify that my conclus

Re: [WiX-users] Bug in IIS:WebSite or IIS:WebAddress ?

2010-06-03 Thread Chong Li
I just tried 3.5.1728.0 downloaded from http://wix.sourceforge.net/releases/ But it still didn't work. The webaddress with the specified ip and port already exists but it seems that wix always skip the IIS:WebAddress element. Anyone knows that whether it's my fault of wrong usin

Re: [WiX-users] Unable to use msiexec /i /qn

2010-06-03 Thread Blair
What does the installation log say? -Original Message- From: vijay chander [mailto:vijaychander2...@gmail.com] Sent: Thursday, June 03, 2010 10:38 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Unable to use msiexec /i /qn Hi, @Swapnil: Thanks for the reply but below i

Re: [WiX-users] error LGHT0001: Unable to cast object

2010-06-03 Thread Blair
You will need to have your build system produce a verbose log and locate the error message there. That error indicates an unexpected exception was thrown, and what you have is the line that contains the error portion that will be flagged by MSBuild and other similar tools as being an error. The rel

Re: [WiX-users] VSTO excel Add in for all users

2010-06-03 Thread Bryan Reich
Are you saying this part of it works on other OSes, just not on the 2008 R2 server, or is this a problem regardless of host environment? Does this happen only when the Desktop Experience feature is not turned on? -- Bryan -Original Message- From: rahul.ekb...@sungard.com [mailto:rahul.ek

Re: [WiX-users] WiX 3.0 error with .net 4

2010-06-03 Thread Thomas Svare
Rob, Thanks for the quick response, it is much appreciated. Thanks, Tom -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, June 02, 2010 10:20 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WiX 3.0 error with .

Re: [WiX-users] Detach Databases on Uninstall

2010-06-03 Thread Blair
SQL Server is likely being shut down by Restart Manager (via Windows Installer's integration with Restart Manager). You would probably need to disable MSI's use of RM. -Original Message- From: Nathan Zaugg [mailto:nza...@gmail.com] Sent: Thursday, June 03, 2010 11:12 AM To: General discus

Re: [WiX-users] Show the ProgressBar while Running the Custom Action

2010-06-03 Thread Nick Ramirez
You can remove the Sleep from the example. I used it to show the progress bar with several pauses. In a real application, your function would call the "DisplayActionData" function at times when you decide to show a message and increment the bar. Now that I think about it, my DisplayActionData func

Re: [WiX-users] error LGHT0001: Unable to cast object

2010-06-03 Thread Francesc Castells
Not sure. Does light log by default somewhere? that message is the only I get on screen. On Thu, Jun 3, 2010 at 5:42 PM, Blair wrote: > Looks like a bug. Do you have the stack trace? > > -Original Message- > From: Francesc Castells [mailto:fcaste...@dgtexperts.com] > Sent: Thursday, June

Re: [WiX-users] Detach Databases on Uninstall

2010-06-03 Thread Nathan Zaugg
In the log I can see that SQL Server is shut down on the InstallValidate step. I tried to put the custom action before that step but I get the ICE error that it must be between InstallInitialize and InstallFinalize. Any suggestions on that? From: Nathan

Re: [WiX-users] Show the ProgressBar while Running the Custom Action

2010-06-03 Thread Velu
HI Nick, Thanks very much for the Quick reply. Here i explain more about my problem we have more than 15 custom action it takes 30 minutes to complete installation. We already have the ProgressText for the all the Custom action . In our installation only problem is progress bar is not displayed

Re: [WiX-users] Show the ProgressBar while Running the Custom Action

2010-06-03 Thread Nick Ramirez
If I understand your question, you want to increment the progress bar for more than one custom action? You'd just need to reuse the code in those custom actions too, either by duplicating it or putting it in some central assembly. If you didn't want to reset the progress bar each time, you could s

Re: [WiX-users] Unable to use msiexec /i /qn

2010-06-03 Thread vijay chander
Hi, @Swapnil: Thanks for the reply but below is the behaviour I have tried as you have mentioned i.e., msiexec /qn /i sample.msi. Even that didn't work. I thought this problem is because i'm using feature tree, while on Silent install it was unable to get at features so it is not installing and

Re: [WiX-users] Show the ProgressBar while Running the Custom Action

2010-06-03 Thread Velu
Hi Nick, It was working fine. Thanks for your code. My problem is i have several custom action. I have to show the progress while running that all custom action. You code work for only that particulat custom action. How can i achieve this for all custom actions ? Please help me on this ? Reg

Re: [WiX-users] WiX-users Digest, Vol 49, Issue 15

2010-06-03 Thread Leung, John C.H.
So is there any way for me to trigger a roll back in my bootstrap program? I figured that I have two choice to solve my problem: 1. In my bootstrap program, I save out the transform being used to registry before executing msiexec (for first time install). Then after a reboot and during a

Re: [WiX-users] Signing of MSI / EXE + DLLs inside of MSI ?

2010-06-03 Thread Pally Sandher
Sign your MSI to make the UAC prompts look prettier. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Registered in Scotland No. S

Re: [WiX-users] The same list of transforms must be applied for install/uninstall/repair, right?

2010-06-03 Thread Blair
Do your transforms change the ProductCode or not? The only way that two instances of a product can be installed "side-by-side" is if they have different ProductCodes. Otherwise, the second "instance" is simply an "minor update" of itself and the "first instance" no longer exists. -Original Me

Re: [WiX-users] error LGHT0001: Unable to cast object

2010-06-03 Thread Blair
Looks like a bug. Do you have the stack trace? -Original Message- From: Francesc Castells [mailto:fcaste...@dgtexperts.com] Sent: Thursday, June 03, 2010 6:34 AM To: wix users Subject: [WiX-users] error LGHT0001: Unable to cast object Hi, I'm using WIX 3.0.5419.0 in a VS project. I'm rec

[WiX-users] Signing of MSI / EXE + DLLs inside of MSI ?

2010-06-03 Thread Martin Maurer
Hello, i created an installer with WIX which installs an EXE file. All working fine. During installation (at least on Vista 64 bit) i get a remark that the program which is installed is not signed. Is it occuring because MSI is not signed or because EXE to install is not signed, or must both be

Re: [WiX-users] Starting a service conditionally after InstallInitialize

2010-06-03 Thread Blair
Sorry, I meant InstallServices. But around StartServices (or after) is when you want to schedule starting your service. -Original Message- From: Blair [mailto:os...@live.com] Sent: Thursday, June 03, 2010 9:26 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [Wi

Re: [WiX-users] Starting a service conditionally after InstallInitialize

2010-06-03 Thread Blair
The service doesn't exist until StartServices. BTW, the StartServices action will start all services that show up in the ServiceControl table. I recommend you read the following blog: http://www.joyofsetup.com/2007/07/01/semi-custom-actions/ -Original Message- From: gapearce [mailto:mr_ga

Re: [WiX-users] Stopping/deleting a DIFxApp driver when uninstalling

2010-06-03 Thread Bruce Cran
On Thu, 03 Jun 2010 08:17:32 -0400 Bob Arnson wrote: > On 6/2/2010 10:47 AM, Bruce Cran wrote: > > >> Stop="both" Remove="uninstall"/> > > That might work but note that MSI explicitly says it doesn't support > drivers as services. > > > The sctp service (a kernel driver) works without pr

[WiX-users] Starting a service conditionally after InstallInitialize

2010-06-03 Thread gapearce
Hello group - I'm still a NOOB and I'm trying to start a service conditionally after everyting is installed, and I modified the "ExitDialog" for WiX to show a check box which sets the value for LAUNCHAPPONEXIT to 1 if the user checked the checkbox. This almost works, except I get this message in

Re: [WiX-users] Detach Databases on Uninstall

2010-06-03 Thread Pally Sandher
Condition it with "Installed" or something similar in that case (remember to account/test for repair, modify & patching/upgrading where applicable to your installer). e.g. Installed Might need to add stuff like "AND NOT REINSTALL" if you don't want it to run during repair/modify/patch/upgrade.

Re: [WiX-users] Detach Databases on Uninstall

2010-06-03 Thread Nathan Zaugg
Pally, That's close, but it doesn't work because it tries to run on install and I need it to run on uninstall. I knew it had to be some kind of InstallExecuteSequence, I just wasn't sure of the to make it work with uninstall. By the way, is there a list of these actions and install steps that I

Re: [WiX-users] Bug in IIS:WebSite or IIS:WebAddress ?

2010-06-03 Thread Rob Mensching
WiX v3.5.1623.0 is pretty old when it comes to WiX v3.5 builds. There have been a lot of IIS7 bugs going into WiX v3.5 so you should stay current with the builds if you want IIS7 support. On Thu, Jun 3, 2010 at 1:36 AM, Chong Li wrote: > I want to install a virtual dir in IIS 7, and I used IIS e

Re: [WiX-users] VSTO excel Add in for all users

2010-06-03 Thread Rahul.Ekbote
Hey Thanks Bryan, Now after making changes and installing kb976477 I am able to see add-in in excel-add-in option however it is giving me another problem, it is disappearing menu add-in from excel menu bar. To resolve this I added kb980210 but it not working. So currently I am struggling to bring t

[WiX-users] error LGHT0001: Unable to cast object

2010-06-03 Thread Francesc Castells
Hi, I'm using WIX 3.0.5419.0 in a VS project. I'm receiving the following error when building: light.exe(0,0): error LGHT0001: Unable to cast object of type 'System.Collections.DictionaryEntry' to type 'Microsoft.Tools.WindowsInstallerXml.FileRow'. Google doesn't return any result for "LGHT0001 U

Re: [WiX-users] Stopping/deleting a DIFxApp driver when uninstalling

2010-06-03 Thread Bob Arnson
On 6/2/2010 10:47 AM, Bruce Cran wrote: >Remove="uninstall"/> > That might work but note that MSI explicitly says it doesn't support drivers as services. > The sctp service (a kernel driver) works without problems during installation > but it never gets stopped or removed during uninst

Re: [WiX-users] Detach Databases on Uninstall

2010-06-03 Thread Bob Arnson
On 6/2/2010 7:06 PM, Nathan Zaugg wrote: > I think I now have some insight. The reason I can't connect is > because WIX detected that SQL Server was using a file that was > included in the installation and stopped SQL Server during the > uninstall. > WiX doesn't do that (unless you tell it to

Re: [WiX-users] Detach Databases on Uninstall

2010-06-03 Thread Pally Sandher
Couldn't you just reschedule the ExecuteSqlStrings action by adding it to the InstallExecuteSequence with the appropriate Before="" or After="" attribute? That's how I worked around an issue with the SchedXMLConfig action before it was modified to run after the DuplicateFiles action as it would

Re: [WiX-users] Detach Databases on Uninstall

2010-06-03 Thread dB .
There's a set of immediate custom actions in http://msiext.codeplex.com that you can schedule at will. The one you want is ODBCExecute. There's also a whole stack of Wix extensions for ODBC generically and SQL server specifically if you decide that what's included in Wix doesn't do it for you.

[WiX-users] The same list of transforms must be applied for install/uninstall/repair, right?

2010-06-03 Thread Yan Sklyarenko
Hello WiX Community, I would appreciate a confirmation about the following statement I'm 90% sure myself. According to the Transforms definition (http://msdn.microsoft.com/en-us/library/aa367447(VS.85).aspx) " The installer registers a list of transforms required by the product during the installa

[WiX-users] Bug in IIS:WebSite or IIS:WebAddress ?

2010-06-03 Thread Chong Li
I want to install a virtual dir in IIS 7, and I used IIS extension to locate an existing website like But I found wix also uses the Description attribute to locate the website, no matter what the Port is. Even if the port doesn't exist! My Wix version is 3.5.1623.0. I tried

Re: [WiX-users] Files repaired on Modify

2010-06-03 Thread Rob Hamflett
Thanks for the info. I'll see if I can identify the components that I actually care about for triggering the custom actions. Rob On 02/06/2010 13:58, Bob Arnson wrote: > On 6/2/2010 3:25 AM, Rob Hamflett wrote: >> I'm seeing some behaviour I don't understand. If you modify an >> installation