Re: [WiX-users] How to create shortcut base on user selected feature

2008-03-14 Thread puyopuy

I found a good 
http://www.dizzymonkeydesign.com/blog/misc/adding-and-customizing-dlgs-in-wix-3/
web site  talk about this issue.  But I can never make the condition
correctly. 

I tried "ADDLOCAL=FeatureB" but it will return True
all the time even I pass-in
"ADDLOCAL=FeatureB,FeatureB"
 
Any idea?


puyopuy wrote:
> 
> Hello guys,
> 
> I want to use WIX to create a msi with 3 features Full, FeatureA,
> FeatureB.  Full will install FeatureA and FeatureB.  I want to create a
> shortcut in desktop when user selected FeatureB only (select Full or
> FeatureA won’t create this shortcut).  I tried to use
> Arguments="[ADDLOCAL]=FeatureB" in the shortcut element but still not
> perform what I want to do.  
> 
> 
> http://schemas.microsoft.com/wix/2006/wi";>
>Language="1033" Version="1.0.0.0" Manufacturer="Microsoft"
> UpgradeCode="3cc55a49-834d-424c-b405-d9089063a403">
> 
> 
> 
>   
>   
> 
>   
>  Guid="{D0C6AD7D-2CF5-4115-BC0D-AF39E2D23D51}">
>Compressed="yes" DiskId="1" Source="File\TextFile1.txt" />
> 
>  Guid="{B073761A-4A85-478b-A73D-EDA1BA760DA7}">
>Compressed="yes" DiskId="1" Source="File\TextFile2.txt" />
> 
>  Guid="{833E3DBB-E62C-44ab-9615-B26FAB911754}">
>Compressed="yes" DiskId="1" Source="File\TextFile3.txt" />
>Arguments="[ADDLOCAL]=FeatureB" Name="ServerExe" Show="normal"
> Advertise="yes" />
> 
>   
> 
>   
> 
> 
> 
>   
>Level="3">
> 
>   
>Level="3">
> 
>   
> 
> 
> 
> 
> 
>   
> 
> 
> 
> Any help is much appreciated.
> 
> Thanks
> Puyopuy
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-create-shortcut-base-on-user-selected-feature-tp16048115p16064457.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Automatic Updates

2008-03-14 Thread Ewart MacLucas
Hi, my experience with Wix 3.0 has been great - I have a simple installer
generating an MSI just how I want and feel using Wix for production quality
apps is OK on this front.I now need to test a mechanism to ensure my
customers can get automatic updates..  I envisage normal rules.. 

 

a) my app checks to see if an update is available and prompts user to
upgrade

b) the update (aka patch) app is downloaded and installed

 

I've researched options e.g. the Microsoft Application Updater Block and
various home grown solutions on www.devx and codeproject etc

- http://www.devx.com/dotnet/Article/10045

- http://msdn.microsoft.com/msdnmag/issues/03/02/BITS/default.aspx

 

I've been unable to find any evidence of ClickThrough in use anywhere or
examples/helpfiles/tutorials etc on what the current version actually does..
and so I'm not entirely sure how my plans above fits in with "ClickThrough",
if at all.  I experimented and it generates an RSS file nicely and a
sub-directory with a setup containing (I assume) all the files in the
directory I pointed to (rather than just the changes).. however I could not
get it to 'update' my existing WIX install, it created its own new cached
version.  Also, I'm not sure how the auto-update prompting side of thing is
controlled?

 

My current thinking is ClickThrough is not suitable and that I should buy or
hand-code (or reuse) a homegrown mechanism for detecting new updates &
prompting for their download, write a new wix patched install for each
update, then execute the wix patch somehow from my app (not clear on this
but I assume I have to exit my app then call the patch to install the new
one in one step)

 

What would my best option be for providing an auto-update type facility
prior to rolling out my application?  Would appreciate any advice/options.
I assume given this is very, very common there is either a third party
component I can purchase or ..?

 

Regards

Ewart

 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Do you want enlarge your lovemaker up to 2-3 inches?

2008-03-14 Thread bdegarcia
Upsize your babymaker now and here!
http://qqf.wisdomfrying.com/?prod=zl{0xvhuvColvwv1vrxufhirujh1qhw


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Help with Wix...UI to select Installation Drive.

2008-03-14 Thread ArunKumar ArcotVijayaKumar
This was my experiment with WixUI_Minimal, to add a customized dialog to
select the install drive using VolumeSelectCombo
 
 

  


  
  
  
  

LicenseAccepted = "1"
1
1
1


  
 
 
Though, Im able to compile the code, im not getting the desired effect, the
UI, doesn't show up the SelectVolumeDlg.. Am i missing something ? I
understand it is possible to customize WixUI Dialog stocks by adding
additional custom dialogs, is this wrong ?

thanks   
ArunKumar ArcotVijayaKumar 
Systems Analyst 
Publix Supermarkets, Inc. 
863 686 8754 x46533 
813 470 9642 
[EMAIL PROTECTED] 

 



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 14, 2008 1:57 PM
To: ArunKumar ArcotVijayaKumar
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Help with Wix...UI to select Installation Drive.


ArunKumar ArcotVijayaKumar wrote: 

I need some guidance in getting my Wix script, to let users select
the installation drive only. I experimented with WixUI_InstallDir, but this
one allows users to select  the complete path/directory and not just the
drive. My requirement is to give the option only to select the installation
drive [C: or D: for example], and not the path/Directory.


You can use the VolumeSelectCombo to offer a drop-down but WixUI doesn't have
support for a path-less selection.

-- 
sig://boB
http://joyofsetup.com/
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade (options?)

2008-03-14 Thread Kevin Burton
I have included the WIX code that I am using for the dialog below (with a
considerable number of sections removed). How should I modify
 ? There is a "SHOW" attribute on this element? As you
can see below I have not attributes or sub elements of this element defined,
just .

Thank you.

Kevin













dev03
[EMAIL PROTECTED]
testing
dev03
...









. . .

  

  1
  1
  1


  1
  1
  1


  1



  1








  




-Original Message-
From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 13, 2008 10:13 AM
To: Kevin Burton
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Upgrade (options?)

Kevin Burton wrote:
> Currently I have constructed a custom dialog to prompt the user for the
settings required for the installation. If this is an upgrade then I will
have saved those settings in the registry and I obviously don't want to
prompt the user/installer for those settings again. How do I bypass this
dialog on an upgrade?
>   

How are you showing this dialog? If you're using InstallUISequence, then 
you can add a condition to the Show element using any of the properties 
(i.e., "NOT PROPERTYNAME" to show the dialog if the value wasn't found). 
If you're using a control event, put the condition in the Publish element.

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




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Help with Wix...UI to select Installation Drive.

2008-03-14 Thread ArunKumar ArcotVijayaKumar
Thanks bob, Would you please point me some documentation on how to work with
VolumeSelectCombo ?
 
 
thanks   
ArunKumar ArcotVijayaKumar 
Systems Analyst 
Publix Supermarkets, Inc. 
863 686 8754 x46533 
813 470 9642 
[EMAIL PROTECTED] 
 



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 14, 2008 1:57 PM
To: ArunKumar ArcotVijayaKumar
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Help with Wix...UI to select Installation Drive.


ArunKumar ArcotVijayaKumar wrote: 

I need some guidance in getting my Wix script, to let users select
the installation drive only. I experimented with WixUI_InstallDir, but this
one allows users to select  the complete path/directory and not just the
drive. My requirement is to give the option only to select the installation
drive [C: or D: for example], and not the path/Directory.


You can use the VolumeSelectCombo to offer a drop-down but WixUI doesn't have
support for a path-less selection.

-- 
sig://boB
http://joyofsetup.com/
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to execture a Custom Action

2008-03-14 Thread Eric Latendresse
Are you saying to do this?:

 











 

 

1

1

ProductID

 

 

Then use the  like this?:

 



  

  

  



 

I must still be missing something because the DisplayLicenseDialog is
still showing as soon as the msi is executed. 

Thanks for your help. 

 

Eric 

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 14, 2008 1:00 PM
To: Eric Latendresse
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to execture a Custom Action

 

Eric Latendresse wrote: 

I am trying to execute a custom action on a specific dialog after the
ValidateProductID event. I have tried using   and
also .  InsatllUISequence executes the
TestDialog right away which is not what I need. The
InstallExecuteSequence does not seem to pass the PIDKEY value to my CA.
Can someone point me in the right direction on how I should do this
correctly? Basicly what I need to do is execute the CA after the user
has entered the key on the LicenseKeyDialog. The CA should return the
ProductID value to DisplayLicenseDialog. Attached is my .wxs. 


Use Publish/@Event="DoAction" with a Value attribute of the CA name.



-- 
sig://boB
http://joyofsetup.com/
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Doubt in Feature element Level="0"

2008-03-14 Thread Bob Arnson
shivit wrote:
>  I have a property called "TR" which I am setting it to "1" (based on
> license file) by invoking a Custom Action.
> I want to install the files in ComponentGroup1 if TR is set to "1".
>
>
>  
>   
> 
>   

See http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/.

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



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to execture a Custom Action

2008-03-14 Thread Bob Arnson

Eric Latendresse wrote:


I am trying to execute a custom action on a specific dialog after the 
ValidateProductID event. I have tried using   and 
also .  InsatllUISequence executes the 
TestDialog right away which is not what I need. The 
InstallExecuteSequence does not seem to pass the PIDKEY value to my 
CA. Can someone point me in the right direction on how I should do 
this correctly? Basicly what I need to do is execute the CA after the 
user has entered the key on the LicenseKeyDialog. The CA should return 
the ProductID value to DisplayLicenseDialog. Attached is my .wxs.




Use Publish/@Event="DoAction" with a Value attribute of the CA name.

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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Help with Wix...UI to select Installation Drive.

2008-03-14 Thread Bob Arnson

ArunKumar ArcotVijayaKumar wrote:


I need some guidance in getting my Wix script, to let users select the 
installation drive only. I experimented with WixUI_InstallDir, but 
this one allows users to select  the complete path/directory and not 
just the drive. My requirement is to give the option only to select 
the installation drive [C: or D: for example], and not the path/Directory.




You can use the VolumeSelectCombo to offer a drop-down but WixUI doesn't 
have support for a path-less selection.


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem in entering nodes to machine.config using XmlConfig of Wix

2008-03-14 Thread Bob Arnson

Abhradeep Thakurta wrote:


*ElementPath**=**"**$(var.runtimeXPath)/assemblyBinding/dependentAssembly[last()]**"*

 

The error thrown is 
 "F:\sqlce35-snapshot\private\core\tools\setup\win32sdk\sqlceproviderfactory_machi


neconfig.wxi(49) : error LGHT0204 : ICE03: Invalid format string; 
Table: XmlConf


ig, Column: ElementPath, Key(s): RemoveAssemblyIdentity"

Could you please point out exact error in this ?



ElementPath is a formatted field so you need to escape brackets -- which 
are otherwise used to resolve MSI properties at install time. For example:


ElementPath="/Root/[EMAIL PROTECTED]'foo'[\]]/GrandChild"

See "Formatted" in the MSI SDK for details on escaping formatted fields.

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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Silent Mode installation without command line option...

2008-03-14 Thread Bob Arnson
V K Gangwar wrote:
> Is there any way to install MSI in silent mode without using command 
> line option..
> msiexec /q .msi

Yes, just don't include UI; MSI will provide the basic wizard-less UI.

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



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to set Title in Summary Information Stream

2008-03-14 Thread Bob Arnson
fgc wrote:
> I'm using WiX 2.0.5325.0 and have the following question: Is it possible to
> set the Title attribute in the msi Summary Information Stream? So far I have
> not found a way to do this. It works fine with the Subject, Author, Keywords
> and Comments. But when I open the summary information of a msi/msm created
> with WiX 2.0.5325.0 Title is always set to "Installation Database".
> The  tag does not seem to offer this...
>   

It's not configurable because the MSI doc says it should have a 
particular string.

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



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How do I force a uninstall...

2008-03-14 Thread Wilson, Phil
The short answer is that a major upgrade (that removes an older product) 
requires you to change ProductCode, keep UpgradeCode the same, and make sure 
the AllUsers setting matches the currently installed product.

Phil Wilson

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RICHES Ollie
Sent: Friday, March 14, 2008 4:48 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How do I force a uninstall...

I have read the documentation about using 'RemoveExistingProducts' and I can't 
get the functionality I require - I'm receiving the following message in the 
log file during install

'MSI (s) (24:D8) [11:39:42:658]: Skipping RemoveExistingProducts action: 
current configuration is maintenance mode or an uninstall'


Obviously I'm try to uninstall before installing a new version - this new 
version only has changes is in the contents of the build, the product id's and 
version numbers have not changed. I'm trying to avoid having to a manual 
uninstall and then install whilst we are developing our product.

is this possible?

Ollie Riches
Hermes Pensions Management Ltd
Lloyds Chambers,
1 Portsoken St,
London,
E1 8HZ.
Tel: 020 7702 6140
E-Mail: [EMAIL PROTECTED] 


**
Hermes Pensions Management Limited
Registered in England No. 1661776, 1 Portsoken Street, London E1 8HZ

*** Please read the Hermes email disclaimer at 
http://www.hermes.co.uk/email_terms.htm before acting on this email or opening 
any attachment ***

The contents of this email are confidential.  If you have received this message 
in error, please delete it immediately and contact the sender directly or the 
Hermes IT Helpdesk on +44(0)20 7680 2117.  Any reliance on, use, disclosure, 
dissemination, distribution or copying of this email is unauthorised and 
strictly prohibited.

This message has been checked for viruses but the recipient is strongly advised 
to rescan the message before opening any attachments or attached executable 
files.  Hermes do not accept any liability for any damage sustained as a result 
of a virus introduced by this email or any attachment.

**

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How do I force a uninstall...

2008-03-14 Thread Alexander Shevchuk
"... this new version only has changes is in the contents of the build, the 
product id's and version numbers have not changed ..."

Hi Ollie,

RemoveExistingProducts does not work because it is supposed to work during 
Major Upgrade (http://msdn2.microsoft.com/en-us/library/aa369786(VS.85).aspx).  
Major upgrades *requires* changes in:

-  ProductCode (Product/@Id)

-  PackageCode (Package/@Id)

-  Product Version (Product/Version)

More on major upgrade: 
http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-major-upgrade.aspx

Regards,
Alex


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RICHES Ollie
Sent: Friday, March 14, 2008 4:48 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How do I force a uninstall...

I have read the documentation about using 'RemoveExistingProducts' and I can't 
get the functionality I require - I'm receiving the following message in the 
log file during install

'MSI (s) (24:D8) [11:39:42:658]: Skipping RemoveExistingProducts action: 
current configuration is maintenance mode or an uninstall'


Obviously I'm try to uninstall before installing a new version - this new 
version only has changes is in the contents of the build, the product id's and 
version numbers have not changed. I'm trying to avoid having to a manual 
uninstall and then install whilst we are developing our product.

is this possible?

Ollie Riches
Hermes Pensions Management Ltd
Lloyds Chambers,
1 Portsoken St,
London,
E1 8HZ.
Tel: 020 7702 6140
E-Mail: [EMAIL PROTECTED] 


**
Hermes Pensions Management Limited
Registered in England No. 1661776, 1 Portsoken Street, London E1 8HZ

*** Please read the Hermes email disclaimer at 
http://www.hermes.co.uk/email_terms.htm before acting on this email or opening 
any attachment ***

The contents of this email are confidential.  If you have received this message 
in error, please delete it immediately and contact the sender directly or the 
Hermes IT Helpdesk on +44(0)20 7680 2117.  Any reliance on, use, disclosure, 
dissemination, distribution or copying of this email is unauthorised and 
strictly prohibited.

This message has been checked for viruses but the recipient is strongly advised 
to rescan the message before opening any attachments or attached executable 
files.  Hermes do not accept any liability for any damage sustained as a result 
of a virus introduced by this email or any attachment.

**

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to set Title in Summary Information Stream

2008-03-14 Thread Alexander Shevchuk
If you have Platform SDK installed (specifically, Windows Installer SDK) 
(http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en),
 in the Bin folder there is MsiInfo.exe file.  This tool allows setting Summary 
Info properties. To set the Title property:
msiinfo MyMsi.msi /T "My personal Title"




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dominik Guder
Sent: Friday, March 14, 2008 4:24 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to set Title in Summary Information Stream


Hi,

as Heath stated it's hardcoded. :(

But MS provided a vbs script (I couldn't find the link anymore)
We are using it on regular basis until we switch to wix, since the msi file
properties could not be set easily with wise installer in an automated
build.

See below

hth Dominik

' Windows Installer utility to manage the summary information stream
' For use with Windows Scripting Host, CScript.exe or WScript.exe
' Copyright (c) 1999, Microsoft Corporation
' Demonstrates the use of the database summary information methods

Option Explicit

Const msiOpenDatabaseModeReadOnly = 0
Const msiOpenDatabaseModeTransact = 1
Const msiOpenDatabaseModeCreate = 3

Dim propList(19, 1)
propList( 1,0) = "Codepage" :   propList( 1,1) = "ANSI codepage of text
strings in summary information only"
propList( 2,0) = "Title" :  propList( 2,1) = "Package type, 
e.g.
Installation Database"
propList( 3,0) = "Subject" :propList( 3,1) = "Product full name or
description"
propList( 4,0) = "Author" : propList( 4,1) = "Creator, typically 
vendor
name"
propList( 5,0) = "Keywords" :   propList( 5,1) = "List of keywords for 
use
by file browsers"
propList( 6,0) = "Comments" :   propList( 6,1) = "Description of 
purpose or
use of package"
propList( 7,0) = "Template" :   propList( 7,1) = "Target system:
Platform(s);Language(s)"
propList( 8,0) = "LastAuthor" : propList( 8,1) = "Used for transforms 
only:
New target: Platform(s);Language(s)"
propList( 9,0) = "Revision" :   propList( 9,1) = "Package code GUID, for
transforms contains old and new info"
propList(11,0) = "Printed" :propList(11,1) = "Date and time of
installation image, same as Created if CD"
propList(12,0) = "Created" :propList(12,1) = "Date and time of 
package
creation"
propList(13,0) = "Saved" :  propList(13,1) = "Date and time 
of last
package modification"
propList(14,0) = "Pages" :  propList(14,1) = "Minimum 
Windows Installer
version required: Major * 100 + Minor"
propList(15,0) = "Words" :  propList(15,1) = "Source flags: 
1=short names,
2=compressed, 4=network image"
propList(16,0) = "Characters" : propList(16,1) = "Used for transforms 
only:
validation and error flags"
propList(18,0) = "Application": propList(18,1) = "Application associated
with file, ""Windows Installer"" for MSI"
propList(19,0) = "Security" :   propList(19,1) = "0=Read/write 
1=Readonly
recommended 2=Readonly enforced"

Dim iArg, iProp, property, value, message
Dim argCount:argCount = Wscript.Arguments.Count
If argCount > 0 Then If InStr(1, Wscript.Arguments(0), "?", 
vbTextCompare)
> 0 Then argCount = 0
If (argCount = 0) Then
message = "Windows Installer utility to manage summary 
information stream"
&_
vbNewLine & " 1st argument is the path to the storage file 
(installer
package)" &_
vbNewLine & " If no other arguments are supplied, summary 
properties will
be listed" &_
vbNewLine & " Subsequent arguments are property=value pairs to 
be updated"
&_
vbNewLine & " Either the numeric or the names below may be used 
for the
property" &_
vbNewLine & " Date and time fields use current locale format, 
or ""Now""
or ""Date""" &_
vbNewLine & " Some properties have specific meaning for 
installer
packages"
For iProp = 1 To UBound(propList)
property = propList(iProp, 0)
If Not IsEmpty(property) Then
message = message & vbNewLine & Right(" " & iProp, 2) & 
" " & property &
" - " & propLIst(iProp, 1)
End If
Next
Wscript.Echo message
Wscript.Quit 1
End If

' Connect to Windows Installer object
On Error Resume Next
Dim installer : Set installer = Nothing
Set installer = Wscript.CreateObject("WindowsInstaller.Installer") : If
CheckError("MSI.DLL not registered") Then Wscript.Quit 2

' Evaluate command-line arguments and open summary information
Dim cUpdate:cUpdate = 0 : If argCount > 1 Then cUpdate = 20
Dim sumInfo : Set sumInfo =
installer.SummaryInformation(Wscript.Arguments(0), cUpdate) : If
CheckError(Emp

Re: [WiX-users] How do I force a uninstall...

2008-03-14 Thread Calin Iaru
Hi Riches,

I ran into the same scenario while developing an installer. From an 
installation point of view, this should never happen on a customer's machine 
because the customers install MSIs that are different if versions are 
different. From a design point of view, different installer packages should not 
have the same package version. But this can occur quite often during 
development and the way I chose to fix it was to change the ProductCode for 
each build and then detect if the upgrade will have the same version or a 
greater version - in that case the upgrade would fail.

Best regards,
Calin




From: RICHES Ollie 
Sent: Friday, March 14, 2008 12:48 PM
To: wix-users@lists.sourceforge.net 
Subject: [WiX-users] How do I force a uninstall...


I have read the documentation about using 'RemoveExistingProducts' and I can't 
get the functionality I require - I'm receiving the following message in the 
log file during install

 

'MSI (s) (24:D8) [11:39:42:658]: Skipping RemoveExistingProducts action: 
current configuration is maintenance mode or an uninstall'

 

 

Obviously I'm try to uninstall before installing a new version - this new 
version only has changes is in the contents of the build, the product id's and 
version numbers have not changed. I'm trying to avoid having to a manual 
uninstall and then install whilst we are developing our product. 

 

is this possible?

 

Ollie Riches

Hermes Pensions Management Ltd 
Lloyds Chambers,
1 Portsoken St, 
London,
E1 8HZ.

Tel: 020 7702 6140 
E-Mail: [EMAIL PROTECTED] 

 

**
Hermes Pensions Management Limited 
Registered in England No. 1661776, 1 Portsoken Street, London E1 8HZ

*** Please read the Hermes email disclaimer at 
http://www.hermes.co.uk/email_terms.htm before acting on this email or opening 
any attachment ***

The contents of this email are confidential.  If you have received this message 
in error, please delete it immediately and contact the sender directly or the 
Hermes IT Helpdesk on +44(0)20 7680 2117.  Any reliance on, use, disclosure, 
dissemination, distribution or copying of this email is unauthorised and 
strictly prohibited.

This message has been checked for viruses but the recipient is strongly advised 
to rescan the message before opening any attachments or attached executable 
files.  Hermes do not accept any liability for any damage sustained as a result 
of a virus introduced by this email or any attachment.

**


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__






-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ 





___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Windows Auth not enabled on my Website when the Default Website has Windows Auth Dis

2008-03-14 Thread david adams

IIS 6 & above allows you to install to a separate website which would have your 
unique settings.David Adams, MCSD MSN MessengerID: [EMAIL PROTECTED]: 
http://www.swamidavesays.com> Date: Fri, 14 Mar 2008 07:54:07 -0700> From: 
[EMAIL PROTECTED]> To: wix-users@lists.sourceforge.net> Subject: [WiX-users] 
Windows Auth not enabled on my Website when the Default Website has Windows 
Auth Disabled> > > I posted this a bit ago, but have not gotten any responses.> 
> We create a Web App that needs WindowsAuthentication to be Enabled.> I've 
found that if the Default Web Site has WindowsAuthentication disabled,> then 
even if I specify WindowsAuthentication="yes" in my WebDirProperties,> it will 
not apply it as I expect (XP and Win2K3). > > This is what I have:> > 
 
Isolation="high" Name="MySite"> 
xmlns="http://schemas.microsoft.com/wix/IIsExtension"; />> >  AnonymousAccess="yes" Index="no" 
DefaultDocuments="default.htm"> LogVisits="yes" Read="yes" Script="yes" 
Execute="yes"> xmlns="http://schemas.microsoft.com/wix/IIsExtension"/>> > Does 
anyone know a workaround for this?> > Thank you,> Joe B> -- > View this message 
in context: 
http://www.nabble.com/Windows-Auth-not-enabled-on-my-Website-when-the-Default-Website-has-Windows-Auth-Disabled-tp16048162p16048162.html>
 Sent from the wix-users mailing list archive at Nabble.com.> > > 
-> This 
SF.net email is sponsored by: Microsoft> Defy all challenges. Microsoft(R) 
Visual Studio 2008.> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/> 
___> WiX-users mailing list> 
WiX-users@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/wix-users
_
Do more with your photos with Windows Live Photo Gallery.
http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_photos_022008-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Windows Auth not enabled on my Website when the Default Website has Windows Auth Disabled

2008-03-14 Thread Joe Bowers

I posted this a bit ago, but have not gotten any responses.

We create a Web App that needs WindowsAuthentication to be Enabled.
I've found that if the Default Web Site has WindowsAuthentication disabled,
then even if I specify WindowsAuthentication="yes" in my WebDirProperties,
it will not apply it as I expect (XP and Win2K3). 

This is what I have:

http://schemas.microsoft.com/wix/IIsExtension"; />

http://schemas.microsoft.com/wix/IIsExtension"/>

Does anyone know a workaround for this?

Thank you,
Joe B
-- 
View this message in context: 
http://www.nabble.com/Windows-Auth-not-enabled-on-my-Website-when-the-Default-Website-has-Windows-Auth-Disabled-tp16048162p16048162.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to execture a Custom Action

2008-03-14 Thread Eric Latendresse
I am trying to execute a custom action on a specific dialog after the
ValidateProductID event. I have tried using   and
also .  InsatllUISequence executes the
TestDialog right away which is not what I need. The
InstallExecuteSequence does not seem to pass the PIDKEY value to my CA.
Can someone point me in the right direction on how I should do this
correctly? Basicly what I need to do is execute the CA after the user
has entered the key on the LicenseKeyDialog. The CA should return the
ProductID value to DisplayLicenseDialog. Attached is my .wxs. 

 

Thanks

 

Eric Latendresse

 



SuiteSetup.wxs
Description: SuiteSetup.wxs
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How do I force a uninstall...

2008-03-14 Thread RICHES Ollie
I have read the documentation about using 'RemoveExistingProducts' and I
can't get the functionality I require - I'm receiving the following
message in the log file during install

 

'MSI (s) (24:D8) [11:39:42:658]: Skipping RemoveExistingProducts action:
current configuration is maintenance mode or an uninstall'

 

 

Obviously I'm try to uninstall before installing a new version - this
new version only has changes is in the contents of the build, the
product id's and version numbers have not changed. I'm trying to avoid
having to a manual uninstall and then install whilst we are developing
our product. 

 

is this possible?

 

Ollie Riches

Hermes Pensions Management Ltd 
Lloyds Chambers,
1 Portsoken St, 
London,
E1 8HZ.

Tel: 020 7702 6140 
E-Mail: [EMAIL PROTECTED]  

 


**
Hermes Pensions Management Limited 
Registered in England No. 1661776, 1 Portsoken Street, London E1 8HZ

*** Please read the Hermes email disclaimer at 
http://www.hermes.co.uk/email_terms.htm before acting on this email or opening 
any attachment ***

The contents of this email are confidential.  If you have received this message 
in error, please delete it immediately and contact the sender directly or the 
Hermes IT Helpdesk on +44(0)20 7680 2117.  Any reliance on, use, disclosure, 
dissemination, distribution or copying of this email is unauthorised and 
strictly prohibited.

This message has been checked for viruses but the recipient is strongly advised 
to rescan the message before opening any attachments or attached executable 
files.  Hermes do not accept any liability for any damage sustained as a result 
of a virus introduced by this email or any attachment.
**

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to set Title in Summary Information Stream

2008-03-14 Thread Dominik Guder

Hi,

as Heath stated it's hardcoded. :(

But MS provided a vbs script (I couldn't find the link anymore)
We are using it on regular basis until we switch to wix, since the msi file
properties could not be set easily with wise installer in an automated
build.

See below

hth Dominik

' Windows Installer utility to manage the summary information stream
' For use with Windows Scripting Host, CScript.exe or WScript.exe
' Copyright (c) 1999, Microsoft Corporation
' Demonstrates the use of the database summary information methods

Option Explicit

Const msiOpenDatabaseModeReadOnly = 0
Const msiOpenDatabaseModeTransact = 1
Const msiOpenDatabaseModeCreate = 3

Dim propList(19, 1)
propList( 1,0) = "Codepage" :   propList( 1,1) = "ANSI codepage of text
strings in summary information only"
propList( 2,0) = "Title" :  propList( 2,1) = "Package type, 
e.g.
Installation Database"
propList( 3,0) = "Subject" :propList( 3,1) = "Product full name or
description"
propList( 4,0) = "Author" : propList( 4,1) = "Creator, typically 
vendor
name"
propList( 5,0) = "Keywords" :   propList( 5,1) = "List of keywords for 
use
by file browsers"
propList( 6,0) = "Comments" :   propList( 6,1) = "Description of 
purpose or
use of package"
propList( 7,0) = "Template" :   propList( 7,1) = "Target system:
Platform(s);Language(s)"
propList( 8,0) = "LastAuthor" : propList( 8,1) = "Used for transforms 
only:
New target: Platform(s);Language(s)"
propList( 9,0) = "Revision" :   propList( 9,1) = "Package code GUID, for
transforms contains old and new info"
propList(11,0) = "Printed" :propList(11,1) = "Date and time of
installation image, same as Created if CD"
propList(12,0) = "Created" :propList(12,1) = "Date and time of 
package
creation"
propList(13,0) = "Saved" :  propList(13,1) = "Date and time 
of last
package modification"
propList(14,0) = "Pages" :  propList(14,1) = "Minimum 
Windows Installer
version required: Major * 100 + Minor"
propList(15,0) = "Words" :  propList(15,1) = "Source flags: 
1=short names,
2=compressed, 4=network image"
propList(16,0) = "Characters" : propList(16,1) = "Used for transforms 
only:
validation and error flags"
propList(18,0) = "Application": propList(18,1) = "Application associated
with file, ""Windows Installer"" for MSI"
propList(19,0) = "Security" :   propList(19,1) = "0=Read/write 
1=Readonly
recommended 2=Readonly enforced"

Dim iArg, iProp, property, value, message
Dim argCount:argCount = Wscript.Arguments.Count
If argCount > 0 Then If InStr(1, Wscript.Arguments(0), "?", 
vbTextCompare)
> 0 Then argCount = 0
If (argCount = 0) Then
message = "Windows Installer utility to manage summary 
information stream"
&_
vbNewLine & " 1st argument is the path to the storage file 
(installer
package)" &_
vbNewLine & " If no other arguments are supplied, summary 
properties will
be listed" &_
vbNewLine & " Subsequent arguments are property=value pairs to 
be updated"
&_
vbNewLine & " Either the numeric or the names below may be used 
for the
property" &_
vbNewLine & " Date and time fields use current locale format, 
or ""Now""
or ""Date""" &_
vbNewLine & " Some properties have specific meaning for 
installer
packages"
For iProp = 1 To UBound(propList)
property = propList(iProp, 0)
If Not IsEmpty(property) Then
message = message & vbNewLine & Right(" " & iProp, 2) & 
" " & property &
" - " & propLIst(iProp, 1)
End If
Next
Wscript.Echo message
Wscript.Quit 1
End If

' Connect to Windows Installer object
On Error Resume Next
Dim installer : Set installer = Nothing
Set installer = Wscript.CreateObject("WindowsInstaller.Installer") : If
CheckError("MSI.DLL not registered") Then Wscript.Quit 2

' Evaluate command-line arguments and open summary information
Dim cUpdate:cUpdate = 0 : If argCount > 1 Then cUpdate = 20
Dim sumInfo : Set sumInfo =
installer.SummaryInformation(Wscript.Arguments(0), cUpdate) : If
CheckError(Empty) Then Wscript.Quit 2

' If only package name supplied, then list all properties in summary
information stream
If argCount = 1 Then
For iProp = 1 to UBound(propList)
value = sumInfo.Property(iProp) : CheckError(Empty)
If Not IsEmpty(value) Then message = message & vbNewLine & 
Right(" " &
iProp, 2) & " " & propList(iProp, 0) & " = " & value
Next
Wscript.Echo message
Wscript.Quit 0
End If

' Process property settings, combining arguments if equal sign has 
spaces
b

Re: [WiX-users] adding "WixUIExtension" produces "Error HRESULTE_FAIL has been returned from a call to a COM component." when reopening solution

2008-03-14 Thread RAYMENT Tim
Command line builds still work, so it's specific to Visual Studio.  I've
submitted a bug on this.

 

Regards,

 

Tim

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: 13 March 2008 15:19
To: RAYMENT Tim
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] adding "WixUIExtension" produces "Error HRESULT
E_FAIL has been returned from a call to a COM component." when reopening
solution

 

RAYMENT Tim wrote: 

I've just installed the latest wix3.msi on XP SP2 with VS2008 rtm and am
getting the same error on attempting to open a solution containing a WiX
project.  The project is then marked as unavailable in the IDE.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
O'Brien
Sent: 13 March 2008 04:25
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] adding "WixUIExtension" produces "Error HRESULT
E_FAIL has been returned from a call to a COM component." when reopening
solution

 

After adding the following entry to my wix setup project using the
votive vs08 project extensions support everything works fine.

  



  C:\Program Files (x86)\Windows Installer XML
v3\bin\WixUIExtension.dll



  

 

 

Later when I close and try to reopen the project I get the following
error which I can only resolve by removing the above entry

"Error HRESULT E_FAIL has been returned from a call to a COM component."


Can either of you build your projects from the command line or is this
specific to use inside Visual Studio? In either case, please enter a bug
so the folks working on Votive have the details of the problem.



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



+++ Virus-scanned by MailControl for Oxford Instruments +++ 



___ThThis
 e-mail is confidential and is for the addressee only.  Please refer to 
www.oxinst.com/email-statement for regulatory information.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Doubt in Feature element Level="0"

2008-03-14 Thread shivit

Hi all
 I have a property called "TR" which I am setting it to "1" (based on
license file) by invoking a Custom Action.
I want to install the files in ComponentGroup1 if TR is set to "1".

   
 
  


But the above code is not working. The files are not getting installed at
Target Location. :confused:
Am I making a mistake with syntax in line Condition element? Please help me. 
-- 
View this message in context: 
http://www.nabble.com/Doubt-in-Feature-element-Level%3D%220%22-tp16047304p16047304.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users