[WiX-users] Embedding another msi based installer

2006-11-07 Thread André Pönitz


I have a third party product with an msi based installer that I need to
install
alongside my own stuff.

Simply launching msiexec from a custom action does not seem to work as
msiexec will complain that another installer (presumably my own) is already 
running.

Decompiling the third party installer with dark fails (dark from v3 simply
gives
up after a while, dark from v2 produces something that fails to compile
again
even with Wix v2 (and I am trying to use v3 anyway).

The installation of the third party product should be as transparent as
possible
to the user...

Andre'
-- 
View this message in context: 
http://www.nabble.com/Embedding-another-msi-based-installer-tf2593753.html#a7234117
Sent from the wix-users mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Line edit control

2006-11-07 Thread André Pönitz


I've just started to use Wix v3 (or any .msi based installer toolkit for
that matter)
so please bear with me. 

First question: How would I add a "line edit" control to a dialog?

I have found examples for PushButtons, RadioButtons, static text etc but
nothing that looks like something that might be usable to get a string from
the user.

I am aware of the Wix schema not mentioning 'lineedit'.

When I just try to use a control type 'lineedit' nevertheless, the installer
is
build, but running it  yields an error 2885 (Failed to create control...)

Andre'

-- 
View this message in context: 
http://www.nabble.com/Line-edit-control-tf2593733.html#a7234058
Sent from the wix-users mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Property name to be used in MsiGetProperty

2006-11-07 Thread Pallavi Patrutkar








Hello,

 

I am trying to pass a property to a method in a DLL. But I
am not getting the actual property value in my DLL through MsiGetProperty.

It returns the length of parameter as zero. But still method
returns successfully.

Can you tell me exactly which string from WXS file should I pass
to this method as a 2nd parameter to get the correct property value?

 

Thank you,

 

Regards,

Pallavi.






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to re-install files..

2006-11-07 Thread Stefan Pavlik
Hi,...

The package code of your MSI should change every build. That's why
the GUID ---- exist in WiX.

You should read this:
http://windowssdk.msdn.microsoft.com/en-us/library/aa370579.aspx
and
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/changing_the_product_code.asp

Personaly I think that changing the package code (which is a must in
 general) will be enough.

You will also need to use REINTALLMODE=vomus , or any switch with
'v' (runs from source and recaches local package) to "reapir" the
installation.

Regards

Stefan

vij wrote:
> Hi,
> In our project we have daily builds. For daily buils we are NOT changing
> the product ID,package ID and upgrade ID. So when user tries to install
> latest build, it will give repair option, which will re-install the
> package.
>  
> This is working fine, as long as no new files are added to the
> MSI package. When some new files are added to the MSI package, it is not
> installing those new files which were not present in the previous
> installation MSI package.
>  
> How to re-install all the files? Any help would be highly appreciated.
>  
> Thanks
> Vij
> 


-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to re-install files..

2006-11-07 Thread vij
Hi,  In our project we have daily builds. For daily buils we are NOT changing the product ID,package ID and upgrade ID. So when user tries to install latest build, it will give repair option, which will re-install the package.      This is working fine, as long as no new files are added to the MSI package. When some new files are added to the MSI package, it is not installing those new files which were not present in the previous installation MSI package.     How to re-install all the files? Any help would be highly appreciated.     Thanks  Vij 
	




Sponsored LinkMortgage rates near historic lows: $150,000 loan as low as $579/mo. Intro-*Terms-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problem with patching

2006-11-07 Thread Ip Wing Kin John
Dear all,

I ran into a problem when I try to run the msp file. I followed the
steps in the Wix tutorial to generate a msp patch for a msi package.
If I use command line to install the patch, it works fine. However, if
I simply double click on the msp file, the "Modify" , "Repar" and
"Remove" UI comes up. I would expect it will install the patch
straight away, but it looks like I am double clicking on my original
msi package.

cheers

-- 
John

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How do I install a Win32 service that usesSvcHost.exe?

2006-11-07 Thread Wilson, Phil



Also, one of the restrictions on svchost.exe is that 
you can't name it as an authorized application to get through the Windows 
firewall, just to give you a heads up in case you might want to do that. 

Phil Wilson 

From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Mike 
DimmickSent: Tuesday, November 07, 2006 4:11 PMTo: 'Byron 
Changuion'; wix-users@lists.sourceforge.netSubject: Re: [WiX-users] 
How do I install a Win32 service that usesSvcHost.exe?

Microsoft has never documented how the shared service 
hosting through SvcHost.exe works, so it's pretty much only MS who can create 
such a service. The Type can be set to "shareProcess", but I think this is still 
meant for installing your own EXE which hosts multiple services, rather than a 
DLL which uses SvcHost.exe. Windows Installer uses the KeyPath of the component 
as the ImagePath for the service, as you've discovered.
 
Your best bet may be to find out from the Windows Installer 
team how you're meant to do this with the ServiceInstall table. It may not be 
possible.
 
-- 
Mike Dimmick


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Byron 
ChanguionSent: 07 November 2006 23:25To: 
wix-users@lists.sourceforge.netSubject: [WiX-users] How do I install 
a Win32 service that uses SvcHost.exe?


Hi,
 
I have a Win32 service that should be installed with my 
MSI.  The typical WIX entry for a service would look something 
like:
 

    
    
    
Name="MyService"
    
DisplayName="My Service Name"
    
Description="My Service Description"
    
Type="ownProcess"
    
Interactive="no"
   
 Start="auto"
    
Vital="yes"
    
ErrorControl="normal">
    

 
However, this produces an ImagePath service entry that 
references MyService.Dll, whereas I need to specify something like 
“%SystemRoot%\system32\svchost.exe -k MySvcHostGroup”.
 
Cheers,
-Byron.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How do I install a Win32 service that uses SvcHost.exe?

2006-11-07 Thread Mike Dimmick



Microsoft has never documented how the shared service 
hosting through SvcHost.exe works, so it's pretty much only MS who can create 
such a service. The Type can be set to "shareProcess", but I think this is still 
meant for installing your own EXE which hosts multiple services, rather than a 
DLL which uses SvcHost.exe. Windows Installer uses the KeyPath of the component 
as the ImagePath for the service, as you've discovered.
 
Your best bet may be to find out from the Windows Installer 
team how you're meant to do this with the ServiceInstall table. It may not be 
possible.
 
-- 
Mike Dimmick


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Byron 
ChanguionSent: 07 November 2006 23:25To: 
wix-users@lists.sourceforge.netSubject: [WiX-users] How do I install 
a Win32 service that uses SvcHost.exe?


Hi,
 
I have a Win32 service that should be installed with my 
MSI.  The typical WIX entry for a service would look something 
like:
 

    
    
    
Name="MyService"
    
DisplayName="My Service Name"
    
Description="My Service Description"
    
Type="ownProcess"
    
Interactive="no"
   
 Start="auto"
    
Vital="yes"
    
ErrorControl="normal">
    

 
However, this produces an ImagePath service entry that 
references MyService.Dll, whereas I need to specify something like 
“%SystemRoot%\system32\svchost.exe -k MySvcHostGroup”.
 
Cheers,
-Byron.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How do I install a Win32 service that uses SvcHost.exe?

2006-11-07 Thread Byron Changuion








Hi,

 

I have a Win32 service that should be installed with my MSI. 
The typical WIX entry for a service would look something like:

 



    

    

   
Name="MyService"

   
DisplayName="My Service Name"

   
Description="My Service Description"

   
Type="ownProcess"

   
Interactive="no"

  
 Start="auto"

   
Vital="yes"

   
ErrorControl="normal">

    



 

However, this produces an ImagePath service entry
that references MyService.Dll, whereas I need to specify something like “%SystemRoot%\system32\svchost.exe
-k MySvcHostGroup”.

 

Cheers,

-Byron.






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] error LGHT0204 : ICE39: PID_WORDCOUNT value in Summary Information Stream is not valid. Source image flags must be 0, 1, 2, or 3.

2006-11-07 Thread Deepa Choundappan
Hi,
 
I am using WiX to create my msi package. I just moved to building with Wix 3.0 and I hit the exception 
 
"error LGHT0204 : ICE39: PID_WORDCOUNT value in Summary Information Stream is not valid. Source image flags must be 0, 1, 2, or 3." during linking.
 
Changing the InstallPrivileges="limited" to InstallPrivileges=elevated" fixes this. But my installation really does not require elevated privileges to run. 
 
Linking with -sice:ICE39 removes the error and my install package works fine. But that is just supressing the error of course - how can I fix it?
Thanks
Deepa
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] heat website throws exception

2006-11-07 Thread Mike Dimmick
Which version of WiX are you using? What operating system is this problem
occurring on? Which version(s) of the .NET Framework do you have installed?

Technical detail: get_Count will throw a NotSupportedException if the
underlying ADSI object doesn't implement the IADsPropertyList interface. The
documentation for System.DirectoryServices.PropertyCollection.Count
indicates that the IIS provider "[does] not currently support Count, so
[...] will throw a NotSupportedException". The line:

  foreach (string propertyName in webSiteEntry.Properties.PropertyNames)

[line 93, src\ext\IIsExtension\wixext\IIsWebSiteHarvester.cs, v3.0.2211.0]

creates a PropertyCollection.KeyCollection, which derives from
PropertyCollection.ValuesCollection. This uses the Count property internally
in its enumerator implementation.

This might be a bug in WiX, if it only works on some versions of Windows.

-- 
Mike Dimmick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Grootjes, Ivo
Sent: 07 November 2006 15:25
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] heat website throws exception

Hi,

I'm trying to harvest website info using the following command:

heat website DefaultWebSite -out c:\testje2.wxs

I'm getting the error:

heat.exe : error HEAT0001 : The directory cannot report the number of
properties .

Exception Type: System.NotSupportedException

Stack Trace:
   at System.DirectoryServices.PropertyCollection.get_Count()
   at
System.DirectoryServices.PropertyCollection.ValuesEnumerator.MoveNext()
   at
Microsoft.Tools.WindowsInstallerXml.Extensions.IIsWebSiteHarvester.Harvest
WebSite(DirectoryEntry webSiteEntry)
   at
Microsoft.Tools.WindowsInstallerXml.Extensions.IIsWebSiteHarvester.Harvest
WebSite(String name)
   at
Microsoft.Tools.WindowsInstallerXml.Extensions.IIsWebSiteHarvester.Harvest
(String argument)
   at Microsoft.Tools.WindowsInstallerXml.Harvester.Harvest(String argument)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Heat.Run(String[] args)

D:\source\AFM\Client\Wta\Web>heat website DefaultWebSite -out c:\testje2.wxs


The name of my iiswebsite is DefaultWebSite when i enter a different website
name i get "the website could not be found" so heat can find the
DefaultWebSite.

My DefaultWebSite contains 6 virtual directories, 1 aspnet_client directory
and 1 _vti_pvt directory.

Is this a bug or am i doing something wrong?

TIA

Regards,

Ivo Grootjes



Disclaimer:
http://www.afm.nl/disclaimer
http://www.afm.nl/disclaimer_english/
Indien u de link niet kunt openen, neemt u dan contact op met telefoonnummer
+31 (0)20 5535200. Meer informatie vindt u op de website http://www.afm.nl.
If you are unable to access the link, please dial +31 (0)20 5535200
Additional information is available on the website http://www.afm.nl.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Merge Modules Read Main Install Property

2006-11-07 Thread Mike Dimmick



Are you distributing this merge module to anyone else who 
isn't using WiX? If not, it may be a lot easier to convert from a Module to a 
Fragment and simply link it into the main installer.
 
light can accept any number of .wixobj and .wixlib files on 
the command line. The only restriction is that you may only have one 
 or  element - all others must be 
s.
 
-- 
Mike Dimmick


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Tina 
BasingerSent: 07 November 2006 18:43To: Wix 
GroupSubject: [WiX-users] Merge Modules Read Main Install 
Property

I have a case where my merge modules need to tell if they are running in an 
upgrade, or a fresh install.  I have a property that is getting set in my 
main install to indicate that an upgrade is occurring.  I thought that I 
could then just use that property in my merge modules to condition actions to 
run during an upgrade or not.  However, whenever I build my merge module, 
the property name in my condition in my merge module always gets postfixed with 
the merge module's Package Id.  For example, I have the following custom 
action being called in my InstallExecuteSequence: 
  
NOT PATCHFOUND> Custom>
 
However, after i've compiled and linked my merge module, if i view the 
MSM using Orca, the condition 
becomes: 
NOT PATCHFOUND.4C8C0BBC_B22A_4779_BC25_143C28598F7D 
Is there any way for a merge module to use the properties defined in the 
main install?
 
Thanks!-Tina 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CheckBox question...

2006-11-07 Thread Chris Lovett
That worked, thanks.  I guess I was confused by the following warning:

C:\MQ\ndp\fx\src\xmltools\Tools\XmlNotepad\Wix\XmlNotepad.wxs(112,0): Warning 
CNDL1006: Property 'LicenceAccepted' does not contain a Value attribute and is 
not marked as Admin, Secure, or Hidden.  The Property element is being ignored.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of david adams
Sent: Tuesday, November 07, 2006 11:32 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] CheckBox question...

Chris:

Set your property to no value by default 

For an unchecked box, I believe that the Property @Value is empty.  Checking
the checkbox sets it to the value defined in the control.

David Adams
MSN MessengerID: [EMAIL PROTECTED]





>From: Cullen Waters <[EMAIL PROTECTED]>
>To: Chris Lovett <[EMAIL PROTECTED]>,"wix-users@lists.sourceforge.net"
>
>Subject: Re: [WiX-users] CheckBox question...
>Date: Tue, 7 Nov 2006 11:04:56 -0800
>MIME-Version: 1.0
>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by
>bay0-mc4-f15.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Tue, 7
>Nov 2006 11:05:23 -0800
>Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by
>sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 36D8B1309B; Tue,  7 Nov
>2006 11:05:22 -0800 (PST)
>Received: from sc8-sf-mx1-b.sourceforge.net
>([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net
>with esmtp (Exim 4.43)id 1GhWG5-00084W-2Ufor
>wix-users@lists.sourceforge.net; Tue, 07 Nov 2006 11:05:17 -0800
>Received: from mail2.microsoft.com ([131.107.115.215]
>helo=smtp.microsoft.com)by mail.sourceforge.net with esmtps
>(TLSv1:RC4-MD5:128) (Exim 4.44)id 1GhWFz-0006Cj-R2for
>wix-users@lists.sourceforge.net; Tue, 07 Nov 2006 11:05:16 -0800
>Received: from mailout5.microsoft.com (157.54.69.148)
>byTK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168)
>withMicrosoft SMTP Server id 8.0.685.15; Tue, 7 Nov 2006 11:04:58 -0800
>Received: from IGT-HUB-02.redmond.corp.microsoft.com ([157.54.69.150])
>bymailout5.microsoft.com with Microsoft SMTPSVC(6.0.3790.2786); Tue, 7
>Nov2006 11:04:58 -0800
>Received: from tk1-exhub-c102.redmond.corp.microsoft.com ([157.56.116.113])
>byIGT-HUB-02.redmond.corp.microsoft.com over TLS secured channel
>withMicrosoft SMTPSVC(6.0.3790.1830);   Tue, 7 Nov 2006 11:04:58 -0800
>Received: from NA-EXMSG-C102.redmond.corp.microsoft.com ([157.54.53.6])
>bytk1-exhub-c102.redmond.corp.microsoft.com ([157.56.116.113]) with
>mapi;Tue, 7 Nov 2006 11:04:57 -0800
>X-Message-Info: LsUYwwHHNt2tSteDIfXKnZROuncSXH5N/2+fUqd0FVk=
>Thread-Topic: [WiX-users] CheckBox question...
>Thread-Index: AccCniaLbvSLaSsLSLWUGe3AIjOMGwAAWk2g
>References:
><[EMAIL PROTECTED]>
>Accept-Language: en-US
>Content-Language: en-US
>X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US
>X-OriginalArrivalTime: 07 Nov 2006 19:04:58.0262
>(UTC)FILETIME=[9E52A360:01C7029F]
>X-Spam-Score: 1.2 (+)
>X-Spam-Report: Spam Filtering performed by sourceforge.net.See
>http://spamassassin.org/tag/ for more details.Report problems
>tohttp://sf.net/tracker/?func=add&group_id=1&atid=210.0 HTML_MESSAGE
>BODY: HTML included in message1.2 HTML_ATTR_UNIQUE BODY: HTML
>appears to have random attributes intags
>X-BeenThere: wix-users@lists.sourceforge.net
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "General discussion for Windows Installer XML
>toolset."
>List-Unsubscribe:
>,PROTECTED]>
>List-Archive:
>
>List-Post: 
>List-Help: 
>List-Subscribe:
>,PROTECTED]>
>Errors-To: [EMAIL PROTECTED]
>Return-Path: [EMAIL PROTECTED]
>
>Just a guess, but I'd try changing the CheckBoxValue="1" to a "0"
>
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Chris Lovett
>Sent: Tuesday, November 07, 2006 10:54 AM
>To: wix-users@lists.sourceforge.net
>Subject: [WiX-users] CheckBox question...
>
>I'm trying to put a check box on my license agreement dialog using the
>following:
>
>   Text="{\DlgFont8}I &accept the terms in the License
>Agreement"
>  X="5" Y="207" Width="250" Height="15"
>Property="LicenceAccepted" CheckBoxValue="1"/>
>
>Where the property is defined as :
>
>
>But the checkbox comes up pre-checked.  How do I force the checkbox to come
>up "unchecked" to start with?
>


>-
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job
>easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


>_

Re: [WiX-users] Merge Modules Read Main Install Property

2006-11-07 Thread Dana Gutride
Tina:Take a look at the IgnoreModularization tag.  You define it in the merge module wxs file.()Dana
On 11/7/06, Tina Basinger <[EMAIL PROTECTED]> wrote:
I have a case where my merge modules need to tell if they are running in an upgrade, or a fresh install.  I have a property that is getting set in my main install to indicate that an upgrade is occurring.  I thought that I could then just use that property in my merge modules to condition actions to run during an upgrade or not.  However, whenever I build my merge module, the property name in my condition in my merge module always gets postfixed with the merge module's Package Id.  For example, I have the following custom action being called in my InstallExecuteSequence:

  NOT PATCHFOUND>

Custom>
 
However, after i've compiled and linked my merge module, if i view the MSM using Orca, the condition becomes: NOT PATCHFOUND.4C8C0BBC_B22A_4779_BC25_143C28598F7D 
Is there any way for a merge module to use the properties defined in the main install?
 
Thanks!-Tina 

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___WiX-users mailing list
WiX-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wix-users

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CheckBox question...

2006-11-07 Thread david adams
Chris:

Set your property to no value by default 

For an unchecked box, I believe that the Property @Value is empty.  Checking 
the checkbox sets it to the value defined in the control.

David Adams
MSN MessengerID: [EMAIL PROTECTED]





>From: Cullen Waters <[EMAIL PROTECTED]>
>To: Chris Lovett <[EMAIL PROTECTED]>,"wix-users@lists.sourceforge.net" 
>
>Subject: Re: [WiX-users] CheckBox question...
>Date: Tue, 7 Nov 2006 11:04:56 -0800
>MIME-Version: 1.0
>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by 
>bay0-mc4-f15.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Tue, 7 
>Nov 2006 11:05:23 -0800
>Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by 
>sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 36D8B1309B; Tue,  7 Nov 
>2006 11:05:22 -0800 (PST)
>Received: from sc8-sf-mx1-b.sourceforge.net 
>([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net 
>with esmtp (Exim 4.43)id 1GhWG5-00084W-2Ufor 
>wix-users@lists.sourceforge.net; Tue, 07 Nov 2006 11:05:17 -0800
>Received: from mail2.microsoft.com ([131.107.115.215] 
>helo=smtp.microsoft.com)by mail.sourceforge.net with esmtps 
>(TLSv1:RC4-MD5:128) (Exim 4.44)id 1GhWFz-0006Cj-R2for 
>wix-users@lists.sourceforge.net; Tue, 07 Nov 2006 11:05:16 -0800
>Received: from mailout5.microsoft.com (157.54.69.148) 
>byTK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) 
>withMicrosoft SMTP Server id 8.0.685.15; Tue, 7 Nov 2006 11:04:58 -0800
>Received: from IGT-HUB-02.redmond.corp.microsoft.com ([157.54.69.150]) 
>bymailout5.microsoft.com with Microsoft SMTPSVC(6.0.3790.2786); Tue, 7 
>Nov2006 11:04:58 -0800
>Received: from tk1-exhub-c102.redmond.corp.microsoft.com ([157.56.116.113]) 
>byIGT-HUB-02.redmond.corp.microsoft.com over TLS secured channel 
>withMicrosoft SMTPSVC(6.0.3790.1830);   Tue, 7 Nov 2006 11:04:58 -0800
>Received: from NA-EXMSG-C102.redmond.corp.microsoft.com ([157.54.53.6]) 
>bytk1-exhub-c102.redmond.corp.microsoft.com ([157.56.116.113]) with 
>mapi;Tue, 7 Nov 2006 11:04:57 -0800
>X-Message-Info: LsUYwwHHNt2tSteDIfXKnZROuncSXH5N/2+fUqd0FVk=
>Thread-Topic: [WiX-users] CheckBox question...
>Thread-Index: AccCniaLbvSLaSsLSLWUGe3AIjOMGwAAWk2g
>References: 
><[EMAIL PROTECTED]>
>Accept-Language: en-US
>Content-Language: en-US
>X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US
>X-OriginalArrivalTime: 07 Nov 2006 19:04:58.0262 
>(UTC)FILETIME=[9E52A360:01C7029F]
>X-Spam-Score: 1.2 (+)
>X-Spam-Report: Spam Filtering performed by sourceforge.net.See 
>http://spamassassin.org/tag/ for more details.Report problems 
>tohttp://sf.net/tracker/?func=add&group_id=1&atid=210.0 HTML_MESSAGE
>BODY: HTML included in message1.2 HTML_ATTR_UNIQUE BODY: HTML 
>appears to have random attributes intags
>X-BeenThere: wix-users@lists.sourceforge.net
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "General discussion for Windows Installer XML 
>toolset."
>List-Unsubscribe: 
>,PROTECTED]>
>List-Archive: 
>
>List-Post: 
>List-Help: 
>List-Subscribe: 
>,PROTECTED]>
>Errors-To: [EMAIL PROTECTED]
>Return-Path: [EMAIL PROTECTED]
>
>Just a guess, but I'd try changing the CheckBoxValue="1" to a "0"
>
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf Of Chris Lovett
>Sent: Tuesday, November 07, 2006 10:54 AM
>To: wix-users@lists.sourceforge.net
>Subject: [WiX-users] CheckBox question...
>
>I'm trying to put a check box on my license agreement dialog using the 
>following:
>
>   Text="{\DlgFont8}I &accept the terms in the License 
>Agreement"
>  X="5" Y="207" Width="250" Height="15" 
>Property="LicenceAccepted" CheckBoxValue="1"/>
>
>Where the property is defined as :
>
>
>But the checkbox comes up pre-checked.  How do I force the checkbox to come 
>up "unchecked" to start with?
>


>-
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job 
>easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


>___
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users

_
Try Search Survival Kits: Fix up your home and better handle your cash with 
Live Search! 
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline


-
Using Tomcat b

Re: [WiX-users] CheckBox question...

2006-11-07 Thread Cullen Waters








Just a guess, but I’d try changing the CheckBoxValue=”1” to a “0”

 





From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Lovett
Sent: Tuesday, November 07, 2006 10:54 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] CheckBox question...





 

I’m
trying to put a check box on my license agreement dialog using the following:

 

   


 

Where
the property is defined as :

Property>

 

But
the checkbox comes up pre-checked.  How do I force the checkbox to come up
“unchecked” to start with?

 






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] CheckBox question...

2006-11-07 Thread Chris Lovett








I’m trying to put a check box on my license agreement
dialog using the following:

 

    

 

Where the property is defined as :

Property>

 

But the checkbox comes up pre-checked.  How do I force the
checkbox to come up “unchecked” to start with?

 






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Merge Modules Read Main Install Property

2006-11-07 Thread Tina Basinger
I have a case where my merge modules need to tell if they are running in an upgrade, or a fresh install.  I have a property that is getting set in my main install to indicate that an upgrade is occurring.  I thought that I could then just use that property in my merge modules to condition actions to run during an upgrade or not.  However, whenever I build my merge module, the property name in my condition in my merge module always gets postfixed with the merge module's Package Id.  For example, I have the following custom action being called in my InstallExecuteSequence:

  NOT PATCHFOUND>
Custom>
 
However, after i've compiled and linked my merge module, if i view the MSM using Orca, the condition becomes: NOT PATCHFOUND.4C8C0BBC_B22A_4779_BC25_143C28598F7D 
Is there any way for a merge module to use the properties defined in the main install?
 
Thanks!-Tina 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] preprocessor variable $(var.Build)

2006-11-07 Thread Justin Rockwood








Yep, Oliver summed it up pretty well. As far as Votive is
concerned, you can define the preprocessor variable by entering “Configuration=$(Configuration)”
on the compiler property page (not linker property page). Also, make sure to
put the parenthesis (which you missed in your example below). I think this is
just a case of incorrect syntax for you.

 

Justin

 

 





From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Foster,
Richard - PAL
Sent: Tuesday, November 07, 2006 7:34 AM
To: Friedrich, Oliver; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] preprocessor variable $(var.Build)





 

Oliver,

 

I'm still a bit unsure about where you are getting the error (I.e.
are you building the installation from the command line? Within Visual Studio
2005? Somewhere else?). Unfortunately, I also don't use Votive so the vast
majority of this reply is guesswork!

 

I suspect that the MSBuild variable "Configuration" is
being set, but that when you are seeing the error it is because this variable
is never being passed to WiX.

 

Depending on your build process, to get the information to WiX
you may need to pass it via the command line (e.g.
-dWixVariableName=$(MSBuildVariableName) ), in which case you would access it
using $(var.WixVariableName), or set an environment variable (e.g. set
SomeEnvironmentVariable=$(MSBuildVariableName) ) and access it in WiX using
$(env.SomeEnvironmentVariable).

 

It is likely that Votive is intended to do this for you (like I
said, I don't use Votive, so I don't know for certain), in which case you may
have uncovered a bug.

 

I also notice that you mention that you found a batch file setting
"var.Build" to "$(ConfigurationName)". If true, this
may not be desirable, since within WiX you may then need to reference that
variable as $(var.var.Build). Within it's scripts, WiX requires the addition of
the var prefix to indicate that you want to use a WiX variable (not
an environment variable or system setting), but you do not specify that prefix
when defining the variable.

 

Hopefully this offers at least some additional information which
may help you determine where you need to look.

 

Regards,

Richard







From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Friedrich, Oliver
Sent: Tuesday, November 07, 2006 03:37
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] preprocessor variable $(var.Build)

Well, seems like $(Configuration) is set by Votive, but inside the
WiX-code I can not access it?

 

With : 

I get the Errormessage: 

 

Error 1 Ill-formed preprocessor variable
'Configuration'.  Variables must have a prefix (like 'var.', 'env.', or
'sys.') and a name at least 1 character long. Z:\Projects\Aldi -
Intranet\EwsSetup\Features\Ews_Mmc.wxs 5 1 EwsSetup

 

Those three throw "Undefined preprocessor variable":









 





On the properties of the .wixproj in the linker tab, there I can
set userdefined variables, there I added
"Configuration=$Configuration" but even then, I can not access this
variable like above inside my WiX-code.





 





Oliver





 





 











From:
Justin Rockwood [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 07, 2006 6:58 AM
To: 'Bob Arnson'; Friedrich, Oliver
Cc: wix-users@lists.sourceforge.net; [EMAIL PROTECTED]
Subject: RE: [WiX-users] preprocessor variable $(var.Build)

The variable $(Configuration) is set by most MSBuild scripts
automatically (C#, VB, VJ#, WiX, etc.). Also, $(ConfigurationName) is usually
set as well, but I’d probably go with $(Configuration). You won’t be able to
know what the configuration is outside of MSBuild, but assuming that you’re
using C# or VB.NET, then you should already have this defined for you by the
time you call your Pre-build event.

 

If you’re using Votive (and therefore wix.targets), then you
also get $(Configuration) defined for you. I’m not sure if $(ConfigurationName)
is defined. If not, it’s a bug.

 

Justin

 





From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 06, 2006 7:28 PM
To: Friedrich, Oliver
Cc: wix-users@lists.sourceforge.net; [EMAIL PROTECTED]
Subject: Re: [WiX-users] preprocessor variable $(var.Build)





 

Friedrich, Oliver wrote: 



Alright, just found out, where this variable was set. It is set on the commandline while calling the batch-file to start the compilation of the setup.





 





The batch-file is called as "Pre-build event command
line" in VS2005. The variable "var.Build" is set to the value of
"$(ConfigurationName)". The last is homemade of VisualStudio. How can
I access this "ConfigurationName" under WiX-V3?




WiX doesn't support that as it's a Visual Studio-specific concept. Votive
might, though. JRock?



--  sig://boB http://bobs.org










* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the individual or
entity to whom it is addressed. If you have re

Re: [WiX-users] Setting property value with another property value

2006-11-07 Thread Lerudjordet, Morten Minge
Thanks again, that did it. Looked at the code and did not see a reason
for why wixca.dll from V2 would not work in my code. 

After renaming both the file id and the name of wixca.dll to CAwix.dll
everything went as planed.

So for other struggeling with using CAQuietExec this is how to do it.
Did work for me anyways. 

1. 

I set the value to 1 to not get a warning compiling with Votive (V3).

  

  

I changed both the name of the Binary ID and dll name, one can probably
just change the Id. I changed both to remind me that this is not V3 of
wixca.dll (so I can replace it when wixca.dll is included in the
binaries).

2.
Just schedule the CA either with :




Or


1

This would not have worked without Mr. Arnson showing me the way.
Thanks!


Morten

-Opprinnelig melding-
Fra: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sendt: 7. november 2006 17:05
Til: Lerudjordet, Morten Minge
Kopi: wix-users@lists.sourceforge.net
Emne: Re: [WiX-users] Setting property value with another property value

Lerudjordet, Morten Minge wrote:
> As I explained previously I have the code up and running using a CA 
> with ExeCommand(both config files are installed):
> CustomAction Id="XMLParser" BinaryKey="XmlPreprocess"
Impersonate="yes" 
>   

Yes, MSI supports running an executable from the Binary table. 
CAQuietExec does not.

> 1. Install XmlPreprocess to a directory,

Yes, that'll work.

> 2. You are saying that WixUtilExtension.dll is not the entry point for

> CAQuietExec, it is still wixca.dll. But my question is then are there 
> any changes between the V2 wixca.dll and the one in V3 source code? If

> so it should work to extract this dll from the V2 binaries?
>   

That should work. Just give it a Binary id other than "WixCA" so it
won't conflict with the v3 version.

--
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Com LocalServer32 in 8.3 format

2006-11-07 Thread Bob Arnson
Dyson, Peter wrote:
> I am currently using v3.0.1703.0 a bit old in the tooth now but have not
> had time to use any later.
>   

I'm not sure exactly when the change was made, but the current version 
uses [#] syntax. BTW, if you use WiX v3, you should consider taking 
drops more often. As v3 is still in development, schema changes still 
happen and if you wait too long, you can get hit with a lot at once. The 
WixCop tool upgrades the schema so it's not a manual job at least.

-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Setting property value with another property value

2006-11-07 Thread Bob Arnson
Lerudjordet, Morten Minge wrote:
> As I explained previously I have the code up and running using a CA with
> ExeCommand(both config files are installed):
> CustomAction Id="XMLParser" BinaryKey="XmlPreprocess" Impersonate="yes" 
>   

Yes, MSI supports running an executable from the Binary table. 
CAQuietExec does not.

> 1. Install XmlPreprocess to a directory, 

Yes, that'll work.

> 2. You are saying that WixUtilExtension.dll is not the entry point for
> CAQuietExec, it is still wixca.dll. But my question is then are there
> any changes between the V2 wixca.dll and the one in V3 source code? If
> so it should work to extract this dll from the V2 binaries?
>   

That should work. Just give it a Binary id other than "WixCA" so it 
won't conflict with the v3 version.

-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] preprocessor variable $(var.Build)

2006-11-07 Thread Foster, Richard - PAL



Oliver,
 
I'm still a bit unsure about where you are getting the 
error (I.e. are you building the installation from the command line? Within 
Visual Studio 2005? Somewhere else?). Unfortunately, I also don't use Votive so 
the vast majority of this reply is guesswork!
 
I suspect that the MSBuild variable "Configuration" is 
being set, but that when you are seeing the error it is because this variable is 
never being passed to WiX.
 
Depending on your build process, to get the information to 
WiX you may need to pass it via the command line (e.g. 
-dWixVariableName=$(MSBuildVariableName) ), in which case you would access it 
using $(var.WixVariableName), or set an environment variable (e.g. set 
SomeEnvironmentVariable=$(MSBuildVariableName) ) and access it in WiX using 
$(env.SomeEnvironmentVariable).
 
It is likely that Votive is intended to do this for you 
(like I said, I don't use Votive, so I don't know for certain), in which case 
you may have uncovered a bug.
 
I also notice that you mention that you found a batch file 
setting "var.Build" to "$(ConfigurationName)". If true, this may not be 
desirable, since within WiX you may then need to reference that variable as 
$(var.var.Build). Within it's scripts, WiX requires the addition of the var 
prefix to indicate that you want to use a WiX variable (not an 
environment variable or system setting), but you do not specify that prefix when 
defining the variable.
 
Hopefully this offers at least some additional information 
which may help you determine where you need to look.
 
Regards,
Richard



From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Friedrich, 
OliverSent: Tuesday, November 07, 2006 03:37To: 
wix-users@lists.sourceforge.netSubject: Re: [WiX-users] preprocessor 
variable $(var.Build)

Well, seems like $(Configuration) is set by Votive, but 
inside the WiX-code I can not access it?
 
With : 

I get the Errormessage: 
 
Error 1 Ill-formed preprocessor 
variable 'Configuration'.  Variables must have a prefix (like 'var.', 
'env.', or 'sys.') and a name at least 1 character long. Z:\Projects\Aldi - 
Intranet\EwsSetup\Features\Ews_Mmc.wxs 5 1 EwsSetup
 
Those three throw "Undefined preprocessor 
variable":





 
On the 
properties of the .wixproj in the linker tab, there I can set userdefined 
variables, there I added "Configuration=$Configuration" but even then, I can not 
access this variable like above inside my WiX-code.
 
Oliver
 


  
  
  From: Justin Rockwood 
  [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 
  6:58 AMTo: 'Bob Arnson'; Friedrich, OliverCc: 
  wix-users@lists.sourceforge.net; [EMAIL PROTECTED]Subject: 
  RE: [WiX-users] preprocessor variable $(var.Build)
  
  
  The 
  variable $(Configuration) is set by most MSBuild scripts automatically (C#, 
  VB, VJ#, WiX, etc.). Also, $(ConfigurationName) is usually set as well, but 
  I’d probably go with $(Configuration). You won’t be able to know what the 
  configuration is outside of MSBuild, but assuming that you’re using C# or 
  VB.NET, then you should already have this defined for you by the time you call 
  your Pre-build event.
   
  If 
  you’re using Votive (and therefore wix.targets), then you also get 
  $(Configuration) defined for you. I’m not sure if $(ConfigurationName) is 
  defined. If not, it’s a bug.
   
  Justin
   
  
  
  From: 
  Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 
  7:28 PMTo: Friedrich, OliverCc: 
  wix-users@lists.sourceforge.net; [EMAIL PROTECTED]Subject: 
  Re: [WiX-users] preprocessor variable 
  $(var.Build)
   
  Friedrich, Oliver wrote: 
  
  Alright, just found out, where this variable was set. It is set on the commandline while calling the batch-file to start the compilation of the setup.
  
   
  
  The 
  batch-file is called as "Pre-build event command line" in VS2005. The variable 
  "var.Build" is set to the value of "$(ConfigurationName)". The last is 
  homemade of VisualStudio. How can I access this "ConfigurationName" under 
  WiX-V3?
  WiX doesn't support that as it's a Visual 
  Studio-specific concept. Votive might, though. 
  JRock?--  sig://boB http://bobs.org


* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the individual or entity to whom it is addressed. If you have received this communication in error, be aware that forwarding it, copying it, or in any way disclosing its content to any other person, is strictly prohibited. Peek Traffic Corporation is neither liable for the contents, nor for the proper, complete and timely transmission of (the information contained in) this communication. If you have received this communication in error, please notify the author by replying to this e-mail immediately and delete the material from any computer.




-
Using Tomcat but need to do 

[WiX-users] heat website throws exception

2006-11-07 Thread Grootjes, Ivo
Hi,

I'm trying to harvest website info using the following command:

heat website DefaultWebSite -out c:\testje2.wxs

I'm getting the error:

heat.exe : error HEAT0001 : The directory cannot report the number of properties
.

Exception Type: System.NotSupportedException

Stack Trace:
   at System.DirectoryServices.PropertyCollection.get_Count()
   at System.DirectoryServices.PropertyCollection.ValuesEnumerator.MoveNext()
   at Microsoft.Tools.WindowsInstallerXml.Extensions.IIsWebSiteHarvester.Harvest
WebSite(DirectoryEntry webSiteEntry)
   at Microsoft.Tools.WindowsInstallerXml.Extensions.IIsWebSiteHarvester.Harvest
WebSite(String name)
   at Microsoft.Tools.WindowsInstallerXml.Extensions.IIsWebSiteHarvester.Harvest
(String argument)
   at Microsoft.Tools.WindowsInstallerXml.Harvester.Harvest(String argument)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Heat.Run(String[] args)

D:\source\AFM\Client\Wta\Web>heat website DefaultWebSite -out c:\testje2.wxs


The name of my iiswebsite is DefaultWebSite when i enter a different website 
name i get "the website could not be found" so heat can find the DefaultWebSite.

My DefaultWebSite contains 6 virtual directories, 1 aspnet_client directory and 
1 _vti_pvt directory.

Is this a bug or am i doing something wrong?

TIA

Regards,

Ivo Grootjes



Disclaimer:
http://www.afm.nl/disclaimer
http://www.afm.nl/disclaimer_english/
Indien u de link niet kunt openen, neemt u dan contact op met 
telefoonnummer +31 (0)20 5535200. Meer informatie vindt u op de 
website http://www.afm.nl.
If you are unable to access the link, please dial +31 (0)20 
5535200 
Additional information is available on the website 
http://www.afm.nl.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Com LocalServer32 in 8.3 format

2006-11-07 Thread Dyson, Peter
I am currently using v3.0.1703.0 a bit old in the tooth now but have not
had time to use any later.

Peter 

-Original Message-
From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: 07 November 2006 03:34
To: Dyson, Peter
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Com LocalServer32 in 8.3 format

Dyson, Peter wrote:
> This seems to be because of the [!MyServer.exe] generated in the msi. 
> If
>   

Which version of WiX are you using? I believe that WiX v3 was changed
some time ago to use LFNs. WiX v2 wasn't changed because it would break
patching for products already released with v2.

--
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] preprocessor variable $(var.Build)

2006-11-07 Thread Friedrich, Oliver



Well, seems like $(Configuration) is set by Votive, but 
inside the WiX-code I can not access it?
 
With : 

I get the Errormessage: 
 
Error 1 Ill-formed preprocessor 
variable 'Configuration'.  Variables must have a prefix (like 'var.', 
'env.', or 'sys.') and a name at least 1 character long. Z:\Projects\Aldi - 
Intranet\EwsSetup\Features\Ews_Mmc.wxs 5 1 EwsSetup
 
Those three throw "Undefined preprocessor 
variable":





 
On the 
properties of the .wixproj in the linker tab, there I can set userdefined 
variables, there I added "Configuration=$Configuration" but even then, I can not 
access this variable like above inside my WiX-code.
 
Oliver
 


  
  
  From: Justin Rockwood 
  [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 
  6:58 AMTo: 'Bob Arnson'; Friedrich, OliverCc: 
  wix-users@lists.sourceforge.net; [EMAIL PROTECTED]Subject: 
  RE: [WiX-users] preprocessor variable $(var.Build)
  
  
  The 
  variable $(Configuration) is set by most MSBuild scripts automatically (C#, 
  VB, VJ#, WiX, etc.). Also, $(ConfigurationName) is usually set as well, but 
  I’d probably go with $(Configuration). You won’t be able to know what the 
  configuration is outside of MSBuild, but assuming that you’re using C# or 
  VB.NET, then you should already have this defined for you by the time you call 
  your Pre-build event.
   
  If 
  you’re using Votive (and therefore wix.targets), then you also get 
  $(Configuration) defined for you. I’m not sure if $(ConfigurationName) is 
  defined. If not, it’s a bug.
   
  Justin
   
  
  
  From: 
  Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 
  7:28 PMTo: Friedrich, OliverCc: 
  wix-users@lists.sourceforge.net; [EMAIL PROTECTED]Subject: 
  Re: [WiX-users] preprocessor variable 
  $(var.Build)
   
  Friedrich, Oliver wrote: 
  
  Alright, just found out, where this variable was set. It is set on the commandline while calling the batch-file to start the compilation of the setup.
  
   
  
  The 
  batch-file is called as "Pre-build event command line" in VS2005. The variable 
  "var.Build" is set to the value of "$(ConfigurationName)". The last is 
  homemade of VisualStudio. How can I access this "ConfigurationName" under 
  WiX-V3?
  WiX doesn't support that as it's a Visual 
  Studio-specific concept. Votive might, though. 
  JRock?--  sig://boB http://bobs.org
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Setting property value with another property value

2006-11-07 Thread Lerudjordet, Morten Minge
Thank you, I started messing around with the source code and found that
QuitExec seems to be unmanaged code, and therefore was starting to think
what you confirmed. 

As I explained previously I have the code up and running using a CA with
ExeCommand(both config files are installed):
CustomAction Id="XMLParser" BinaryKey="XmlPreprocess" Impersonate="yes" 
ExeCommand="/i "[INSTALLPATH][WEBCONFIGFILE]" /s
"[FILEPATH]" /NoLogo" Return="asyncNoWait" />

  
Found the cmd window a bit distracting and wanted an alternative way.

So what I have to do is this.

1. Install XmlPreprocess to a directory, i.e. Deploy.Tools. This should
work around the problem with "CAQuietExec doesn't support running
executables stored in the Binary table". Because my CA is not executed
before all files are installed to the local machine(launched by button
at the last GUI after install is done).

2. You are saying that WixUtilExtension.dll is not the entry point for
CAQuietExec, it is still wixca.dll. But my question is then are there
any changes between the V2 wixca.dll and the one in V3 source code? If
so it should work to extract this dll from the V2 binaries?

Thanks for all the help! It's kinda a slippery slope when one does not
know the restrictions for using pre made CA's.

morten



-Opprinnelig melding-
Fra: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sendt: 7. november 2006 04:27
Til: Lerudjordet, Morten Minge
Kopi: wix-users@lists.sourceforge.net
Emne: Re: [WiX-users] Setting property value with another property value

Lerudjordet, Morten Minge wrote:
> I use [#ConfigFile] to reference the file defined  Id="ConfigFile", this should work right?
>   

Yes.

>Value =".\Deploy.Tools\XmlPreprocess.exe /i
> "[#ConfigFile]" /s "[FILEPATH]" /NoLogo" />  
>  DllEntry="CAQuietExec" Execute="immediate" Return="check"/>  Id="WixUtilExtension"
> SourceFile=".\Deploy.Tools\WixUtilExtension.dll" />
>   

Two problems:

1. XmlPreprocess.exe must be installed on the system and using a
relative directory like that is unlikely to work. CAQuietExec doesn't
support running executables stored in the Binary table.
2. WixUtilExtension.dll isn't the custom action DLL. It's a managed DLL
that contains the custom action DLL but doesn't expose it directly. At
the moment, I think you'll need to build wixca.dll from source. If you
enter a bug, I'll work on getting that included in the binaries .zip
file.

--
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users