Re: [WiX-users] Preventing msi file from being directly executed by a user?

2015-01-23 Thread Phil Wilson
I agree, things like that work better if you get the application
involved.  The main thing that prevents the application getting
involved is developers who believe it's entirely the install's issue
to address and don't want to do the coding work.

You might see recommendations to use a launch condition based on a
property set on the MSI command line, but a knowledgeable user could
detour that by looking at the MSI file, but on the other hand it
prevents accidental running of the bare MSI file.  Or perhaps the
bootstrapper can put something in the registry, such as a validation
type entry that the MSI can search for to use in a launch condition.
If you want to be thorough, use all of them, the app check and the
launch conditions.
---
Phil Wilson


On Fri, Jan 23, 2015 at 7:19 AM, David Connet
d...@agilityrecordbook.com wrote:
 On 1/22/2015 10:33 PM, sky wrote:
 I'm now using burn cumstom bootstrapper application, and in my custom ba
 there is a step for validating product key. But since my msi file is
 external to the bootstrapper, anyone can install msi file directly without
 entering a product key. How can I prevent the msi file from being executed
 directly? (other than embedding the msi file into bootstrapper or adding
 custom action for product key validation to the msi)

 Personally, I wouldn't worry. I'd just make sure the application refuses
 to run without a key. (If no key, it brings up a dialog to enter one
 before the app runs)

 Dave


 --
 New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
 GigeNET is offering a free month of service with a new server in Ashburn.
 Choose from 2 high performing configs, both with 100TB of bandwidth.
 Higher redundancy.Lower latency.Increased capacity.Completely compliant.
 http://p.sf.net/sfu/gigenet
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] CompilerExtension xsd

2015-01-23 Thread Phill Hogland
I have a compiler extension which I wrote some time ago, based on studing the
DifxAppExtension and other Wix Extensions.  My new elements are children of
wix:Component so I originally defined my xsd like this:

?xml version=1.0 encoding=utf-8?
xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema;
 
xmlns:xse=http://schemas.microsoft.com/wix/2005/XmlSchemaExtension;
   xmlns:msdata=urn:schemas-microsoft-com:xml-msdata
 xmlns:html=http://www.w3.org/1999/xhtml;
targetNamespace=http://mydomain/myext/2014;
  xmlns=http://mydomain/myext/2014;
 xmlns:me=http://mydomain/myext/2014;

  xs:import namespace=http://schemas.microsoft.com/wix/2006/wi; /

  xs:element name=Component
xs:complexType
  xs:sequence
xs:element name=Element1 minOccurs=0 maxOccurs=1

/xs:element

xs:element name=Element2 minOccurs=0 maxOccurs=1

 /xs:element
   /xs:sequence
  xs:attribute name=Id type=xs:string /
/xs:complexType
  /xs:element

/xs:schema

Now even though this is working, I am refactoring this extension to add new
elements, and in reviewing the current wix source I noticed that the xsd
uses the xse:parent so I changed my xsd like this:

?xml version=1.0 encoding=utf-8?
xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema;
 
xmlns:xse=http://schemas.microsoft.com/wix/2005/XmlSchemaExtension;
   xmlns:msdata=urn:schemas-microsoft-com:xml-msdata
 xmlns:html=http://www.w3.org/1999/xhtml;
targetNamespace=http://mydomain/myext/2014;
  xmlns=http://mydomain/myext/2014;
 xmlns:me=http://mydomain/myext/2014;

  xs:import namespace=http://schemas.microsoft.com/wix/2006/wi; /

xs:element name=Element1 minOccurs=0 maxOccurs=1
  xs:annotation
xs:appinfo
  xse:parent
namespace=http://schemas.microsoft.com/wix/2006/wi; ref=Component /
/xs:appinfo
xs:documentation/xs:documentation
  /xs:annotation


/xs:element

xs:element name=Element2 minOccurs=0 maxOccurs=1
  xs:annotation
xs:appinfo
  xse:parent
namespace=http://schemas.microsoft.com/wix/2006/wi; ref=Component /
/xs:appinfo
xs:documentation/xs:documentation
  /xs:annotation

 /xs:element

/xs:schema

Now when a project which uses this extension is built an exception is
thrown:
candle.exe(0,0): error CNDL0001: The 'http://mydomain/myext/2014:Component'
element is not declared.
Exception Type: System.Xml.Schema.XmlSchemaException
Stack Trace:
   at
System.Xml.Schema.BaseProcessor.SendValidationEvent(XmlSchemaException e,
XmlSeverityType severity)
   at
System.Xml.Schema.SchemaCollectionCompiler.CompileElement(XmlSchemaElement
xe)
   at
System.Xml.Schema.SchemaCollectionCompiler.CompileParticleElements(XmlSchemaComplexType
complexType, XmlSchemaParticle particle)
   at
System.Xml.Schema.SchemaCollectionCompiler.CompileParticleElements(XmlSchemaComplexType
complexType, XmlSchemaParticle particle)
   at
System.Xml.Schema.SchemaCollectionCompiler.CompileCompexTypeElements(XmlSchemaComplexType
complexType)
   at System.Xml.Schema.SchemaCollectionCompiler.Compile()
   at System.Xml.Schema.SchemaCollectionCompiler.Execute(XmlSchema 
schema,
SchemaInfo schemaInfo, Boolean compileContentModel)
   at System.Xml.Schema.XmlSchema.CompileSchema(XmlSchemaCollection xsc,
XmlResolver resolver, SchemaInfo schemaInfo, String ns,
ValidationEventHandler validationEventHandler, XmlNameTable nameTable,
Boolean CompileContentModel)
   at System.Xml.Schema.XmlSchemaCollection.Add(String ns, SchemaInfo
schemaInfo, XmlSchema schema, Boolean compile, XmlResolver resolver)
   at System.Xml.Schema.XmlSchemaCollection.Add(XmlSchema schema,
XmlResolver resolver)
   at
Microsoft.Tools.WindowsInstallerXml.Compiler.ValidateDocument(XmlDocument
document)
   at Microsoft.Tools.WindowsInstallerXml.Compiler.Compile(XmlDocument
source)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Run(String[] 
args)
Done building project MyMSI.wixproj -- FAILED.

I have studied the UtilExtension, DifAppExtension, and GamingExtension, both
reviewing the xsd, tables, and C# compiler code, and I just don't see how to
resolve this problem.  If I put the xsd back to the way it was, then
everything is happy, but I would like to understand what I am missing in
creating a Compiler Extension.  All assistance is appreciated!





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CompilerExtension-xsd-tp7598978.html
Sent from the wix-users mailing list archive at Nabble.com.

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service 

Re: [WiX-users] How to add references to other project in my WiX project programaticly?

2015-01-23 Thread Phill Hogland
You posted to the correct forum.  I don't know anything about 'C# custom
template wizard'.  Sometimes my questions have also gone unanswered, but I
appreciate the help when it is available.

If you search the wix source code, filtering for just .cs files, there are
about 22 hits on use AddProject..., but I don't know if that is helpful to
you.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-add-references-to-other-project-in-my-WiX-project-programaticly-tp7598957p7598984.html
Sent from the wix-users mailing list archive at Nabble.com.

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CompilerExtension xsd

2015-01-23 Thread Phill Hogland
I found the problem in my ParseElement implementation.  Thanks.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CompilerExtension-xsd-tp7598978p7598981.html
Sent from the wix-users mailing list archive at Nabble.com.

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to add references to other project in my WiX project programaticly?

2015-01-23 Thread Nicolás Alvarez
If you need an urgent answer, contact FireGiant (for $$$). Otherwise,
this is a community mailing list. You'll get an answer when and if
someone has the time to read the message, knows the answer, etc. You
barely waited a day.

-- 
Nicolás

2015-01-23 15:39 GMT-03:00 Igor Furman ifur...@merlinone.com:
 I'm sorry, I'm new to Wix mailing list. Did I post to a wrong list?
 Should I subscribe to dev list instead? Did I not provide enough
 information?
 I really need a solution to the problem ASAP. Has anybody have any
 experience in Wix project automation? How to add a project reference to
 Wix project programmatically from C# custom template wizard?

 Thanks!

 On 1/22/2015 10:53 AM, Igor Furman wrote:
 I develop a multi-projects VS 2010 template. One of the projects is WIX.
 In the class that implements IWizard I need to add references to C#
 projects to Wix project. Basically, I need to do exactly like that:

 var targetProject = (VSProject) _project.Object;
 targetProject.References.AddProject(sourceProject);


 where targetProject is WIX project. The code works perfectly for C#
 projects, but does not work for Wix.
 Please help!

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CompilerExtension xsd

2015-01-23 Thread Phill Hogland
Actually the change to my ParseElement code did not resolve the problem and
introduced other xsd validation problems.  I reverted back to xsd which does
not include the xs:appinfo/xse:parent.  I can see in the Wix Extensions that
xse:parent is used to declare multiple possible parents, which is useful,
but I don't see what I am doing wrong yet.  Still researching this issue.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CompilerExtension-xsd-tp7598978p7598985.html
Sent from the wix-users mailing list archive at Nabble.com.

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Doesn't the Bootstrapper check to see if another instance of itself is running?

2015-01-23 Thread StevenOgilvie
Hi,

Just a quick question.

Doesn't the Bootstrapper verify that it is not running another instance of
itself?

i.e. Launch your Installer (Bootstrapper) launch same installer again, two
instances are now running...

Steve



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Doesn-t-the-Bootstrapper-check-to-see-if-another-instance-of-itself-is-running-tp7598986.html
Sent from the wix-users mailing list archive at Nabble.com.

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding an extension attribute, like bal:Overridable, but myext:Attribute

2015-01-23 Thread Rob Mensching
Look at the CompilerExtension code in wix\ that processes User element. It 
probably doesn't support extension attributes today.

_
 Short replies here. Complete answers over there: http://www.firegiant.com/


-Original Message-
From: Phill Hogland [mailto:phogl...@rimage.com] 
Sent: Friday, January 23, 2015 1:01 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Adding an extension attribute, like bal:Overridable, but 
myext:Attribute

Is it possible in my Compiler extension to add an attribute to an existing wix 
element, like the bal:Overridable attribute was added?

I created a xsd and added to my extension, which adds my new attribute to the 
util:User element.  While I did not implement the underlying parsing code or 
the CA yet, when add the myext:My

util:User Id=SrvActCfg  myx:MyAttribute=yes /

error CNDL0202: The util:User element contains an unsupported extension 
attribute ' myx:MyAttribute'.  The util:User element does not currently support 
extension attributes. ...

So based on this message I am not sure if this plan is totally unsupported and 
I must add a new element, or if I just have a xsd definition issue somewhere.

At a higher level my plan was to figure out how to use a semi-custom action, 
based on Bob's blog to modify the information related to user account in the 
msi db at runtime.  The reason is that when I install a service I may or may 
not actually need to create the user, and depending on whether the passed in 
account name is our default name I would want to hide it from the welcome 
screen.  Some other account name should not be hidden from the welcome screen 
(and a few other business tweaks at run time).

Thank you for any thoughts.

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Adding an extension attribute, like bal:Overridable, but myext:Attribute

2015-01-23 Thread Phill Hogland
Is it possible in my Compiler extension to add an attribute to an existing
wix element, like the bal:Overridable attribute was added?

I created a xsd and added to my extension, which adds my new attribute to
the util:User element.  While I did not implement the underlying parsing
code or the CA yet, when add the myext:My

util:User Id=SrvActCfg  myx:MyAttribute=yes /

error CNDL0202: The util:User element contains an unsupported extension
attribute ' myx:MyAttribute'.  The util:User element does not currently
support extension attributes. ...

So based on this message I am not sure if this plan is totally unsupported
and I must add a new element, or if I just have a xsd definition issue
somewhere.

At a higher level my plan was to figure out how to use a semi-custom action,
based on Bob's blog to modify the information related to user account in the
msi db at runtime.  The reason is that when I install a service I may or may
not actually need to create the user, and depending on whether the passed in
account name is our default name I would want to hide it from the welcome
screen.  Some other account name should not be hidden from the welcome
screen (and a few other business tweaks at run time).

Thank you for any thoughts.


 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Adding-an-extension-attribute-like-bal-Overridable-but-myext-Attribute-tp7598987.html
Sent from the wix-users mailing list archive at Nabble.com.

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Doesn't the Bootstrapper check to see if another instance of itself is running?

2015-01-23 Thread Rob Mensching
Do you mean Burn? If so, I've never seen it do that before. 

Note: Windows Installer will do the same thing. Launch an MSI twice, you should 
get two UIs running.

_
 Short replies here. Complete answers over there: http://www.firegiant.com/


-Original Message-
From: StevenOgilvie [mailto:sogil...@msn.com] 
Sent: Friday, January 23, 2015 12:30 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Doesn't the Bootstrapper check to see if another instance 
of itself is running?

Hi,

Just a quick question.

Doesn't the Bootstrapper verify that it is not running another instance of 
itself?

i.e. Launch your Installer (Bootstrapper) launch same installer again, two 
instances are now running...

Steve

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to distinct between Windows 7 and Windows Server 2008?

2015-01-23 Thread Phill Hogland
http://robmensching.com/blog/posts/2008/11/3/how-to-determine-if-you-are-installing-on-windows-client/




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-distinct-between-Windows-7-and-Windows-Server-2008-tp7598975p7598976.html
Sent from the wix-users mailing list archive at Nabble.com.

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Doesn't the Bootstrapper check to see if another instance of itself is running? [P]

2015-01-23 Thread Steven Ogilvie
Classification: Public
I thought two MSI's running at same time is a no/no?

Steve

-Original Message-
From: Rob Mensching [mailto:r...@firegiant.com]
Sent: January-23-15 6:00 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Doesn't the Bootstrapper check to see if another 
instance of itself is running?

Do you mean Burn? If so, I've never seen it do that before. 

Note: Windows Installer will do the same thing. Launch an MSI twice, you should 
get two UIs running.

_
 Short replies here. Complete answers over there: http://www.firegiant.com/


-Original Message-
From: StevenOgilvie [mailto:sogil...@msn.com]
Sent: Friday, January 23, 2015 12:30 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Doesn't the Bootstrapper check to see if another instance 
of itself is running?

Hi,

Just a quick question.

Doesn't the Bootstrapper verify that it is not running another instance of 
itself?

i.e. Launch your Installer (Bootstrapper) launch same installer again, two 
instances are now running...

Steve

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

 
This message has been marked as Public by Steven Ogilvie on January-23-15 
6:11:25 PM.

The above classification labels were added to the message by TITUS Message 
Classification. 
For more information visit www.titus.com.

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Doesn't the Bootstrapper check to see if another instance of itself is running? [P]

2015-01-23 Thread Joel Budreau
Once an MSI enters the InstallValidate (InstallInitialize) action in the 
InstallExecuteSequence it will obtain a system-wide MSI lock. It will only 
release it once it finishes the InstallFinalize action.

So, the short answer is generally: two MSIs running the InstallExecuteSequence 
at the same time is a no/no…

 On Jan 23, 2015, at 6:11 PM, Steven Ogilvie steven.ogil...@titus.com wrote:
 
 Classification: Public
 I thought two MSI's running at same time is a no/no?
 
 Steve
 
 -Original Message-
 From: Rob Mensching [mailto:r...@firegiant.com]
 Sent: January-23-15 6:00 PM
 To: General discussion about the WiX toolset.
 Subject: Re: [WiX-users] Doesn't the Bootstrapper check to see if another 
 instance of itself is running?
 
 Do you mean Burn? If so, I've never seen it do that before. 
 
 Note: Windows Installer will do the same thing. Launch an MSI twice, you 
 should get two UIs running.
 
 _
 Short replies here. Complete answers over there: http://www.firegiant.com/
 
 
 -Original Message-
 From: StevenOgilvie [mailto:sogil...@msn.com]
 Sent: Friday, January 23, 2015 12:30 PM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Doesn't the Bootstrapper check to see if another 
 instance of itself is running?
 
 Hi,
 
 Just a quick question.
 
 Doesn't the Bootstrapper verify that it is not running another instance of 
 itself?
 
 i.e. Launch your Installer (Bootstrapper) launch same installer again, two 
 instances are now running...
 
 Steve
 
 --
 New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
 GigeNET is offering a free month of service with a new server in Ashburn.
 Choose from 2 high performing configs, both with 100TB of bandwidth.
 Higher redundancy.Lower latency.Increased capacity.Completely compliant.
 http://p.sf.net/sfu/gigenet
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
  
 This message has been marked as Public by Steven Ogilvie on January-23-15 
 6:11:25 PM.
 
 The above classification labels were added to the message by TITUS Message 
 Classification. 
 For more information visit www.titus.com.
 
 --
 New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
 GigeNET is offering a free month of service with a new server in Ashburn.
 Choose from 2 high performing configs, both with 100TB of bandwidth.
 Higher redundancy.Lower latency.Increased capacity.Completely compliant.
 http://p.sf.net/sfu/gigenet
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Doesn't the Bootstrapper check to see if another instance of itself is running? [P]

2015-01-23 Thread Joel Budreau
Christopher Painter actually explained it better (about 3 years ago) - 
http://community.flexerasoftware.com/archive/index.php?t-198832.html

1) One Execute Sequence per system
2) One UI Sequence per process

 On Jan 23, 2015, at 7:39 PM, Joel Budreau joel.budr...@gmail.com wrote:
 
 Once an MSI enters the InstallValidate (InstallInitialize) action in the 
 InstallExecuteSequence it will obtain a system-wide MSI lock. It will only 
 release it once it finishes the InstallFinalize action.
 
 So, the short answer is generally: two MSIs running the 
 InstallExecuteSequence at the same time is a no/no…
 
 On Jan 23, 2015, at 6:11 PM, Steven Ogilvie steven.ogil...@titus.com wrote:
 
 Classification: Public
 I thought two MSI's running at same time is a no/no?
 
 Steve
 
 -Original Message-
 From: Rob Mensching [mailto:r...@firegiant.com]
 Sent: January-23-15 6:00 PM
 To: General discussion about the WiX toolset.
 Subject: Re: [WiX-users] Doesn't the Bootstrapper check to see if another 
 instance of itself is running?
 
 Do you mean Burn? If so, I've never seen it do that before. 
 
 Note: Windows Installer will do the same thing. Launch an MSI twice, you 
 should get two UIs running.
 
 _
 Short replies here. Complete answers over there: http://www.firegiant.com/
 
 
 -Original Message-
 From: StevenOgilvie [mailto:sogil...@msn.com]
 Sent: Friday, January 23, 2015 12:30 PM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Doesn't the Bootstrapper check to see if another 
 instance of itself is running?
 
 Hi,
 
 Just a quick question.
 
 Doesn't the Bootstrapper verify that it is not running another instance of 
 itself?
 
 i.e. Launch your Installer (Bootstrapper) launch same installer again, two 
 instances are now running...
 
 Steve
 
 --
 New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
 GigeNET is offering a free month of service with a new server in Ashburn.
 Choose from 2 high performing configs, both with 100TB of bandwidth.
 Higher redundancy.Lower latency.Increased capacity.Completely compliant.
 http://p.sf.net/sfu/gigenet
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 This message has been marked as Public by Steven Ogilvie on January-23-15 
 6:11:25 PM.
 
 The above classification labels were added to the message by TITUS Message 
 Classification. 
 For more information visit www.titus.com.
 
 --
 New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
 GigeNET is offering a free month of service with a new server in Ashburn.
 Choose from 2 high performing configs, both with 100TB of bandwidth.
 Higher redundancy.Lower latency.Increased capacity.Completely compliant.
 http://p.sf.net/sfu/gigenet
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to distinct between Windows 7 and Windows Server 2008?

2015-01-23 Thread patrickpirzer
I have programmed a bootstrapper application with WiX 3.9 which - among
others - installs IIS Express (if needed) and then activates the IIS
features via a MsiPackage.

In my MsiPackage i have the follwing options for Windows 8:

/
Property Id=DismX64
  Value=C:\Windows\System32\dism.exe/Property
Property Id=DismX86
  Value=C:\Windows\SysWOW64\dism.exe/Property
CustomAction Id=ActivateIisWin8x64
  Return=check
  Property=DismX64
  Execute=deferred
  HideTarget=no
  Impersonate=no
  ExeCommand=/Online /Enable-Feature
/featurename:IIS-WebServerRole /featurename:IIS-CommonHttpFeatures
/featurename:IIS-StaticContent /featurename:IIS-ApplicationDevelopment
/featurename:IIS-ISAPIFilter /featurename:IIS-ISAPIExtensions
/featurename:IIS-NetFxExtensibility45 /featurename:IIS-ASPNET45
/featurename:IIS-Security /featurename:IIS-RequestFiltering
/featurename:IIS-WindowsAuthentication /featurename:NetFx4-AdvSrvs
/featurename:NetFx4Extended-ASPNET45 /featurename:WCF-Services45
/featurename:WCF-HTTP-Activation45 /All/CustomAction
CustomAction Id=ActivateIisWin8x86
  Return=check
  Property=DismX86
  Execute=deferred
  HideTarget=no
  Impersonate=no
  ExeCommand=/Online /Enable-Feature
/featurename:IIS-WebServerRole /featurename:IIS-CommonHttpFeatures
/featurename:IIS-StaticContent /featurename:IIS-ApplicationDevelopment
/featurename:IIS-ISAPIFilter /featurename:IIS-ISAPIExtensions
/featurename:IIS-NetFxExtensibility45 /featurename:IIS-ASPNET45
/featurename:IIS-Security /featurename:IIS-RequestFiltering
/featurename:IIS-WindowsAuthentication /featurename:NetFx4-AdvSrvs
/featurename:NetFx4Extended-ASPNET45 /featurename:WCF-Services45
/featurename:WCF-HTTP-Activation45 /All/CustomAction

InstallExecuteSequence
Custom Action=ActivateIisWin8x64
After=InstallFiles(VersionNT=602 OR VersionNT=603)
AND VersionNT64/Custom
Custom Action=ActivateIisWin8x86
After=InstallFiles(VersionNT=602 OR VersionNT=603)
AND NOT VersionNT64/Custom
/InstallExecuteSequence
/

Now i want to implement new tags for Windows 7 and Windows Server 2012.
The problem is, that Windows 7 and Windows Server 2008 R2 have the same
VersionNT which is 601.
How can i distinct between Windows 7 and Windows Server 2008?
Is there a special burn variable?

Thanks in advance!




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-distinct-between-Windows-7-and-Windows-Server-2008-tp7598975.html
Sent from the wix-users mailing list archive at Nabble.com.

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Preventing msi file from being directly executed by a user?

2015-01-23 Thread David Connet
On 1/22/2015 10:33 PM, sky wrote:
 I'm now using burn cumstom bootstrapper application, and in my custom ba
 there is a step for validating product key. But since my msi file is
 external to the bootstrapper, anyone can install msi file directly without
 entering a product key. How can I prevent the msi file from being executed
 directly? (other than embedding the msi file into bootstrapper or adding
 custom action for product key validation to the msi)

Personally, I wouldn't worry. I'd just make sure the application refuses 
to run without a key. (If no key, it brings up a dialog to enter one 
before the app runs)

Dave


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users