Re: [WiX-users] installing on windows server 2008 -BUMP-

2010-03-22 Thread Shabbir Ahsan
Bump - does anyone know how to solve this? Hi, I am attempting to build an installer which works on different operating systems. A problem I am having is to ensure on a windows 7 and win2008 server machine running IIS7, there is IIS6 compatiblity. I used the following property and

[WiX-users] How to install new Feature during Reinstall?

2010-03-22 Thread Jan Bilek
Hello, I've created new Product version installer (minor update) which contains brand-new Feature. When i try to reinstall this new version using REINSTALL and REINSTALMODE properties over the older version, then the new Feature doesn't get installed. When i try to install it on a clean

Re: [WiX-users] installing on windows server 2008 -BUMP-

2010-03-22 Thread Yan Sklyarenko
What about adding OR IISMAJORVERSION=#6 to your condition? Because for IIS 6 IIS 6 compatibility is automatically 'true'. -- Yan -Original Message- From: Shabbir Ahsan [mailto:shabbir_ah...@hotmail.com] Sent: Monday, March 22, 2010 12:34 To: wix-users@lists.sourceforge.net

[WiX-users] Performance Issues with File table sequencing

2010-03-22 Thread jhennessey
After days of researching why the current installer that I am porting from InstallShield (it's a pure MSI not InstallScript) to WiX installs so much slower I think I have found an answer. It looks like WiX sequences files in the file table by their file id. In comparison it appears that

Re: [WiX-users] Installing from embedded CAB file and Folder

2010-03-22 Thread Sanjay Poria
From what I can tell CopyElement only copies files if they are already in the source CAB (or already installed from it). I don't think that gives me what I require. Bob's suggestion of removing the @Cabinet or @EmbedCab attributes to create loose files would work but then every installation

Re: [WiX-users] installing on windows server 2008 -BUMP-

2010-03-22 Thread Pally Sandher
Condition Message=IIS v6 or IIS v6 Metabase Compatibility Feature for IIS v7 must be installed' ![CDATA[Installed OR (IISMAJORVERSION=#6 OR (IISMAJORVERSION=#7 AND IIS_METABASE_COMPAT))]] /Condition I've never worked with IIS but that's how I'd write my Launch Condition in this case. That is

Re: [WiX-users] Installing from embedded CAB file and Folder

2010-03-22 Thread Pally Sandher
CopyFile can be used to copy existing files from a known location by referring to that location or files being installed by referring to the File Id's. It's right there in the first line of the description Copy or move an existing file on the target machine, or copy a file that is being installed,

Re: [WiX-users] Performance Issues with File table sequencing

2010-03-22 Thread Pally Sandher
Were you using Components containing single files as generated by heat.exe? Can you explain how you modified your File Id's to streamline the sequencing? What's the average size of your installer when built what's the size of the files when installed? I'm interested in cutting down installation

Re: [WiX-users] How to install new Feature during Reinstall?

2010-03-22 Thread Pally Sandher
What are you setting REINSTALL to? REINSTALL=Feature1,Feature2,Feature3NewFeature should work. You will need to reference all your Features individually as REINSTALL=ALL only installs those features previously installed (hence the new one will be ignored since it didn't exist previously to be

Re: [WiX-users] Performance Issues with File table sequencing

2010-03-22 Thread Albert At School
I'm also interested in this; my (largest) Installer installs around 13000 files, most of them are just bytes or some KBytes, and the installation of this 200 MBytes MSI file takes a big 30 till 45 minutes (depending mainly on fragmentation of the target station). It would be nice if I could cut

[WiX-users] MSM compression?

2010-03-22 Thread John Aldridge
As part of installing our application, we deliver a merge module (our application includes an API, and the MSM is to enable our customers to create a Visual Studio deployment project for an application of their own written against our API). It looks as if the MSM is internally compressed,

[WiX-users] Votive - MergeModule dependency

2010-03-22 Thread Johann Taferl, T-AU
Hi, I tried to create a merge module with a dependency to a second one. Compiling and linking it manually with wix (v3.5) works fine. When I try to create the module in visual studio - using votive - I get following warning: ICE25: Possible dependency failure as we do not find ... in

Re: [WiX-users] Performance Issues with File table sequencing

2010-03-22 Thread Bob Arnson
On 3/22/2010 8:36 AM, jhennessey wrote: In the end I just wanted to put this out there to raise awareness of the issue and also to see if I should put in a feature request or something. Yes, please. Though we'll need a lot more detail: MSI installs files in order of their sequence, not by

Re: [WiX-users] ICE03: Invalid Language Id for en-MY and en-SG

2010-03-22 Thread Bob Arnson
On 3/21/2010 12:26 AM, WenWu Lu wrote: However, I get error LGHT0204 : ICE03: Invalid Language Id; Table: File, Column: Language, Key(s): enMYResources Likely, ICE03 doesn't know about newer LCIDs. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] MSM compression?

2010-03-22 Thread Bob Arnson
On 3/22/2010 9:40 AM, John Aldridge wrote: It looks as if the MSM is internally compressed, because its size is less than that of the DLLs it contains. This has bad consequences when we try to build a patch for our application and the patch needs to update the installed MSM: the patch comes

Re: [WiX-users] Installing from embedded CAB file and Folder

2010-03-22 Thread Bob Arnson
On 3/22/2010 8:43 AM, Sanjay Poria wrote: Bob's suggestion of removing the @Cabinet or @EmbedCab attributes to create loose files would work but then every installation file would have to be taken from this loose file structure. You can have multiple Media elements, mixing loose files with

Re: [WiX-users] Votive - MergeModule dependency

2010-03-22 Thread Bob Arnson
On 3/22/2010 9:49 AM, Johann Taferl, T-AU wrote: I tried to create a merge module with a dependency to a second one. WiX doesn't automatically try to find dependent merge modules; it's all explicit via Merge and MergeRef elements. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] How to install new Feature during Reinstall?

2010-03-22 Thread Bob Arnson
On 3/22/2010 8:35 AM, Jan Bilek wrote: I've created new Product version installer (minor update) which contains brand-new Feature. When i try to reinstall this new version using REINSTALL and REINSTALMODE properties over the older version, then the new Feature doesn't get installed. See the

Re: [WiX-users] MSM compression?

2010-03-22 Thread John Aldridge
On 22/03/2010 14:36, Bob Arnson wrote: On 3/22/2010 9:40 AM, John Aldridge wrote: It looks as if the MSM is internally compressed, because its size is less than that of the DLLs it contains. This has bad consequences when we try to build a patch for our application and the patch needs to

Re: [WiX-users] Votive - MergeModule dependency

2010-03-22 Thread Johann Taferl, T-AU
Yes, but in merge modules them self, I can't referece through Merge or MergeRef: Wix ... Module Id=MyProduct_A ... Package ... / Dependency RequiredId=USBDriver_x86.CFC273CF_CC03_43f0_B26D_07FF6D1E9946 RequiredLanguage=1033 RequiredVersion=1.0.0/ ... /Module

[WiX-users] Detect an internet connection

2010-03-22 Thread Steve Payne
Hi all, I've been tasked with launching an online survey during uninstall, which I have done with a custom action. However, I do not want the custom action to run if the user is not connected to the internet. What is the best way to check for an internet connection and store the result in a

[WiX-users] uninstall sequence

2010-03-22 Thread Shabbir Ahsan
Hi, how do I set the uninstall sequence? My uninstall fails because it is attempting to delete a file that is in use. The file is a windows service, which I have set to uninstall, but it seems to be attempting to delete the service before the service has been stopped. Cant seem to

Re: [WiX-users] Detect an internet connection

2010-03-22 Thread Kristoffer Danielsson
Not sure, but I guess you have to write a custom action DLL that does some tricks. Also note that checking for an internet connection is not as easy as it sounds. The APIs provided by Windows are not 100% reliable, so most of the time pinging a remote server (google.com for instance) proves

[WiX-users] Adding user to a group - fail gracefully?

2010-03-22 Thread Glen Cooper
In my installer I add a user account the a local group on the target machine. If this fails I would like the installer to continue but to prompt the user that they must add the user manually. Is this possible using the Util:User / Util:Group method? Is it possible to have the notion of an

Re: [WiX-users] uninstall sequence

2010-03-22 Thread Pally Sandher
There is no Uninstall Sequence. InstallExecuteSequence (http://msdn.microsoft.com/en-us/library/aa369500.aspx) InstallUISequence (http://msdn.microsoft.com/en-us/library/aa369543.aspx) run during Install Uninstall (and Modify/Repair/etc) unless actions within them are conditioned appropriately.

Re: [WiX-users] uninstall sequence

2010-03-22 Thread Wilson, Phil
The service is marked in ServiceControl as stop at uninstall ? Phil Wilson -Original Message- From: Shabbir Ahsan [mailto:shabbir_ah...@hotmail.com] Sent: Monday, March 22, 2010 9:02 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] uninstall sequence Hi, how do I set

Re: [WiX-users] Detect an internet connection

2010-03-22 Thread Wilson, Phil
I'm not sure that this is the right forum for that, but I suspect that the IsInternetConnected() API is what you want. Phil Wilson -Original Message- From: Steve Payne [mailto:stvp...@gmail.com] Sent: Monday, March 22, 2010 8:34 AM To: wix-users@lists.sourceforge.net Subject:

Re: [WiX-users] (no subject)

2010-03-22 Thread Mike Carlson (DEV DIV)
The problem you're running into is that in the MSI world, [PropertyName] is used to dynamically (at install-time) pull in the value of a property. So, you need to escape your bracket so it isn't looked at in that way. To escape [ replace it with [\[] To escape ] replace it with [\]] The full

Re: [WiX-users] (no subject)

2010-03-22 Thread Mike Carlson (DEV DIV)
I just realized this was already replied to. Apologies for the spam, everyone. -Original Message- From: Mike Carlson (DEV DIV) Sent: Monday, March 22, 2010 11:26 AM To: wix-users@lists.sourceforge.net Subject: RE: [WiX-users] (no subject) The problem you're running into is that in the

[WiX-users] From WIX 2.5 to 3.0

2010-03-22 Thread Narendra Chandel
Hello, I recently picked up WIX and have a quick question. 1.. Currently our product uses WIX 2.5 but we heard of all good things that WIX 3.0 has to offer and considering to move over 3.0. We just shipped RTM and we would want to ensure that switching to 3.0 wouldn't cause issues if we were

Re: [WiX-users] another test

2010-03-22 Thread Bill McCormick
Except, even with my subscription under another e-mail address, I still do not see my posts. Even though my list account options are set to return my own posts to me, they don't seem to work. Again, what happens when you (and others) post messages? Does the server return your messages? If I am

Re: [WiX-users] another test

2010-03-22 Thread Kelly . Leahy
I can't speak for everyone else, but it's always worked fine for me, I get my own messages within 10 minutes or so of sending them. Kelly Bill McCormick wpmccorm...@sbcglobal.net 03/22/2010 12:29 PM Please respond to General discussion for Windows Installer XML toolset.

Re: [WiX-users] another test

2010-03-22 Thread Dave Brotherstone
On Mon, Mar 22, 2010 at 8:25 PM, Bill McCormick wpmccorm...@sbcglobal.netwrote: Does the server return your messages? If I am the only person having this problem, then it must be an issue with how all my mail is forwarded to my gmail account - may my messages are getting googled up :)

Re: [WiX-users] Performance Issues with File table sequencing

2010-03-22 Thread jhennessey
Were you using Components containing single files as generated by heat.exe? Many of the components only contain a single file but others have multiple files per component (mostly for ASP.NET projects that contain a lot of files). Note that I only have to support major upgrades so having multiple

Re: [WiX-users] another test

2010-03-22 Thread Bill McCormick
OK. I see what is happening now. I guess I just never noticed this before. Sorry for pestering the group about this. Thanks, Bill On 3/22/2010 3:15 PM, Dave Brotherstone wrote: On Mon, Mar 22, 2010 at 8:25 PM, Bill McCormick wpmccorm...@sbcglobal.netwrote: Does the server return your

[WiX-users] WiX project with appl Driver?

2010-03-22 Thread Zhou, Lei
Hi, I try to write a WiX project to install an application (exe+a few DLLs) and a USB driver (one inf file, sys file would be the one that comes with Windows). First I did the application part and it installed ok. Then I added the USB driver portion. My project would not compile. Here are the

[WiX-users] Sorry one more test

2010-03-22 Thread Bill McCormick
looking for a workaround to gmail suppressing my posts -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel

Re: [WiX-users] Sorry one more test (OFF TOPIC)

2010-03-22 Thread Bill McCormick
That works; gmail is not suppressing my post. If anyone else, on this list or elsewhere, is interested , here's a workaround: Use T-Bird (or another client that allows fine control over send options) as a mail/list client and make a separate identity for (each e-mail address that you use)

Re: [WiX-users] Installing from embedded CAB file and Folder

2010-03-22 Thread Sanjay Poria
I think i'm nearly there but have one final hurdle. I have defined 2 media elements like this: Media Id=1 Cabinet='MainFiles.cab' EmbedCab='yes' CompressionLevel='mszip'/ Media Id='2' Layout='DocFiles' / The idea is that files from the Media=1 will be embedded

Re: [WiX-users] WiX project with appl Driver?

2010-03-22 Thread Zhou, Lei
Never mind. Found the missing part: difx~~~ -Original Message- From: Zhou, Lei [mailto:lz...@sychip.com] Sent: Monday, March 22, 2010 5:00 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] WiX project with appl Driver? Hi, I try to write a WiX project to install an

Re: [WiX-users] Votive - MergeModule dependency

2010-03-22 Thread Bob Arnson
On 3/22/2010 11:32 AM, Johann Taferl, T-AU wrote: Yes, but in merge modules them self, I can't referece through Merge or MergeRef: Correct, it must be authored in the product. Like I said, WiX doesn't automatically try to find dependent merge modules. -- sig://boB

Re: [WiX-users] MSM compression?

2010-03-22 Thread Bob Arnson
On 3/22/2010 10:53 AM, John Aldridge wrote: so in this case the MSM /is/ the actual file, isn't it? Indeed, that makes a difference.g Merge modules must use an embedded cabinet, per the MSI SDK. WiX doesn't offer explicit control over the compression level in authoring, but the code appears to

Re: [WiX-users] Installing from embedded CAB file and Folder

2010-03-22 Thread Bob Arnson
On 3/22/2010 6:46 PM, Sanjay Poria wrote: The problem is that when I run the installer, it still expects to find files (doc1, doc2) in the main directory (at the same level as the msi) instead of the DocFiles directory. When building, the installer actually creates the source structure as

[WiX-users] Create MS SQL Server 2008 database during installation.

2010-03-22 Thread Asiri Wanigarathne
Hi Folks, I am working on a WIX installer project that requires creating a MS SQL Server database on SQL Server 2008. My installer fails with following error message: Error – 2147467259. Failed to create SQL database. TestDatabase, error detail: unknown error. To isolate the issue I created a

Re: [WiX-users] WIX 2.0 on IIS 7.5 with IIS 6.0 Compatiblity Mode

2010-03-22 Thread Navid Azimi-Garakani
Thanks a lot, Mike. This turned out to be a very workable solution. We're now running WiX 3.0 (RTM) which has fixed the various IIS 7 integration issues we saw while using WiX 2.0. Thanks again, Navid -Original Message- From: Mike Carlson (DEV DIV) Sent: Tuesday, March 16, 2010 2:21

Re: [WiX-users] install SQL server with mixed mode authentication

2010-03-22 Thread Asiri Wanigarathne
Hi Shabbir, Try changing the following Command node of package.xml located at C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\SqlExpress\en: Command PackageFile=sqlexpr32.exe Arguments='-q /norebootchk /qn reboot=ReallySuppress addlocal=all