Re: [WiX-users] MSP patch creation with Wix

2009-07-08 Thread Yan Sklyarenko
Ilya, >> How do you specify in the patch1.wxs the version of the base MSI I'm not sure what you mean by this. When building a patch with torch tool, you provide targetInput (wixpdb) and updatedInput (wixpdb), which I think contain the necessary information about version of your old and new MSI pa

[WiX-users] Set required Free Disk space

2009-07-08 Thread Hukumchand Shah
Hi All, I want set a limit for 10 GB of free disk space before installing my application which I developed in WIX. How can I achieve that in WIX? I can't use C or C++ code. Thanks, Hukum -- Enter the BlackBerry Developer

Re: [WiX-users] Versioning interop assemblies for patching

2009-07-08 Thread Heath Stewart
tlbimp.exe does allow you to set the assembly version using the /asmversion option which also sets the file version. Note that it's the file version that matters, though - not the assembly or product version. During link, you won't need to pass -fv to light.exe since the assembly version changes. S

Re: [WiX-users] Uncompressed package and error finding files

2009-07-08 Thread Heath Stewart
Uncompresed, non-embedded source files are not supported for Windows Installer patches. On Thu, Jul 2, 2009 at 11:33 AM, Chris Bardon wrote: > I've been experimenting with creating msp files for all updates, and I've > run into a strange problem. I read about having to create uncompressed cabs >

Re: [WiX-users] Creating multi-instance installations using WiX

2009-07-08 Thread Heath Stewart
Instancing is a feature of MSI covered in the Windows Installer SDK. WiX v3 does add fairly simple support to build embedded instance transforms for known instances. See the documentation for the InstanceTransforms element. This and child Instance elements allow you to define unique property values

[WiX-users] WiX contractors?

2009-07-08 Thread Josh Santangelo
Hi all -- I'm looking for someone to help us out with building a WiX installer that we can use for multiple applications at my company. I've already figured out enough WiX to copy files into the right place, and that's working, but we need to go a little further. It's all spec'd out and there's not

Re: [WiX-users] How to register file type with wix 3 RTM?

2009-07-08 Thread Ryan Dai
Hi Bob, Thanks for your answer. After I remove the Sequence attribute, I still get errors. error LGHT0094 : Unresolved reference to symbol 'File:FileId' Wixcop cha

Re: [WiX-users] WiX-users Digest, Vol 38, Issue 35

2009-07-08 Thread Rob MacFadyen
Jason, Thanks a ton! I'll dig into this again and see if I can make it work (fingers crossed). Regards, Rob -Original Message- Date: Wed, 8 Jul 2009 14:38:38 -0700 From: Jason Ginchereau Subject: Re: [WiX-users] DTF and PDB files for better error logging To: "wix-users@lists.sourcefo

Re: [WiX-users] FW: Web Service

2009-07-08 Thread Rob Mensching
What do you mean "grant permissions for specific port"? Firewall exception? Thomas Svare wrote: > Hello, > > Sorry for the spam on this issue. I've got a beta deadline coming up so > I'll probably go with InstallUtil and use the intaller class in the exe > but if anyone has any ideas on this I w

Re: [WiX-users] Shortcuts in Votive

2009-07-08 Thread Rob Mensching
What is "the InstallAllUsers flag"? Do you mean ALLUSERS=1? Wright, Lance wrote: > I am trying to install shortcuts to files in my Setup project to the All > Users desktop. I have the InstallAllUsers flag set to True and the shortcuts > are in the 'User's Desktop' special folder. If an adminis

Re: [WiX-users] WiX documentation links broken

2009-07-08 Thread Rob Mensching
Yes, known issue. Should be fixed with the next build. Brian Kretzler wrote: > Has anyone else noticed that the "Manual (WiX 3.0)" links on the right hand > side of wix.sourceforge.net are broken? The 2.0 links are not much better, > but show something. Under the 2.0 links, clicking on "Schema

Re: [WiX-users] Pressing yes to cancel button won't cause rollback

2009-07-08 Thread Rob Mensching
Many MSI calls can return the user cancel message, not just ::MsiProcessMessage(). It is possible some other call ate the return value. The WcaUtil functions handle this sort of thing for you. DONG LEE wrote: > Hi all, > > I am trying to detect whether a user cancels within a custom action by do

Re: [WiX-users] Conditions issue

2009-07-08 Thread Rob Mensching
Does a verbose log file show the Property getting set? Patrick Sullivan wrote: > Moderate time user, first time question asker. > > > > I'm having issues where my protection condition around a component that > includes an inifile is not working correctly, yet when I include the value > of the test

[WiX-users] Wix v2 to v3

2009-07-08 Thread Raj, Vijay
Rob men, had posted some tips how to migrate from wix v2 to wix v3: http://bit.ly/l5fGK Cheers' Vijay Raj | ESD - IT Services, TI-India. Weblog | RSS Feed | Twitter -

Re: [WiX-users] DTF and PDB files for better error logging

2009-07-08 Thread Jason Ginchereau
Just tried again and it does work -- I got line numbers in the stack trace in the log. Note if you're referencing $(IntermediateOutputPath) like in my example below, you need to define the CustomActionContents property at the BOTTOM of your project file, because $(IntermediateOutputPath) isn't

Re: [WiX-users] DTF and PDB files for better error logging

2009-07-08 Thread Rob MacFadyen
Jason, I did this at one point but it was ineffective. On the installation side it appeared that the .PDB was not being extracted to the temporary directory. Are you certain this actually works and results in line numbers showing in stack traces for unhandled exceptions in managed CA's? Thanks,

Re: [WiX-users] How to dynamically get current locale that my msi is built in?

2009-07-08 Thread Lian Jiang
Thanks Blair. I am using the similar technique as you described. -Original Message- From: Blair [mailto:os...@live.com] Sent: Wednesday, July 08, 2009 11:03 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] How to dynamically get current locale that my

Re: [WiX-users] DTF and PDB files for better error logging

2009-07-08 Thread Jason Ginchereau
You can add additional items to the CA package by manually adding a CustomActionContents property to your project file. For example, to include your assembly PDB when building in debug mode: $(IntermediateOutputPath)$(AssemblyName).pdb -Original Message- From: Rob MacFadyen [mailt

[WiX-users] DTF and PDB files for better error logging

2009-07-08 Thread Rob MacFadyen
Hey all, I've been doing a few C# based custom actions and find the DTF "stuff" very easy to use and it works quite well. However I'm wondering if there is anyway to include my custom action DLL's PDB file with the actual CA? If the .PDB was extracted and copied to the same location as the .DLL

Re: [WiX-users] How to dynamically get current locale that my msi is built in?

2009-07-08 Thread Blair
I tested something like this and it seemed to work: Add a value (en-us) in your .wxl files and set the value to the appropriate value (es-es) in your translated .wxl file. Then do something like this: ... You will need to also use a !(loc.LCID) or similar

Re: [WiX-users] WiX 3.5.0626 missing VS2010 Project Types?

2009-07-08 Thread John H. Bergman (XPedient Technologies)
Finally got back to this. I did not get the errors with Wix3.0. When I moved to 3.5 so that I had VS2010 support, I had to recreate the projects. The MergeModule Projects compile fine, it is only the actual setup project that gives the error when it references to MergeModules. Each MergeModu

[WiX-users] timeout value for sql connection.

2009-07-08 Thread Leo ...
Can the connection timeout to the database be controlled when using the SqlExtension WIX library for running SQL scripts such using "sql:SqlString"? Thx! -- Enter the BlackBerry Developer Challenge This is y

[WiX-users] Conditions issue

2009-07-08 Thread Patrick Sullivan
Moderate time user, first time question asker. I'm having issues where my protection condition around a component that includes an inifile is not working correctly, yet when I include the value of the tested variable it appears like it should be Sample

Re: [WiX-users] How to localize wix package in this way?

2009-07-08 Thread Dirk Räder
Hi again, as I wrote before: Windows Installer does not allow one MSI calling another MSI. You will have to use an external program calling the MSI with the appropriate language information. Regards, Dirk 2009/7/8 Jiang, Chunyan (GE Healthcare) : > As I thought to define two wix projects to rea

Re: [WiX-users] Do not change the service start type on upgrade

2009-07-08 Thread Saurabh
Bob, That i what we are doing in the wix (I checked after your reply) Also I do not mind if we delete the service as long as we can save the start type before deleting and then set the start type to the same during serviceinstall. --Saurabh --- On Wed, 7/8/09, Bob Arnson wrote: > From: Bo

Re: [WiX-users] Do not change the service start type on upgrade

2009-07-08 Thread Saurabh
Yan, I would like to overwrite the files, but keep the service start type same after installation as it was before. --Saurabh --- On Tue, 7/7/09, Yan Sklyarenko wrote: > From: Yan Sklyarenko > Subject: Re: [WiX-users] Do not change the service start type on upgrade > To: "General discussion

Re: [WiX-users] How to localize wix package in this way?

2009-07-08 Thread Dirk Räder
Hi Chunyan, it is not possible to have one msi file call another msi file. You would have to write an external setup.exe that shows the language selection dialog. When the user clicks Next on that dialog, setup.exe calls the msi with the necessary transformation parameter. Hope that helps, Dirk

Re: [WiX-users] MSP patch creation with Wix

2009-07-08 Thread Ilya Mayzel
Yan, This is great news for me! Can you please elaborate on the process you follow? Different articles give different process recommendations. How do you specify in the patch1.wxs the version of the base MSI (product.wxs) What do you need to do (version/product code/package code) if you create n

[WiX-users] SQL db browse problem

2009-07-08 Thread akash bhatia
hi all, i am facing here quite a different problem. i have created my custom dialog for *SQLlogin* and in that on *SQLBROWSE *button i am calling a C# custom action for gettin all the dbservers on network and writing all that in a textfile. next i am calling a spawn dialog with listbox control i

Re: [WiX-users] How to localize wix package in this way?

2009-07-08 Thread Jiang, Chunyan (GE Healthcare)
As I thought to define two wix projects to realize my aim, I tried to define a CustomAction in one msi to call another msi. Then call this action in one push button after the radio button is selected: However, when I run the first msi, select one language, click

Re: [WiX-users] How to localize wix package in this way?

2009-07-08 Thread Jiang, Chunyan (GE Healthcare)
Hi Rob, Thanks to the Wix Tutorial, I learned from the SampleAskKey source code and got to know how to use RadioButtonGroup to get the different selection value. For example, I give the three radio buttons different value for the property and define the push button publish even according to dif

Re: [WiX-users] msi failure when using ServiceConfigFailureActions

2009-07-08 Thread Bob Arnson
Lian Jiang wrote: > But installing msi failed with the message "no enough priviledge". Check a verbose log for the exact error message. > If I remove the ServiceConfigFailureActions node, the msi works fine. > > Did I miss anything when using ServiceConfigFailureActions? > Are you expecting

Re: [WiX-users] Where is the game extension docs?

2009-07-08 Thread Bob Arnson
Richard wrote: > If I install Wix35.msi, then this appears in the CHM file. > It's also in the v3.0 .chm. -- sig://boB http://joyofsetup.com/ -- Enter the BlackBerry Developer Challenge This is your chance to win

Re: [WiX-users] How to register file type with wix 3 RTM?

2009-07-08 Thread Bob Arnson
Ryan Dai wrote: > error CNDL0035 : The Verb/@Sequence attribute cannot > be specified when attribute Advertise is present with value 'no'. > If you have only a single Verb element, just omit the Sequence attribute. WiX v2 accepted the Sequence attribute when Advertised="no" but did nothing w

Re: [WiX-users] Do not change the service start type on upgrade

2009-07-08 Thread Bob Arnson
Saurabh wrote: > Now if we install an update, the service is deleted and re-installed and the > service start is set to manual again. I would like to have a way in which the > service start type should not change if the user has set it to automatic when > an upgrade msi is being installed. >

Re: [WiX-users] How to create a Compiler Extension

2009-07-08 Thread Yan Sklyarenko
There's an example in WiX.chm (installed together with the toolset): see "Developing for WiX >> Developing WiX Extensions" chapter. -- Yan -Original Message- From: Mazin Sayid Ali [mailto:mazin.s...@gmail.com] Sent: Wednesday, July 08, 2009 2:06 PM To: wix-users@lists.sourceforge.net Sub

[WiX-users] How to create a Compiler Extension

2009-07-08 Thread Mazin Sayid Ali
Hi guys, I'm trying to create an WIX Compiler Extension. Could anyone direct me to a resource for the same. Thanks Mazin -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes!

Re: [WiX-users] Free disk space

2009-07-08 Thread Hukumchand Shah
Thanks for reply kezhong. But I want to use it in .wxs file. I am new to WIX. Could you send me a sample code for that? --Hukum On Tue, Jul 7, 2009 at 2:11 PM, kezhong zhou wrote: > By using a custom action. > > You can call GetDiskFreeSpaceEx function to get what you want. > > On Tue, Jul 7,

Re: [WiX-users] How to localize wix package in this way?

2009-07-08 Thread Jiang, Chunyan (GE Healthcare)
Hi Rob, Thank you for your information. Although Wix doesn't support switching different language packages, I think the radio button can transfer the language selection parameter to some small program or dll, and ask it to select the coresponding localization package and go on to do the install

Re: [WiX-users] Do not change the service start type on upgrade

2009-07-08 Thread Yan Sklyarenko
Can you try setting the Component's attribute NeverOverwrite to 'yes'? Didn't try it myself, though... -- Yan -Original Message- From: Saurabh [mailto:sk...@yahoo.com] Sent: Wednesday, July 08, 2009 9:18 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Do not change the servi