[WiX-users] Wixz C# Custom Action Project

2011-08-30 Thread Lough, Norman
Is it possible to access any session data from a Wix C# Custom Action
project?

 

I have the following:

 

Binary Id=MyCustomActions
SourceFile=C:\DEV\Temp\CustomActions\bin\Debug\CustomActions.CA.dll/

 

CustomAction Id=CustomInstallDir BinaryKey=MyCustomActions
DllEntry=CustomAction1 Execute=deferred/CustomAction

CustomAction Id=SetCustomInstallDir Property=CustomInstallDir
Value=[INSTALLDIR] Execute=immediate/

 

 

InstallExecuteSequence

  RemoveExistingProducts Before=InstallInitialize /

  Custom Action=SetCustomInstallDir After=InstallInitializeNot
Installed/Custom

  Custom Action=CustomInstallDir After=InstallInitializeNot
Installed/Custom

 !--Custom Action=SAMPLETEXT Before=ProcessComponentsNot
Installed/Custom--

/InstallExecuteSequence

 

 

When I look in the log file the CustomInstallDir is set as expected but
I'm unable to see any session data (the Key count for the
Session.CustomActionData is zero and if I try to do something like

 

session.Log(session.GetProductProperty(ProductCode));

session.Log(session.GetProductProperty(CustomActionData));

session.Log(session.GetProductProperty(UserSID));

 

There is never anything there? All I really need to know is the install
directory (you cannot put values in the CustomAction with the DllEntry
attribute set).

 

Any help would be greatly appreciated.

 

 

Norman Lough Developer | Software Development

GEO-Information Services

 

Astrium Services

Northumbria House | Regent Centre | Gosforth NE3 3PX |  England

Tel +44 (0)191 213 | Fax +44 (0)191 213 0526

norman.lo...@infoterra-global.com | www.infoterra.co.uk

 

 Spot Image  Infoterra have teamed up. The GEO-Information Services
division of Astrium brings a consolidated portfolio of services 
products to customers worldwide.

 

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] TARGETDIR

2009-10-28 Thread Lough, Norman
Directory Id=TARGETDIR Name=SourceDir

  Directory Id=INETPUB Name=Inetpub

Directory Id=WEBDIR Name=wwwroot

  Directory Id=Web1Dir Name=Web1 /

  Directory Id=Web2Dir Name=Web2 /

  Directory Id=Web3Dir Name=Web3 /

/Directory

  /Directory

  Directory Id=ProgramFilesFolder Name=PFiles

Directory Id=INSTALLDIR Name=CompanyName

  Directory Id=ProgApp1Dir Name=ProgApp1 /

  Directory Id=ProgApp2Dir Name=ProgApp2 /

/Directory

  /Directory

/Directory

 

 

I've used the above folder structure  - the installer was used and it
appears that on one particular machine web directories appeared under
the D drive and the progApp directories appeared under the C drive.
Having looked into it I found the following on the web at
http://blogs.msdn.com/heaths/archive/2007/07/12/installing-to-targetdir.
aspx

 

When TARGETDIR is not set, however, Windows Installer sets TARGETDIR to
ROOTDRIVE http://msdn2.microsoft.com/library/aa371372.aspx , which is
set to fixed drive with the most free space available. This may not be
the drive where other files are installed, likely resulting in incorrect
application behavior

 

I simply wanted to install both (INETPUB and Program Files) under the
default drive for the machine. Any suggestions?

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Wix variables when building with Microsoft.Build.BuildEngine

2009-06-08 Thread Lough, Norman
Just to add to the previous mail, the following line is also in the
project file

 

WixVariablesWixUILicenseRtf=Branding\Imass FiReControl Eula.rtf;
WixUIBannerBmp=Branding\Imass Infoterra Logo 493x58 Right
Align.bmp/WixVariables

 

 

 

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] wix and xsd

2009-03-18 Thread Lough, Norman
I'm currently working on a project to automate the creation of wix
files. I ran xsd on the wix.xsd to create a wix.cs file. Most of it
seems to be working as expected except for the use of  enums. In
particular the YesNoType:

 

 

In the wix.xsd file:

xs:simpleType name=YesNoType

xs:annotationxs:documentationValues of this type will either
be yes or no./xs:documentation/xs:annotation

xs:restriction base='xs:NMTOKEN'

xs:enumeration value=no/

xs:enumeration value=yes/

/xs:restriction

/xs:simpleType

 

In the cs file:

/// remarks/

[System.CodeDom.Compiler.GeneratedCodeAttribute(xsd, 2.0.50727.42)]

[System.SerializableAttribute()]

[System.Xml.Serialization.XmlTypeAttribute(Namespace=http://schemas.mic
rosoft.com/wix/2006/wi)]

public enum YesNoType {



/// remarks/

no,



/// remarks/

yes,

}

 

I'm able to create the type and set the value though when serializing
the enum never shows. For example IncludeMinimium=yes would be
omitted, when writing out UpgradeVersion. Someone suggested adding
use=required to your xs:attribute or xs:element definition 

 

xs:simpleType name=YesNoType use=required

xs:annotationxs:documentationValues of this type will either
be yes or no./xs:documentation/xs:annotation

xs:restriction base='xs:NMTOKEN'

xs:enumeration value=no/

xs:enumeration value=yes/

/xs:restriction

/xs:simpleType

 

 

though if I try this I get:

 

Schema validation warning: The
'http://schemas.microsoft.com/wix/2006/wi:attribu

te' element is not supported in this context. Line 9628, position 2.

Error: Schema c:\program files\microsoft visual studio 8\vc\wix.xsd
could not be validated

 

I've also seen examples like the following:

 

   attribute name='required' use='optional' default='true'
simpleType
 restriction base='string'
  enumeration value='true'/
  enumeration value='false'/
 /restriction
/simpleType
   /attribute

 

Where the use= would be presumably be changed to required. This format
also failed.

 

Any ideas?

 

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] wix and xsd

2009-03-18 Thread Lough, Norman
Problem solved(?)

 

Wherever YesNoType 'TypeName'  is used (EmbedCab for inst.) there is a
corresponding 'TypeNameSpecified' bool - as long as I comment out the
bool type it works - dunno why this should be the case - maybe the
serialization process is getting the two confused and is adopting the
XmlIgnoreAttribute?

 

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] xsd and wix

2009-03-11 Thread Lough, Norman
Has anyone else ran xsd on wix.xsd to create a cs file? I'm trying to
automate the creation of my wix files but now need to add support for
iis. In a manually created file I included:

 

Xmlns:iis = http://schemas.microsoft.com/wix/IIsExtension; - to try and
replicate this I attempted to use line 8 but you can't seemingly have a
duplicate XmlRootAttribute.

 

If I change the namespace in 6 to
http://schemas.microsoft.com/wix/2006/wi, abc for example this shows I
could maybe format a string to include the IisExtension part? Not sure
if this an appropriate approach however.

 

I realise this is possibly more of a serialization issue rather than wix
however I thought that if any forum would have some idea about this then
it would be here.

 

/// remarks/

1.  [System.CodeDom.Compiler.GeneratedCodeAttribute(xsd,
2.0.50727.42)]
2.  [System.SerializableAttribute()]
3.  [System.Diagnostics.DebuggerStepThroughAttribute()]
4.  [System.ComponentModel.DesignerCategoryAttribute(code)]
5.  [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true,
Namespace=http://schemas.microsoft.com/wix/2006/wi;)]
6.   [System.Xml.Serialization.XmlRootAttribute(Namespace =
http://schemas.microsoft.com/wix/2006/wi;, IsNullable = false)]
7.  //[System.Xml.Serialization.XmlRootAttribute(Namespace =
http://schemas.microsoft.com/wix/IIsExtension;, IsNullable = false)]

 

Any help would be gratefully received. Thanks

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] xsd and wix

2009-03-11 Thread Lough, Norman
Paragraph 2 should of course have referred to line 7. Apologies

 

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] xsd and wix

2009-03-11 Thread Lough, Norman
Problem sorted. If anyone else is doing this sort of thing:

 

XmlSerializer writer = new XmlSerializer(typeof(Wix));

XmlSerializerNamespaces ns = new XmlSerializerNamespaces();

ns.Add(iis,
http://schemas.microsoft.com/wix/IIsExtension;);

writer.Serialize(stream, wix, ns);

 

Easy when you know how!

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Upgrades

2009-03-09 Thread Lough, Norman
The code below clears out previous versions for me.

 

Product Id=23cc363c-b9d2-451b-a349-38b91bd487c6

   Name=Common 1.0.4.0

   Language=1033 Version=1.0.4.0

   Manufacturer=Company Name

   UpgradeCode=9d32a378-0b1e-492a-9a40-dd80deb8ab55

 

...

 

Property Id=PREVIOUSVERSIONSINSTALLED Secure=yes /

!--The upgrade Id should refer to the Upgrade Code shown under
Product--

Upgrade Id=9d32a378-0b1e-492a-9a40-dd80deb8ab55

  UpgradeVersion Minimum=1.0.0.0 Maximum=1.0.3.9

  Property=PREVIOUSVERSIONSINSTALLED

  IncludeMinimum=yes

  IncludeMaximum=yes /

/Upgrade

 

...

InstallExecuteSequence

  !--To remove previous versions--

  RemoveExistingProducts Before=InstallInitialize /

/InstallExecuteSequence

 

...

 

 

I ran a test where I went from  Version 1.0.3.0 to 1.0.4.0. In the
1.0.3.0 version the root directory contained 3 files Default.aspx,
Web.Config and TextFile1.Txt. In Version 1.0.4.0 I no longer included
TextFile1.Txt. The product code changed (I left the upgrade codes as
before). I changed the guid for the root directory component to see what
would happen when Version 1.0.4.0 was installed over the top of 1.0.3.0.
Even though the guid changed the original file TextFile1.Txt no longer
remained  - I suppose this is to be expected since as far as 1.0.4.0 is
concerned TextFile1.Txt is not part of its installation.

 

Could someone explain if there is any significance attached to me
changing the guid of the root directory (or any other directory
component) in this context. The reason I ask is that I'm looking to
automate the wxs file creation based on a periodic publication of a
website. It seems from the above that I can just create the guids for
these directory components on the fly rather than maintain a record of
previous folders/components (some of which may or may not persist)? 

 

 

DirectoryRef Id=ZTESTWEBSITEDIR

  FileSource=C:\Temp\zTestWebSitePublished

 

  !--Version 1.0.3.0 090ed5bc-58c3-41fd-90b9-dc769f5e4551--

  !--Version 1.0.4.0 1ba6ce1b-2df1-4894-a4d3-9ec75c68ab44--

  Component Id=zTestWebSiteRoot
Guid=1ba6ce1b-2df1-4894-a4d3-9ec75c68ab44

File Id=Default Name=Default.aspx/File

File Id=WebConfig Name=Web.Config/File

!--File Id=TextFile1.Txt Name=TextFile1.Txt/File-- ...

 

 

Thanks

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Conditional Feature

2009-02-23 Thread Lough, Norman
If DisableEnable1 is manually set to no or yes then the edit box behaves
as expected (enabled/disabled). I want to be able to set DisableEnable1
depending on whether a Feature has been installed.

 

 

?define DisableEnable1  = no?

 

Control Id=WSServerEditBox Type=Edit X=20 Y=72 Width=290
Height=18 Default=yes Property=WEBSERVICESERVER1
Text=[WEBSERVICESERVER1] Disabled=$(var.DisableEnable1)/

 

Feature Id=SampleFeature Title=zTestWebSite Level=1

  ComponentGroupRef Id=zTestWebSite /

/Feature

 

I've tried various ways of detecting whether the user has selected my
feature - none of which appear to work - The component in which I
include the condition never gets installed (implying that the condition
always evaluates to false(?)) though all other components get installed.
I've tried:

 

ConditionSampleFeature=3/Condition

 

 

Condition![CDATA[SampleFeature=3]]/Condition

 

Condition![CDATA[SampleFeature=3]]/Condition

 

 

Condition![CDATA[SampleFeature=3 Or SampleFeature=4]]/Condition

 

 

Anyone got an idea where I'm going wrong? Also Once I've established the
right condition what would be the syntax for re-setting the
DisableEnable1 value? Would this typically be done within a Custom
Action?

 

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Edit control

2009-02-17 Thread Lough, Norman
I've created a custom control and want to be able to populate an edit
box with some default text

 

Control Id=WSServerEditBox Type=Edit X=20 Y=72 Width=290
Height=18 Default=yes   Text=amp;abc Property=WEBSERVICESERVER
/

 

I've tried the above (and without the amp) but cannot get anything to
appear. I intend to use the corresponding property to edit an installed
config file. Any ideas as to why the text doesn't show?

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] XmlFile

2009-02-16 Thread Lough, Norman
I have a web.config with the following

 

applicationSettings

zTestWebSite.Properties.Settings

  setting name=zTestWebSite_localhost_Service
serializeAs=String

 
valuehttp://[SERVERNAME]/NormsTestWebService/Service.asmx/value

  /setting

/zTestWebSite.Properties.Settings

  /applicationSettings

 

I want to use XmlFile to modify the value
http://[SERVERNAME]/NormsTestWebService/Service.asmx

I have a property WEBSERVICESERVER which will say something like
localhost or whatever to replace [SERVERNAME] in the config file. Can
anyone help me as to how I would set the correct element path?

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom dialog

2009-02-13 Thread Lough, Norman
I've created a custom dialog and I can get it to appear between certain
dialogs (WelcomeDlg and LicenseAgreementDlg say).  I've modified a copy
of WixUI_FeatureTree to include my dialog  - I thought I would include
it after the VerifyReadyDlg but before the ProgressDlg. I've seen some
example that use WiUI_InstallDir though I don't want to give users the
option of changing the installation directory.

 

When trying the following the dialog doesn't appear:

 

Publish Dialog=CustomDlg1 Control=Back Event=NewDialog
Value=VerifyReadyDlg1/Publish

Publish Dialog =CustomDlg1 Control=Next Event=NewDialog
Value=ProgressDlg1/Publish

 

I'd expect to have to include at least another custom dialog after this
one. Could anyone advise where I'm going wrong?

 

Any help would be appreciated.

 

Cheers

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Combined installers

2009-02-10 Thread Lough, Norman
Previous post apparently not received.

 



From: Lough, Norman 
Sent: 10 February 2009 11:37
To: wIX (wix-users@lists.sourceforge.net)
Subject: Combined installers

 

I've created a couple of wix installers (website, windows service). I'd
like to combine them into one package. Can anyone point me in the
direction of a decent tutorial or let me have a few pointers to get me
started? I've had a good look around on the web and in the documentation
but I'm no further forward. I'm using 3.0.4805.0

 

Thanks in anticipation

 

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Combined installers

2009-02-10 Thread Lough, Norman
I've created a couple of wix installers (website, windows service). I'd
like to combine them into one package. Can anyone point me in the
direction of a decent tutorial or let me have a few pointers to get me
started? I've had a good look around on the web and in the documentation
but I'm no further forward. I'm using 3.0.4805.0

 

Thanks in anticipation

 

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Combined installers

2009-02-10 Thread Lough, Norman
Further to my previous post I've attempted to combine installers by
adding a further wxs file. Within the resulting fragment I've
attempted to add the contents of the second wxs file I'd previously
created. My problem lies with the directories to which I want to
install:

 

This was how the directories were set up for the first of the
applications

 

Directory Id=TARGETDIR Name=SourceDir

  !--Put in the Program Files folder--

  Directory Id=ProgramFilesFolder Name=PFiles

Directory Id=INSTALLDIR Name=CompanyName

  Directory Id=SDDDir Name=AppName1



  /Directory

/Directory

  /Directory

/Directory

 

To give C:\Program Files\CompanyName\AppName1

 

 

 

And this was how the directories were set up for the second

 

Directory Id=TARGETDIR Name=SourceDir

  Directory Id=INETPUB Name=Inetpub

Directory Id=INSTALLDIR Name=wwwroot

  Directory Id=WebSiteDir Name=WebSiteName1 /

/Directory

  /Directory

/Directory

 

To give C:\Inetpub\wwwroot\WebSiteName1

 

In the second I've tried

 

Property Id=CUSPATH![CDATA[c:\inetpub\wwwroot]]/Property

 

Directory Id=CUSPATH Name=CustomPath

  Directory Id= WebSiteDir  Name=WebSiteName1 /

/Directory

 

I get

 

error CNDL0205: The Directory with Id 'MYAPPPATH' is not a valid root
directory.  There may only be a single root directory per product or
module and its Id attribute value must be 'TARGETDIR' and its Name
attribute value must be 'SourceDir'.

 

I basically want to install AppName1 to Program Files/...  and
WebSiteName1 to wwwroot/... Is this possible? If so an example would be
greatly appreciated.

 

Thanks

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Directory browsing

2009-02-05 Thread Lough, Norman
Is it possible to set Directory browsing for a web application under
iis?

 

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Basic website

2009-02-04 Thread Lough, Norman
I'm trying to create a basic website installer using Wix V3.0.4805.0
Having searched around on the net I've got the wxs file as below: I'm
getting

 

error CNDL0005: The Component element contains an unexpected child
element 'WebSite'.

error CNDL0005: The Component element contains an unexpected child
element 'WebVirtualDir'.

 

I've added all available references including WixIIsExtension

 

?xml version=1.0 encoding=UTF-8?

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

  Product Id=9a9dc1e1-7c6b-44b3-aaad-5865a7180b29
Name=WixProject2 Language=1033 Version=1.0.0.0
Manufacturer=WixProject2
UpgradeCode=0fb61fa9-6527-4c68-81d4-fe6a49dd5859

Package InstallerVersion=200 Compressed=yes /

 

Media Id=1 Cabinet=media1.cab EmbedCab=yes /

 

Directory Id='TARGETDIR' Name='SourceDir'

  Directory Id='ProgramFilesFolder' Name='PFiles'

Directory Id='ApplicationFolder' Name='AppDir' 

  Component Id='WebSiteComponent'
Guid='22bf297e-ffce-44b0-be30-51388089d25d' DiskId='1'

File Id='WixExampleFile' Name='simple.txt'
src='bin\simple.txt' /



WebSite Id='DefaultWebSite' Description='My First Web Site
Created With WiX' Directory='ApplicationFolder'

  WebAddress Id=AllUnassigned Port=80 /

/WebSite

  /Component

  Component Id=WebVirtualDirComponent
Guid=114b490b-6670-4ea5-966b-375ac9d9f97e

WebVirtualDir Id=VDir Alias=Test
Directory=ApplicationFolder WebSite=DefaultWebSite

  WebApplication Id=TestWebApplication Name=Test /

/WebVirtualDir

  /Component

/Directory

  /Directory

/Directory

 

Feature Id='TestProductFeature' Title='Wix File Product Feature'
Level='1'

  ComponentRef Id='WebSiteComponent' /

  ComponentRef Id='WebVirtualDirComponent' /

/Feature

 

  /Product

/Wix

 

 

I may be misssing something obvious here but in the Help the two
elements show that Component is a parent element?

 

Does anyone have a basic example/template for creating a web site
installer?

 

Cheers

Norman Lough

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] (no subject)

2009-01-09 Thread Lough, Norman
Test

 

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WEBCA_CreateURLS

2009-01-09 Thread Lough, Norman
Resubmitting the query as no auto ack. received - assuming the original
request didn't make it.

 

I'm using Dark (Wix V3)to convert an existing Visual Studio msi (which
had been tried and tested). 

 

There are two lines which are giving the same error

 

Publish Event=DoAction Value=WEBCA_CreateURLs1/Publish

 

Publish Event=DoAction Value=WEBCA_CreateURLs1/Publish

 

 

error LGHT0094: Unresolved reference to symbol
'CustomAction:WEBCA_CreateURLs' in section 'Product:...

 

There are similar entries though these don't appear to cause me a
problem

 

Publish Event=DoAction Value=WEBCA_EvaluateURLsMB1/Publish

 

In ignorance I tried adding each of the available references

 

Any help would be appreciated

 

Norman Lough

Developer

Tel: +44 (0)191 213 

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk http://www.imass.co.uk/ 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users