Re: [WiX-users] rename a file in a patch made using Pyro.exe

2010-02-08 Thread Yan Sklyarenko
Have you tried this: http://blogs.msdn.com/pmarcu/archive/2009/05/19/wix-removing-files-with- patches.aspx ? To tell it short, make the component Transitive and make its condition always false. This should work, but I totally agree that this technique should be taken really carefully. Though, if y

[WiX-users] Issue with unregistered filters.

2010-02-08 Thread Selvakumar B
HI, I am using wix 3.0, I need to register when I installing the product, but if the filter has not register its showing error dialog with "cancel" , "Ignore" buttons. What I want is if the filter didn't register stop the installation and rollback. I don't want the error dialog with Ignore but

[WiX-users] Windows 7: MSIOpenPackage / MsiOpenPackageEx fails with 0x80070645

2010-02-08 Thread dB .
Sorry if this is just marginally wix-related. I am working on AppSecInc. Community MSI Extensions. On Windows 7 the behavior of MSIOpenPackage seems to have changed. We use it to run unit tests by creating a database (MSICreateDatabase) and calling MSIOpenPackage to

Re: [WiX-users] Issue with unregistered filters.

2010-02-08 Thread Rob Mensching
It sounds like your self registration calls are failing. Self-reg is noted to be a very fragile thing. I'd recommend using heat.exe to capture the registry keys and declare them in your .wxs file, instead of using SelfReg. On Mon, Feb 8, 2010 at 6:16 AM, Selvakumar B wrote: > HI, > > I am using w

Re: [WiX-users] How do i put a Launch Condition within a Feature.

2010-02-08 Thread Cody Gibson
I had a somewhat similar problem I had to deal with. Our product works with both VS2008 and VS2010. I need to make my installer work with either or both simultaneously. What I like doing in cases like this is to hide the feature all together from the user when a feature is not compatible with th

[WiX-users] how to provide certificate name on the command line

2010-02-08 Thread Amruta Muley (Cognizant Technology Solutions)
Hi All, I am trying to install a certificate using the msi in WiX 3.0 The install is sucessful. However I have to provide the the cert source and cert name to link the code with light. Is there a provision by which I can provide the cert name while executing the msi and not need it when i use

[WiX-users] How to add Patch table to MSI in order to change Sequence type I2 to I4?

2010-02-08 Thread Tony Juricic
I run into this problem when creating the patch: ERROR: Internal PatchWiz Error occurred. ERROR:The Last Error Received is: 1627 ERROR:The Last Error Received is: 1: 2210 2: which is caused by Patch table having default Sequence field of type I2 I used Orca to create default Patch table a

Re: [WiX-users] How do i put a Launch Condition within a Feature.

2010-02-08 Thread Pally Sandher
LaunchConditions are package wide & hence are an all or nothing solution (either you pass the LaunchConditions & can attempt an install or you trigger one or more & don't get install anything). You can have Feature Conditions or Component Conditions as Cody has shown below. A Condition Element in t

Re: [WiX-users] Using to resolve ICE03 error

2010-02-08 Thread Jordan.R.Day
Thanks, Blair. I ended up needing to add definitions (along with the column definitions for each table), but after adding those (along with the elements) I was able to get rid of the error. Thanks again, Jordan Day | Software Engineer | Cerner Corporation | 816.201.8283 | jordan.r@cerner

Re: [WiX-users] Override V1 launch condition using a patch made by pyro.exe

2010-02-08 Thread Lian Jiang
I tried to put the launch conditions in the patch.wxs's fragment but light.exe threw "Patches cannot contain the 'LaunchCondition' table.". Is there a way to change the launch conditions using a pyro patch? Thanks Lian -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] S

Re: [WiX-users] adding an extension to the Wix build

2010-02-08 Thread Blair
If you are writing the extension to extend your own (or anyone else's WiX builds) you need the following "projects" in your build: 1. Your CA. BTW, the lib(s) for building C++ CAs that are in the are very helpful here 2. Your WixLib (which depends on the CA). It must include the -bf commandline op

[WiX-users] How to display right-to-left language like Arabic?

2010-02-08 Thread Fan Zhang (UPG)
Hi, I want the installer to display right to left languages like Arabic. I created a simple wix project with Wix 3.0.5419.0 RTM version and tried three different languages: en-us, hu-hu and ar-ar. Both en-us and hu-hu worked as expected. But when I ran command as below for ar-ar, light.exe

Re: [WiX-users] Override V1 launch condition using a patch made by pyro.exe

2010-02-08 Thread Blair
Look at the patched msi in orca. It is possible that your change to the LaunchConditions table isn't included by pyro since you limit the changes that are in your patch family. To get all changes, no matter what fragment they came from, into your patch, your patch family shouldn't have any childre

Re: [WiX-users] Setting up a MySQL database as part of installation

2010-02-08 Thread Blair
IANAL but I suspect that someone could write a MySQL WiX extention as a "side" project that you would install on top of a WiX installation. You aren't changing the WiX toolset itself and the CPL allows linking to it without invoking the shareback-under-same-license requirement (in the same way as t

Re: [WiX-users] How to display right-to-left language like Arabic?

2010-02-08 Thread Fan Zhang (UPG)
Seems the attachment is not shown. I put the key part of my projects as below: In Product.wxs, it uses the localized string like this: !(loc.Title) Then the ar-ar.wxl is like this: http://schemas.microsoft.com/wix/2006/localization";>

Re: [WiX-users] How to set default value based on a condtition

2010-02-08 Thread Blair
The first would appear to be a better candidate given Richard's investigations into Windows Installer's dialog engine's recognitions of property changes, but the dialog that is publishing would have to be sequenced after the CostFinalize action for the "&Database" syntax to work. -Original Mes

Re: [WiX-users] Override V1 launch condition using a patch made by pyro.exe

2010-02-08 Thread Lian Jiang
Thanks Blair. Yes, the patched MSI has the updated LaunchCondition. I have the working infrastructure using MSIMSP.exe to create a patch. MSIMSP.exe includes all changes into the patch. The reason that I want to use Pyro.exe instead of MSIMSP.exe is that Pyro allows you to control which compon

Re: [WiX-users] Override V1 launch condition using a patch made by pyro.exe

2010-02-08 Thread Blair
Is MyFileComponent in the same fragment as both versions of the Condition element? Are you using the .wixpdb files to generate your .wixmst file? -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Monday, February 08, 2010 11:56 AM To: General discussion for Windows

Re: [WiX-users] How to display right-to-left language like Arabic?

2010-02-08 Thread Blair
I looked at that page: ar-ar is listed as only available in wix 2.0. You appear to be using 3.x (based on the namespace in your .wxl file). "open" means that the language is available for someone to supply the translation for that language but it isn't assigned yet because no one has yet stepped

Re: [WiX-users] Do not remove some files on major upgrade

2010-02-08 Thread Blair
What does your windows installer log generated while performing the upgrade say about the component containing that file? -Original Message- From: vunder [mailto:vun...@bk.ru] Sent: Thursday, February 04, 2010 12:52 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Do not re

Re: [WiX-users] Override V1 launch condition using a patch made by pyro.exe

2010-02-08 Thread Lian Jiang
Yes, MyFileComponent is in the same fragment in both versions of MSIs. I am using wixpdb to generate .wixmst file. Thanks Lian -Original Message- From: Blair [mailto:os...@live.com] Sent: Monday, February 08, 2010 12:07 PM To: 'General discussion for Windows Installer XML toolset.' Subj

[WiX-users] Finding a file that is causing auto-repair

2010-02-08 Thread Harvey, John Ctr USAF Warfighter's Edge
We have shortcuts installed that trigger a repair if something missing is detected. Is there some way to find out what triggered the repair? I have logs, but I don't know what to look for. --John Harvey -- The Planet: d

Re: [WiX-users] Request for help building a Simple MSI..

2010-02-08 Thread Vern Graner
On 2/5/2010 7:22 PM, Blair wrote: > In the "Stop the services" section, shouldn't that be "NET STOP "*? Yep.. spot on... I copied those and forgot to change the state to stop.. all fixed. :) > You are using "self registration" for your EXEs. That is greatly > discouraged for quite a few reaso

Re: [WiX-users] Setting up a MySQL database as part of installation

2010-02-08 Thread dB .
First, I don't have it, but I can get you started half way there if you want to code it. You should take a look at http://msiext.codeplex.com. There's an ODBC infrastructure which may work 95% to where you need to be to create a MySQL database, and a full implementation for MSSQL server based o

Re: [WiX-users] Setting up a MySQL database as part of installation

2010-02-08 Thread JKLists
On 6 Feb 10 8:34 PM, Rob Mensching wrote: > Sadly, not well at all. GPL and CPL are not compatible. > You're correct that the GPL and CPL are not compatible. The question that was not addressed, however, is what of *L*GPL? LGPL (the Lesser GPL) is not the same as the GPL. IANAL but I unders

Re: [WiX-users] Question about WiX and Delphi

2010-02-08 Thread JKLists
> I wonder if I can use WiX with Delphi ? > I use WiX to build an installer for a Delphi project. There's no integration into the Delphi IDE AFAIK. -- The Planet: dedicated and managed hosting, cloud storage, colo

Re: [WiX-users] Finding a file that is causing auto-repair

2010-02-08 Thread Wilson, Phil
The Application Event Log should tell you what it thinks is the missing component. Phil Wilson -Original Message- From: Harvey, John Ctr USAF Warfighter's Edge [mailto:john.har...@wedge.hpc.mil] Sent: Monday, February 08, 2010 2:42 PM To: General discussion for Windows Installer XML

[WiX-users] Installing SQL express as a feature

2010-02-08 Thread Bimali Ponnamperuma
Hi , I need to install SQL Express with my installation I need to run the exe and this need to be added to the feature list in the product.wxs file. any suggestions on how should i invoke the exe as a component in the product.wxs? Thanks in advance ---

Re: [WiX-users] Setting up a MySQL database as part of installation

2010-02-08 Thread Rob Mensching
Sorry, I saw "GNU LGPL" as just "GPL". I really don't know about CPL and LGPL. On Mon, Feb 8, 2010 at 3:31 PM, JKLists wrote: > On 6 Feb 10 8:34 PM, Rob Mensching wrote: > > Sadly, not well at all. GPL and CPL are not compatible. > > > > You're correct that the GPL and CPL are not compatible. T

Re: [WiX-users] Installing SQL express as a feature

2010-02-08 Thread Blair
Use a bootstrapper. If you really want it to appear as a feature, use external ui. -Original Message- From: Bimali Ponnamperuma [mailto:bimal...@gmail.com] Sent: Monday, February 08, 2010 7:33 PM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Installing SQL express as a feature

Re: [WiX-users] Installing SQL express as a feature

2010-02-08 Thread Bimali Ponnamperuma
I could not get u . can u explain a bit please.. Im not sure with the "bootstrapper" idea Thanks On Tue, Feb 9, 2010 at 9:11 AM, Blair wrote: > Use a bootstrapper. If you really want it to appear as a feature, use > external ui. > > -Original Message- > From: Bimali Ponnamperuma [mail

Re: [WiX-users] Multi-language, multi-platform bootstrap

2010-02-08 Thread dB .
http://dotnetinstaller.codeplex.com supports your scenario. You can implement a language selector or automatically select depending on the OS region and/or locale. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Jakub Gwóźdź [mailto:gwozd...@rpg.pl] Sent: Mo

Re: [WiX-users] How to rename an existing file after installation (major upgrade)?

2010-02-08 Thread dB .
There's a MoveFile immediate CA in http://msiext.codeplex.com. Although "cmd.exe /C move "..."" will work as well on all operating systems except Windows 9x. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Nicole Zheng [mailto:nicole.zheng...@hotmail.com] Se

Re: [WiX-users] Need to install 2 products at once

2010-02-08 Thread dB .
You definitely need a bootstrapper. http://dotnetinstaller.codeplex.com will do. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Cody Gibson [mailto:cgib...@artoftest.com] Sent: Tuesday, January 26, 2010 10:02 AM To: General discussion for Windows Installer X

Re: [WiX-users] Interviewing an installation developer

2010-02-08 Thread dB .
I am horrified by this thread. People never learn :) In the last 3 companies I worked (one being Microsoft) we went through this. We used to have builders which developer over-complicated build processes and we had build fiasco. We added more better builders. We got more build code that could b

Re: [WiX-users] [WIX-Users] Problem while running big sql script file

2010-02-08 Thread dB .
Forgive me for shameless advertising. You might want to try ODBC_Execute immediate CA from http://msiext.codeplex.com or ODBCExecute wix extension, neither should have this problem. There're BULK INSERT constructs for problems like yours + we've implemented a minimal parser in the next release (

Re: [WiX-users] how to share variables between wix and C++ projects?

2010-02-08 Thread dB .
I suggest treating wix like any other code. We do this: http://code.dblock.org/ShowPost.aspx?id=19 Hope this helps, Cheers dB. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: CP YEH [mailto:ntde...@gmail.com] Sent: Sunday, January 24, 2010 6:47 PM To: Gene

Re: [WiX-users] Issue with unregistered filters.

2010-02-08 Thread Selvakumar B
Hi, Thanks for your suggestion, Can you give me an idea to use heat.exe or any sample (sample.wxs). Selva ,.. -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Monday, February 08, 2010 9:04 PM To: General discussion for Windows Installer XML toolset. Subject: R

Re: [WiX-users] Installing SQL express as a feature

2010-02-08 Thread Sebastian Brand
To install SQL Express you have to use a bootstrapper, i.e. an external application that first checks if SQL Express is installed already, then starts the SQLEx installation and then starts your main MSI/wxs installation. This is required because SQL Express cannot be part of "your" Setup, it ca

Re: [WiX-users] Installing SQL express as a feature

2010-02-08 Thread Bimali Ponnamperuma
But I will be getting user information and checking whether the sql is installed from one of my normal installation screens. Here i will set a property whether to install or not. Then based on that, before installing the DB feature i need to install the SQL. (I already have a DB feature in my feat

Re: [WiX-users] Installing SQL express as a feature

2010-02-08 Thread Blair
You could put the installation exe on the disk they way you suggest, but running it won't be possible until after your installation is completed. You could generate a shortcut to the installation exe, or maybe even better just install the installation exe to the desktop for the user to run themselv

[WiX-users] 2 SpawnDialog events does not work for

2010-02-08 Thread Bimali Ponnamperuma
I have a next button and based on different conditions on the screen i need to show different popups. NOT ( AND AND AND ) OR NOT ( AND ) Even though the 1st condition is satisfied, with INSTALLSQLEX = "0" , "DatabaseNameInvalidDlg" dialog appears. Why dont i see the "DatabaseDetai

Re: [WiX-users] 2 SpawnDialog events does not work for

2010-02-08 Thread Sebastian Brand
Shouldn't the CDATA[] stuff be used only once in an XML inner text? I've never seen this inside a condition.. Best regards, Sebastian Brand sebast...@instyler.com Instyler Software - Software development, deployment and productivity Geisenfelder Str. 53a - 85053 Ingolstadt, Germany - EU VAT ID:

Re: [WiX-users] Installing SQL express as a feature

2010-02-08 Thread Bimali Ponnamperuma
so does this mean we cant run any exe from our installation or we cannot install any thing using an exe from our installation ? On Tue, Feb 9, 2010 at 11:30 AM, Blair wrote: > You could put the installation exe on the disk they way you suggest, but > running it won't be possible until after your

Re: [WiX-users] 2 SpawnDialog events does not work for

2010-02-08 Thread Bimali Ponnamperuma
else how can we give "SERVERNAME <> """ for the condition text .?? since it has < > On Tue, Feb 9, 2010 at 11:37 AM, Sebastian Brand wrote: > Shouldn't the CDATA[] stuff be used only once in an XML inner text? I've > never seen this inside a condition.. > > Best regards, > Sebastian Brand > sebas

Re: [WiX-users] Installing SQL express as a feature

2010-02-08 Thread Bimali Ponnamperuma
cant we use a custom action in product.wxs and a publish a even on the finish button on the installation screen ? Before that we will copy the exe to a location..and then run that using a custom action On Tue, Feb 9, 2010 at 11:30 AM, Blair wrote: > You could put the installation exe on the dis

Re: [WiX-users] Do not remove some files on major upgrade

2010-02-08 Thread vunder
Where can I see that in log? -- View this message in context: http://n2.nabble.com/Do-not-remove-some-files-on-major-upgrade-tp4505876p4539524.html Sent from the wix-users mailing list archive at Nabble.com. -- The Plan

[WiX-users] Embedded Chainer

2010-02-08 Thread Matt Lynch
Hi everyone, I'm investigating the use of a embedded chainer for a application I'm building, but I haven't been able to find much information about them. Is there any sample code around for one of these guys? Preferably in C# or a managed language - my C++ is rusty. Thanks in advance... M