[WiX-users] Small and Minor updates, again!

2008-12-16 Thread Martin Lierschof
Hi guys, I need a double click solution on msi files, for small and minor updates. And as you may know that is not working with just a double click. I was looking through the whole user list and tried every suggestion from before, even other solutions but I cannot get that working. So that's

Re: [WiX-users] Problem with error handling of managed custom actions

2008-12-16 Thread Jason Ginchereau
From the DTF documentation for Session.Message: The messageType parameter may also include message-box flags from the following enumerations: System.Windows.Forms.MessageBoxButtons, System.Windows.Forms.MessageBoxDefaultButton, System.Windows.Forms.MessageBoxIcon. These flags can be combined

[WiX-users] How can I prefill properties from another dialog?

2008-12-16 Thread David Bartmess
I'm trying to prefill properties based on a checkbox, and use those properties in a following page. But it looks like the Publish Property isn't happening. So if the user checks the checkbox to prefill, it should use the existing properties to fill the properties for the second page. Basically,

[WiX-users] Problem with error handling of managed custom actions

2008-12-16 Thread Jacob, Christian
Hello, I am writing a managed custom action. I am using the DTF Framework from Windows Installer Xml to wrap the managed dll into a usable CA dll. The CA does what it is supposed to, but I am still having trouble with error handling: Dim record As New Record(1) ' Field 0 intentionally left

[WiX-users] anyone else having trouble downloading msi from sourceforge?

2008-12-16 Thread Amy Rosewater
Hi All, When I browse to the weekly releases page for Wix 3.0 and select any of the more recent weekly builds, I cannot download the 32 bit msi. I just get an error from the page. It doesn't seem to matter the browser. Is anyone else seeing this problem? I can download the binaries.zip...

Re: [WiX-users] How can I prefill properties from another dialog?

2008-12-16 Thread David Bartmess
Never mind, I found the problem. Each Publish element has to have a condition set or it doesn't fire off... Thanks anyway -Original Message- From: David Bartmess [mailto:david.bartm...@wallst.com] Sent: Tuesday, December 16, 2008 8:45 AM To: General discussion for Windows Installer XML

Re: [WiX-users] Problem with error handling of managed custom actions

2008-12-16 Thread Christopher Painter
Jason can answer better then me, but I'm guessing that the Session.Message( InstallMessage ... ) doesn't fully expose this capability of MsiProcessMessage. Also of interest to me are 5 enum values that don't seem to map up to the API. I'm not sure what they are: InstallMessage.InstallEnd

Re: [WiX-users] Distinguish between SQL integrated security and normal authentication

2008-12-16 Thread tgoffice
Ok, how can I implement it in a better way ... Thanks in advanced! tom cemiles wrote: Oh, I think I know what you're saying now. And I believe the answer is you do need 2 components in order to do so, or so I've read and done. On Mon, Dec 15, 2008 at 9:10 AM, tgoffice tgoff...@web.de

Re: [WiX-users] Small and Minor updates, again!

2008-12-16 Thread Ian Elliott (Excell Data Corporation)
I'm not aware of any method other than command line or exe file. That is the official guidance from Microsoft. http://msdn.microsoft.com/en-us/library/aa367574(VS.85).aspx -Original Message- From: Martin Lierschof [mailto:mliersc...@vizrt.com] Sent: Tuesday, December 16, 2008 1:23 AM

[WiX-users] /warning /error messages? votive

2008-12-16 Thread Borchert, Phil
I've been trying to figure out how to output to the Output Window during the building of the .WXS file? I was hoping I could add something such as Now building .WXS file or using it to output the variables I use? I tried searching up and down and maybe I am just not using the right vocabulary?

[WiX-users] Contract?

2008-12-16 Thread Jim Williams
Hi Ian, Sorry to bother you, but have you found a follow-on contract after you current one ends? I remember you telling about your contract ending when we emailed a couple months ago since I use to work with you back in the Visual Studio Setup area back in 2005. The reason I ask is that I got

Re: [WiX-users] Small and Minor updates, again!

2008-12-16 Thread Martin Lierschof
So, it is impossible to create a Small or Minor Update without entering a command to a shell or distributing a msi to a executable which does this little job? I have been reading documents, and did testing even by trial and error principle, on that for one day but this just confuses me. This

Re: [WiX-users] Distinguish between SQL integrated security and normal authentication

2008-12-16 Thread Christopher Karper
This is a little crazy, so I'll try to be as clear as possible... Here's the pertinent section of my DB installer: !-- Database Creation Entities -- util:User Id=SqlCreateUser Name=[SQLCREATEUSER] Password=[SQLCREATEPASSWORD] /

Re: [WiX-users] Contract?

2008-12-16 Thread Jim Williams
Sorry for the spam folks, I forgot reply went back to the list. Jim Williams 425-221-0289 m -Original Message- From: Jim Williams [mailto:jimwilliam...@comcast.net] Sent: Tuesday, December 16, 2008 10:39 AM To: 'General discussion for Windows Installer XML toolset.' Subject:

Re: [WiX-users] Small and Minor updates, again!

2008-12-16 Thread Ian Elliott (Excell Data Corporation)
I can't really comment on the inner workings of the msi engine as I'm not privy to the details. The bottom line is that with the minor upgrades, in order for the cached version to be updated and then the upgrade to run, you need to pass in the parameters somehow. Doing it with an exe is not

Re: [WiX-users] /warning /error messages? votive

2008-12-16 Thread Simon Dahlbacka
Why do you need it? First try if just increasing the msbuild verbosity helps (/v: flag to msbuild.exe), Tools - Options - Projects and Solutions - Build and Run - MSbuild project build output verbosity in Visual Studio If that does not help, you can add whatever messages you like either in your

[WiX-users] Problem with Custom Action

2008-12-16 Thread Steve Oliver
I am writing a couple of managed custom actions. In the first action I need to access an assembly that is installed to the GAC via a merge file as part of the install. The problem is that the assembly does not seem to be available until the installer has completed. InstallExecuteSequence

Re: [WiX-users] /warning /error messages? votive

2008-12-16 Thread Borchert, Phil
Simon, Thanks for your help. I didn't want to bore people with the details of what I was doing. But basically I was hoping that I could build the .WXS file and have Building it helping me write it. But saying this I was going to output the various environmental variables when it went to build

Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Scott Sam
Are you custom actions executing deferred? No changes are made to the system until the deferred mode. So the files won't be installed on the system until the deferred sequence. -Original Message- From: Steve Oliver [mailto:ste...@one-slip.com] Sent: Tuesday, December 16, 2008 2:46 PM

Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Richard
In article 001201c95fb6$eb98dc40$c2ca94...@com, Steve Oliver ste...@one-slip.com writes: I am writing a couple of managed custom actions. In the first action I need to access an assembly that is installed to the GAC via a merge file as part of the install. The problem is that the

Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Steve Oliver
I tried running deferred. Here is the result Exception thrown by custom action: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --- Microsoft.Deployment.WindowsInstaller.InvalidHandleException: The handle is invalid. at

Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Christopher Painter
Are you using DTF? ( I certainly hope so since it's the only way to fly when writing managed CA's ) If so, you could just have DTF pack the DLL into your custom action and resolve your reference that way. Your MSI will be a little bit bigger but shouldn't really hurt anything. --- On

Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Jacob, Christian
Yes, my project references Microsoft.Deployment.WindowsInstaller and I configured a postbuild script like this: C:\Program Files\Windows Installer XML v3\SDK\MakeSfxCA.exe $(TargetDir)$(TargetName)Package.dll C:\Program Files\Windows Installer XML v3\SDK\x86\SfxCA.dll

Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Steve Oliver
Yes, I am using DTF. I only discovered DTF yesterday so I'm a bit green. How do you have DTF pack the DLL? -Original Message- From: Christopher Painter [mailto:chr...@deploymentengineering.com] Sent: Tuesday, December 16, 2008 1:40 PM To: General discussion for Windows Installer XML

Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Scott Sam
Sorry I forgot you lose access to the session in the deferred script. I'm not really clear on what you are trying to accomplish with the second CA. Are you trying to update a value in an appconfig file with the value of [INSTALLDIR]? If so I would suggest using the XmlFile or XmlConfig elements

[WiX-users] Referencing a component that is not part of the package.

2008-12-16 Thread Mark Tempel
We are trying to figure out if we can do this: We have two products: Product A, and Product B. We add a launch condition in Product B so that it will not install if Product A is not installed. We would like to find a way to make Product B depend on Product A when it is installed so

Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Scott Sam
I just set the extra dll's as references and they got pulled in when I compiled my dtf project. -Original Message- From: Steve Oliver [mailto:ste...@one-slip.com] Sent: Tuesday, December 16, 2008 3:47 PM To: chr...@deploymentengineering.com; 'General discussion for Windows Installer XML

Re: [WiX-users] Referencing a component that is not part of the package.

2008-12-16 Thread Scott Sam
I think a launch condition in product A that will only show if product A is installed and Product B is Installed should work. -Original Message- From: Mark Tempel [mailto:mark.tem...@shavlik.com] Sent: Tuesday, December 16, 2008 3:49 PM To: wix-users@lists.sourceforge.net Subject:

Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Steve Oliver
I am trying to update an xml file with information that is input by the user. My custom action displays a dialog to collect the information. -Original Message- From: Scott Sam [mailto:s...@clearviewecm.com] Sent: Tuesday, December 16, 2008 1:49 PM To: General discussion for Windows

Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Scott Sam
Yeah I do that in my installer too. You shouldn't need to write your own custom action for that. I use XmlFile, but you can also use XmlConfig I believe. -Original Message- From: Steve Oliver [mailto:ste...@one-slip.com] Sent: Tuesday, December 16, 2008 4:06 PM To: 'General discussion

Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Steve Oliver
That sounds like a much better solution. Thanks. -Original Message- From: Scott Sam [mailto:s...@clearviewecm.com] Sent: Tuesday, December 16, 2008 2:13 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problem with Custom Action Yeah I do that in my

Re: [WiX-users] Possible bug in Pyro

2008-12-16 Thread Scott Sam
Does anyone know if this is a bug or something I'm doing wrong? -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Friday, December 12, 2008 2:44 PM To: General discussion for Windows Installer XML toolset. Cc: Heath Stewart Subject: Re: [WiX-users] Error

[WiX-users] How to unsubscribe from this mailing list

2008-12-16 Thread Sangeetha Haudakari (Excell Data Corporation)
I want to unsubscribe from this mailing list please someone help me out on this . I am getting sick of getting hundreds of mails on my Inbox. Regards Sangeetha -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in

Re: [WiX-users] How to unsubscribe from this mailing list

2008-12-16 Thread Christopher Painter
https://lists.sourceforge.net/lists/listinfo/wix-users Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Tue, 12/16/08, Sangeetha Haudakari (Excell Data Corporation)

Re: [WiX-users] How to unsubscribe from this mailing list

2008-12-16 Thread Ian Elliott (Excell Data Corporation)
https://lists.sourceforge.net/lists/listinfo/wix-users -Original Message- From: Sangeetha Haudakari (Excell Data Corporation) [mailto:a-san...@microsoft.com] Sent: Tuesday, December 16, 2008 1:27 PM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] How to unsubscribe from this

Re: [WiX-users] How to unsubscribe from this mailing list

2008-12-16 Thread Christopher Karper
At the bottom of *ever single message* is this link: https://lists.sourceforge.net/lists/listinfo/wix-users Go there, look at the area under *WiX-users Subscribers* and you can unsubscribe... Chris On Tue, Dec 16, 2008 at 4:27 PM, Sangeetha Haudakari (Excell Data Corporation)

[WiX-users] Problems executing SQL script to insert data

2008-12-16 Thread Kevin Fischer
I have an MSI that's running a SQL script to insert data (using the SqlScript wix element). The sql script looks like (simplified somewhat): /* table: Version */ /* some comment*/ INSERT INTO [dbo].[Version] ([Object],[Version]) VALUES ('mytool', '2.0.12344.1234')GO /* some comment*/ INSERT

Re: [WiX-users] Problems executing SQL script to insert data

2008-12-16 Thread Christopher Karper
You either need to load them as SqlScript elements from a file, or escape the square brackets according to Formatted String rules. I think it's [\[] and [\]], but you'll want to double check that. Or, you could always wing it, and just run without brackets. You may find it works just fine.

Re: [WiX-users] 64-bit installer questions (simple)

2008-12-16 Thread Michael Owings
I realize this is late, but to answer my own question (and for posterity) my code had InstallerVersion='100' in the product element. Setting it to '200' did the trick. There is apparently no such plastform as 'x64' under 1.00. I got clued in by using Orca-View-Summary Information on the MSI

Re: [WiX-users] Problems executing SQL script to insert data

2008-12-16 Thread Kevin Fischer
I'm already using SqlScript elements to load them as a file. Kevin Date: Tue, 16 Dec 2008 18:23:30 -0500 From: christopher.kar...@gmail.com To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Problems executing SQL script to insert data You either need to load them as SqlScript

Re: [WiX-users] Problems executing SQL script to insert data

2008-12-16 Thread Christopher Karper
You're not using SqlString items to do these?SqlScript doesn't format. Chris On Tue, Dec 16, 2008 at 6:40 PM, Kevin Fischer kevinfischer...@hotmail.comwrote: I'm already using SqlScript elements to load them as a file. Kevin Date: Tue, 16 Dec 2008 18:23:30 -0500 From:

Re: [WiX-users] Problems executing SQL script to insert data

2008-12-16 Thread Kevin Fischer
It's just in the MSI log where I see the format. It's using WcaLog. I was using the log to try to diagnose the problem and noticed it had that behavior. Date: Tue, 16 Dec 2008 19:09:42 -0500 From: christopher.kar...@gmail.com To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users]

[WiX-users] Unable to install Votive due to previous VC++ Express install

2008-12-16 Thread Geoffrey Lee
I uninstalled VC++ 2008 Express and installed VC++ 2008 Pro, but the Votive installer still thinks that I have Express installed. I've already tried deleting the VCExpress folders under AppData, Program Files, and HKEY_CURRENT_USER\Software\Microsoft\VCExpress. What else do I need to do?

Re: [WiX-users] Small and Minor updates, again!

2008-12-16 Thread Wilson, Phil
1) To make a patch (msp) file update without a command line you can add type 51 custom actions to set REINSTALL, REINSTALLMODE and Preselected if the PATCH property is set. 2) I have seen reports that the same will work for minor upgrades with type 51 custom actions that do the same thing if

Re: [WiX-users] 64-bit installer questions (simple)

2008-12-16 Thread Bob Arnson
Michael Owings wrote: I realize this is late, but to answer my own question (and for posterity) my code had InstallerVersion='100' in the product element. Setting it to '200' did the trick. There is apparently no such plastform as 'x64' under 1.00. ICE validation catches that. You should

Re: [WiX-users] Referencing a component that is not part of the package.

2008-12-16 Thread Bob Arnson
Mark Tempel wrote: We would like to find a way to make Product B depend on Product A when it is installed so that when a user tries to uninstall Product A he will get a warning 26002 (i.e. The following products: Product B depend on Product A). If you own both products and they must

Re: [WiX-users] Unable to install Votive due to previous VC++ Express install

2008-12-16 Thread Bob Arnson
Geoffrey Lee wrote: I uninstalled VC++ 2008 Express and installed VC++ 2008 Pro, but the Votive installer still thinks that I have Express installed. I've already tried deleting the VCExpress folders under AppData, Program Files, and HKEY_CURRENT_USER\Software\Microsoft\VCExpress. What else

Re: [WiX-users] Adding new feature in patch generates error GenerateTransform, ReferenceDatabase, TransformFile

2008-12-16 Thread Bob Arnson
cemiles wrote: existing feature, but still can't compile the msi. Can you be more specific? What happens? -- sig://boB http://joyofsetup.com/ -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las

Re: [WiX-users] anyone else having trouble downloading msi from sourceforge?

2008-12-16 Thread Bob Arnson
Amy Rosewater wrote: When I browse to the weekly releases page for Wix 3.0 and select any of the more recent weekly builds, I cannot download the 32 bit msi. I just get an error from the page. What error? -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Error 2721: Custom action not found in Binary table stream

2008-12-16 Thread Bob Arnson
Scott Sam wrote: I'm trying to create and apply a patch. I can create the patch without any errors or warnings. When I go to apply it I get the error Error 2721: Custom action RemoveCasPol not found in Binary table stream. Are you adding or changing that custom action or its DLL in the

Re: [WiX-users] How to execute custom action only if certain feature is selected

2008-12-16 Thread chandrashekar
Hi John, How can i check certian feature is selected or not at unistall time. while installing FeatureName=3 it works but not while uninstall. Please can u help me. jmcfadyen wrote: using FeatureName can determine the features installstate this link offers more detail

Re: [WiX-users] anyone else having trouble downloading msifrom sourceforge?

2008-12-16 Thread Amy Rosewater
Bob, I am not getting the error message anymore. I don't know what it was, but one of the browser errors. Could have been something with sourceforge. A -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Tuesday, December 16, 2008 9:37 PM To: General discussion for

[WiX-users] Unistall script getting executed only on the default database

2008-12-16 Thread siaj
Hello, I am creating a setup using Wix which is creating some objects in a database and droping it while uninstall. The create and drop is working fine but if the user chooses to create these objects on a different database while installation,the uninstall is not cleaning it while uninstall. I

Re: [WiX-users] Unistall script getting executed only on the defaultdatabase

2008-12-16 Thread Amy Rosewater
Jai, I think I am having a similar issue. I am going to test not changing the database name in my install from the default and see if it still drops correctly to confirm, but definitely if I change the name it does not drop the database or the login I create on the server. Amy -Original

Re: [WiX-users] Unable to install Votive due to previous VC++ Express install

2008-12-16 Thread Geoffrey Lee
On Tue, Dec 16, 2008 at 8:40 PM, Bob Arnson b...@joyofsetup.com wrote: Which version of WiX? What message do you get? Votive-2.0.5805.0 Stable on 64-bit Vista with Visual C++ 2008 Professional WiX Toolset Visual Studio Package requires the Standard, Professional, or Team editions of Visual

[WiX-users] please remove me from the user-listing for now. thank you.

2008-12-16 Thread daggettgolden
-- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at

Re: [WiX-users] Unistall script getting executed only on the default database

2008-12-16 Thread Bob Arnson
siaj wrote: I am creating a setup using Wix which is creating some objects in a database and droping it while uninstall. The create and drop is working fine but if the user chooses to create these objects on a different database while installation,the uninstall is not cleaning it while

Re: [WiX-users] please remove me from the user-listing for now. thank you.

2008-12-16 Thread Bob Arnson
daggettgol...@aol.com wrote: -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now.

Re: [WiX-users] anyone else having trouble downloading msifrom sourceforge?

2008-12-16 Thread Bob Arnson
Amy Rosewater wrote: I am not getting the error message anymore. I don't know what it was, but one of the browser errors. Could have been something with sourceforge. There's also a timing issue, if you are checking during the time we push the build to SF. -- sig://boB

Re: [WiX-users] Unable to install Votive due to previous VC++ Express install

2008-12-16 Thread Bob Arnson
Geoffrey Lee wrote: Votive-2.0.5805.0 Stable on 64-bit Vista with Visual C++ 2008 Professional Votive v2 supports VS2003 and VS2005 but not VS2008. Votive v3 supports VS2005, VS2008, and soon VS2010. -- sig://boB http://joyofsetup.com/

[WiX-users] Question about minor upgrades and bootstrapper

2008-12-16 Thread Peter Björkman
Hi I am trying to create an installer for a .NET product. I have made a bootstrapper using votive and the msbuild bootstrap generator. I also want the bootstrapper to detect previously installed versions of my program to call my msi with REINSTALL=ALL REINSTALLMODE=vomus to enable minor