Re: [WiX-users] Bootstrap example

2007-06-17 Thread Schrieken, Rene
Tnx for that. I'm just always looking for the why?... 
 
Rene



From: [EMAIL PROTECTED] on behalf of Aaron Shurts
Sent: Sat 6/16/2007 21:17
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Bootstrap example


We don't use MSBuild and this is just a subset of the actual functionality that 
is in the method we use.  We have a custom build API that incorporates this 
code.  The code that I have written is much more robust and allows for 
configuration / logging options beyond what the setup.proj offers.  I just 
posted this as a starting place for someone who would rather programatically 
generate the setup.exe.

Regards,
//aj


On 6/16/07, Schrieken, Rene [EMAIL PROTECTED] wrote: 

I'm not sure why you actually created a console app to do that?
 
If you put this in a file called setup.proj:
Project xmlns=http://schemas.microsoft.com/developer/msbuild/2003


ItemGroup
BootstrapperFile Include=SQL.2005.Backwards.Compatibility
ProductNameSQL 2005 Backwards Compatibility/ProductName

/BootstrapperFile
BootstrapperFile Include=Web.Services.Enhancements.2.0.SP2
ProductNameWSE 2.0/ProductName
/BootstrapperFile

/ItemGroup

Target Name=BuildBootstrapper
GenerateBootstrapper
ApplicationFile=MyInstall.msi
ApplicationName=My Product

!-- ApplicationUrl=http://mycomputer http://mycomputer/  
--
BootstrapperItems=@(BootstrapperFile)

!-- Path=  not needed if the SDK is installed otherwise 
copy the 
the folders of the Bootstrapper directory to a known 
(relative) location --
ComponentsLocation=Relative





CopyComponents=true
OutputPath=.\output /
/Target

/Project
And then run form the SDK command prompt:
msbuild setup.proj
You should achieve the same. That relieves you of having to compile 
stuff. 
And you can call the wix compile and link tasks also from the 
setup.proj file
 
 



From: [EMAIL PROTECTED] on behalf of Aaron Shurts 
Sent: Fri 6/15/2007 19:51
To: dave_c
Cc: wix-users@lists.sourceforge.net 
Subject: Re: [WiX-users] Bootstrap example



The following example generates a setup.exe using the SDK bootstrapper.

http://www.nabble.com/Sharing-some-bootstrap-information-tf3853598.html#a10917299
 

Regards,
//aj


On 6/15/07, dave_c [EMAIL PROTECTED] wrote: 


Hi there,

Does anyone have an example bootstrap program I can get a hold 
of or can 
they point me in the right direction.

I've got an MSI that I want/need to install followed by another 
one and then 
I need to run a self extracting executable (although this can 
probably be
done as a custom action) 

Am I constrained in which language this is written in as well

Cheers

--
View this message in context: 
http://www.nabble.com/Bootstrap-example-tf3929022.html#a11143252
Sent from the wix-users mailing list archive at Nabble.com 
http://nabble.com/ .



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and 
take
control of your XML. No limits. Just data. Click to get it now. 
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list 
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users





This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you. 



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - 

Re: [WiX-users] setting Template Summary property

2007-06-17 Thread Rob Mensching
All the Summary Information properties are set by the Package element.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anil Prasad
Sent: Friday, June 15, 2007 5:11 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] setting Template Summary property

Hi All,
I am building 64bit MSI using WiX and when I run MSI validation tool, I get 
errors about template summary property not set to proper value.
I couldn't figure out any information on how to set this property. Can anyone 
please help?

Thanks,
Anil
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding items to IIS: What am I doing wrong?

2007-06-17 Thread Rob Mensching
What's the problem?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee 
(Volt)
Sent: Friday, June 15, 2007 4:55 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Adding items to IIS: What am I doing wrong?

My eventual goal is to be able to create a website through WiX, but currently 
this is supposed to add two new Application Pools in IIS and it isn't even 
doing that. What am I doing wrong? Any help would be great. Thanks
--Pierson

code

?xml version=1.0 encoding=utf-8?


Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension;
  Product Id=DBAB017C-1C26-4294-9ECC-E069B2BD3501 Name=AppPool Creator 
Language=1033 Version=0.1.0.0 Manufacturer=Microsoft Corporation 
UpgradeCode=B63F9B80-B0B4-4955-B5D2-3B9D50B1DF54
Package Description=AppPool Creator Comments=6/15/2007 Pierson 
Manufacturer=Microsoft Corporation InstallerVersion=100 Compressed=yes /
UI /
Directory Id=TARGETDIR Name=SourceDir

Component Guid=62CE44C2-0935-4139-9DB3-638A9B567835 
Id=AppPoolComponent
  iis:WebAppPool Id=AppPool1 Name= AppPool_1 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; /
  iis:WebAppPool Id=AppPool2 Name=AppPool_2 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; /
/Component

/Directory
Feature Id=ApplicationPool Level=1
  ComponentRef Id=AppPoolComponent /
/Feature
  /Product
/Wix



/code
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] error 1334 on installing a patch.

2007-06-17 Thread Rob Mensching
The PatchGroup element is used to ensure that new files get added to the end of 
the sequence.  That has been able to solve all the sequencing problems people 
have brought up in the past so can you be more specific about what files you're 
finding are out of sequence?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandip Shahane
Sent: Wednesday, June 13, 2007 3:47 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] error 1334 on installing a patch.

So, how do I control the file sequencing? PatchGroup attribute seems like 
something for files that are newly added by the patch (correct me if wrong). So 
here is the scenario and problem I am facing: There is an original MSI with a 
File table snap shot for couple of files as below and an updated package that 
has some new files, some existing files and some updated files. Also in updated 
MSI File table the file sequence is completely different than the RTM one. 
Probably because of this I am getting, error 1334 for the below files while 
installing a patch. Now, since I am using WIX, I want to know is there any way 
I can make sure the file sequence remains same for the files that are not 
updated in the new package? Also is there a way to know how and why the 
sequence might have changed in the first place?

Any help will be greatly appreciated,
Thanks and Regards,
Sandip

From: Heath Stewart
Sent: Wednesday, June 13, 2007 2:55 PM
To: Sandip Shahane; Carolyn Napier; Windows Installer Support (MS Internal)
Cc: Aaron Gaskill
Subject: RE: error 1334 on installing a patch.

WiX questions need to go to 
wix-users@lists.sourceforge.netmailto:wix-users@lists.sourceforge.net. See 
http://wix.

I will say you should take a look at the wix.chm file for the File element's 
PatchGroup attribute.

Heath Stewart
Technical Lead
Deployment Technologies Group, Microsoft
http://blogs.msdn.com/heaths

From: Sandip Shahane
Sent: Wednesday, June 13, 2007 1:18 PM
To: Carolyn Napier; Windows Installer Support (MS Internal)
Cc: Aaron Gaskill
Subject: RE: error 1334 on installing a patch.

I am not sure how to actually control the file sequencing using WIX. Could you 
tell what do I need to do to preserve the file sequencing so that the existing 
files keep same sequence number and new ones are added at the end of the table 
in updated package.

Thanks and Regards,
Sandip

From: Carolyn Napier
Sent: Wednesday, June 13, 2007 11:25 AM
To: Sandip Shahane; Windows Installer Support (MS Internal)
Cc: Aaron Gaskill
Subject: RE: error 1334 on installing a patch.

File sequence numbers should stay the same.  WiX authoring has the ability to 
help enforce this.  Note that the sequence number is especially important when 
dealing with cabinets.  The sequence number identifies the order of the files 
in the cabinets.

According to RTM authoring, Sdk.diagrams.dll comes before Sdk.dll in the 
cabinet. However, by your updated MSI authoring, you have now made Sdk.Diagrams 
come after Sdk.dll in the cabinet.

With the patch applied, the file won't be found in the cabinet.  In particular, 
Sdk.Diagrams won't be found because it will have already been bypassed in the 
seek for Sdk.dll.

In short, sequence numbers should not change in patches unless the file is 
being updated via a full-file update (in which case, the attributes column also 
changes).

From: Sandip Shahane [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 13, 2007 10:28 AM
To: Windows Installer Support (MS Internal)
Cc: Aaron Gaskill
Subject: error 1334 on installing a patch.

Hi,
I have created a patch for MOM V3 to SP1 upgrade and while 
running the update it gives error 1334 The file cannot be installed because 
the file cannot be found in the cabinet. I applied the patch using orca to 
notice few things. The file in question had no changes in the File table other 
than the sequence number (there were number of such files.). Some search about 
this issue points me that this has something to do with file sequence numbers. 
here is how the File tables of two MSIs and MSP looks like:

Original MSI:
F_Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll.1349CC4A_5003_4833_A142_36725FE46FEA

C_Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll.1349CC4A_5003_4833_A142_36725FE46FEA
DSLDiag.dll|Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll  
822136  8.1.50727.42   0  0  136
F_Microsoft.VisualStudio.Modeling.Sdk.dll.1349CC4A_5003_4833_A142_36725FE46FEA  
  
C_Microsoft.VisualStudio.Modeling.Sdk.dll.1349CC4A_5003_4833_A142_36725FE46FEA  
  DSLSDK.dll|Microsoft.VisualStudio.Modeling.Sdk.dll   416632  
8.1.50727.42   0  0  138

Updated MSI:
F_Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll.1349CC4A_5003_4833_A142_36725FE46FEA
C_1
DSLDiag.dll|Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll  822136  
8.1.50727.42   0  0  108

Re: [WiX-users] Adding items to IIS: What am I doing wrong?

2007-06-17 Thread Mike Dimmick
Can you post a verbose log (msiexec /l*v)? Installing on Windows Server
2003, or a later version? Any further information you could provide to
narrow it down would be helpful.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee
(Volt)
Sent: 16 June 2007 00:55
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Adding items to IIS: What am I doing wrong?

 

My eventual goal is to be able to create a website through WiX, but
currently this is supposed to add two new Application Pools in IIS and it
isn't even doing that. What am I doing wrong? Any help would be great.
Thanks

--Pierson

 

code

 

?xml version=1.0 encoding=utf-8?

 

 

Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension;

  Product Id=DBAB017C-1C26-4294-9ECC-E069B2BD3501 Name=AppPool
Creator Language=1033 Version=0.1.0.0 Manufacturer=Microsoft
Corporation UpgradeCode=B63F9B80-B0B4-4955-B5D2-3B9D50B1DF54

Package Description=AppPool Creator Comments=6/15/2007
Pierson Manufacturer=Microsoft Corporation InstallerVersion=100
Compressed=yes /

UI /

Directory Id=TARGETDIR Name=SourceDir

 

Component
Guid=62CE44C2-0935-4139-9DB3-638A9B567835 Id=AppPoolComponent

  iis:WebAppPool Id=AppPool1 Name=
AppPool_1 xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; /

  iis:WebAppPool Id=AppPool2 Name=AppPool_2
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; /

/Component

 

/Directory

Feature Id=ApplicationPool Level=1

  ComponentRef Id=AppPoolComponent /

/Feature

  /Product

/Wix

 

 

 

/code

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] upgradable merge modules

2007-06-17 Thread Jerome Haltom
Sure, but if my merge modules components are merged into the package
installers components, then a major upgrade of the package, which ended
up using a different version of my merge module, would result in the
components in my old merge modules being unreferenced and removed if
those same components don't exist in the new version of the merge
module. I am just verifying if this is the case. More often than not
I've been mistaken when dealing with Windows Installer, so wanted to
confirm. =)

Also, if I change a component in my merge module, in a compatible way,
can I include the *new* version of the component (same file name) with
the same component id, in the new merge module, and have packages which
include my merge module replace the existing file with the new version
(thus upgrading the old application, without breaking it, as long as my
upgraded component is compatible).

On Sat, 2007-06-16 at 10:59 -0700, Bob Arnson wrote:
 Jerome Haltom wrote:
  As I deploy new versions of my merge module, and new third parties
  include them, I may be removing and adding new files. These would result
  in the components being removed and the ref count being decreased,
  correct? In which case, upgrading a third party from library Version A
  to library Version B, might result in the removal of some files from
  Version A.

 
 A merge module can't cause components to be removed. Only the product 
 determines that, such as by using a major upgrade to uninstall the prior 
 version (removing components) and installing the new one.
 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to prevent the Publish* standard actions from showing up.

2007-06-17 Thread Leo ...

How do you define the InstallExecuteSequence table in WIX so that the standard actions PublishFeatures, PublishProduct, RegisterProduct and RegisterUserswon'tshow up? thx!


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] upgradable merge modules

2007-06-17 Thread Bob Arnson
Jerome Haltom wrote:
 Sure, but if my merge modules components are merged into the package
 installers components, then a major upgrade of the package, which ended
 up using a different version of my merge module, would result in the
 components in my old merge modules being unreferenced and removed if
 those same components don't exist in the new version of the merge
 module. 

That's true only if you:

- Force consuming products to use only major upgrades (i.e., no patching).
- Force consuming products to use early RemoveExistingProducts 
sequencing (i.e., not the more efficient placements).

 Also, if I change a component in my merge module, in a compatible way,
 can I include the *new* version of the component (same file name) with
 the same component id, in the new merge module, and have packages which
 include my merge module replace the existing file with the new version
 (thus upgrading the old application, without breaking it, as long as my
 upgraded component is compatible).
   

You can upgrade components' resources but you can't change their 
composition (i.e., no new files).

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users