Re: [WiX-users] sample

2009-03-08 Thread Eitan Behar
The property ALLUSERS determines whether the installation is per user or per
machine:
http://msdn.microsoft.com/en-us/library/aa367559(VS.85).aspx

To set the installation always per user, do the following:



Eitan


On Sun, Mar 8, 2009 at 4:05 PM, Tency Kuruvilla
wrote:

> Dear
>
>  Anybody can provide me sample .wxs for install current user or all
> users.
>
> Thanks & regards
>
> tency
>
>
> --
> 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
>
--
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


Re: [WiX-users] Help required to execute Sql files

2009-02-26 Thread Eitan Behar
Write a C# Custom Action using DTF, and pass it as parameter the folder with
the sql scripts. The function then can just use OLEDB or SQLCMD to run the
scripts.

Eitan



-Original Message-
From: Pankaj Agrawal (Infosys Technologies Ltd)
[mailto:v-pa...@microsoft.com] 
Sent: Thursday, February 26, 2009 10:35 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Help required to execute Sql files

Hi,

I need a help to execute bunch of SQL files which are not part of my WXS /
MSI but need to execute them through my MSI during installation. All these
SQL files are present at some shared location which is changing on a day to
day basis like (addition of new SQL script, deletion or modification).

I want to execute all the SQL files present in the particular folder using
my MSI. If anybody has done that please guide me how to go ahead for that.

Thanks,
Pankaj

--
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


--
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


Re: [WiX-users] Conditions in fragments

2009-02-20 Thread Eitan Behar
You can also have an empty component group and add reference to it from the
product file. - this is what I do :^)


-Original Message-
From: Frederico Rico Apostolo [mailto:frederico.apost...@vantyx.com] 
Sent: Friday, February 20, 2009 4:49 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Conditions in fragments

I'm using v3 votive in vs2005 and I lost sometime trying to have a fragment
with only launch conditions, I've realized that even with compile propriety
in the solution that fragment was ignored, unless I had a propriety or a
custom action in that fragment linked or sub linked to the , just a
warning for those that try to be as modular as I , if I'm wrong correct me
pls.

__

Esta mensagem e ficheiros anexos incluem materia privada, confidencial e
legalmente protegida, 
exclusivamente destinada a quem nela conste como destinatario. Se recebeu
esta mensagem por 
engano, agradecemos que informe de imediato o remetente e que elimine a
mensagem e os 
ficheiros sem os utilizar, divulgar ou reproduzir.

This message and attached files contain private, confidential and legally
privileged information, 
exclusively intended for the named addressees. If you have received this
message in error, 
please contact the sender immediately and delete the message and files
without utilization, 
circulation or reproduction.



--
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


--
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


Re: [WiX-users] Passing data between deferred custom actions

2009-02-17 Thread Eitan Behar
Does not look like fun, but it's doable ! Thanks !

Etian


On Tue, Feb 17, 2009 at 3:38 PM, Christopher Painter <
chr...@deploymentengineering.com> wrote:

> You'll want to look at the CustomActionData class in DTF as described here:
>
> http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg17875.html
>
> In a nutshell:
>
> In your immeadiate custom action, you instantiate the class, stuff it with
> data and then serialize it out to a property.
>
> In your deferred custom action you read the CustomActionData property and
> pass it to the class constructor for deserialziation back into your class
> with all of it's data.
>
> As far as how to schedule these custom actions there are several patterns:
>
> 1) 1 immeadiate to 1 deferred relationship
> 2) 1 immeadiate to multiple deferred relationship
> 3) 1 immeadiate that calls DoAction to schedule the deferred ( this is the
> way Jason describes in the above link. )
>
> When using #1 or #2, remember the immeadiate must be scheduled before the
> deferred and the name of the property(s) to be set is the name of the
> deferred custom actions(s).  This is how MSI makes the join.
>
> Christopher Painter, Author of Deployment Engineering Blog
> Have a hot tip, know a secret or read a really good thread that deserves
> attention? E-Mail Me
>
>
> --- On Tue, 2/17/09, Eitan Behar  wrote:
>
> > From: Eitan Behar 
> > Subject: Re: [WiX-users] Passing data between deferred custom actions
> > To: chr...@deploymentengineering.com, "General discussion for Windows
> Installer XML toolset." 
> > Date: Tuesday, February 17, 2009, 6:47 AM
> > DTF C#
> >
> >
> >
> > On Tue, Feb 17, 2009 at 2:05 PM, Christopher Painter <
> > chr...@deploymentengineering.com> wrote:
> >
> > > What language is the CA's written in?
> > >
> > > Christopher Painter, Author of Deployment Engineering
> > Blog
> > > Have a hot tip, know a secret or read a really good
> > thread that deserves
> > > attention? E-Mail Me
> > >
> > >
> > > --- On Tue, 2/17/09, Eitan Behar
> >  wrote:
> > >
> > > > From: Eitan Behar 
> > > > Subject: [WiX-users] Passing data between
> > deferred custom actions
> > > > To: "General discussion for Windows
> > Installer XML toolset." <
> > > wix-users@lists.sourceforge.net>
> > > > Date: Tuesday, February 17, 2009, 2:40 AM
> > > > Hi,
> > > >
> > > > Is there a proper method to pass data between
> > deferred
> > > > custom actions ? I
> > > > have a bunch of chained custom actions and need
> > to pass
> > > > data between them,
> > > > actually, just a boolean value
> > "telling" the rest
> > > > of the ca whether to
> > > > continue.
> > > >
> > > > Thanks,
> > > >
> > > > Eitan
> > > >
> > >
> >
> --
> > > > 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
> > >
> > >
> > >
> > >
> > >
> > >
> >
> --
> > > 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
> > >
>
>
>
>
--
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


Re: [WiX-users] Passing data between deferred custom actions

2009-02-17 Thread Eitan Behar
DTF C#



On Tue, Feb 17, 2009 at 2:05 PM, Christopher Painter <
chr...@deploymentengineering.com> wrote:

> What language is the CA's written in?
>
> Christopher Painter, Author of Deployment Engineering Blog
> Have a hot tip, know a secret or read a really good thread that deserves
> attention? E-Mail Me
>
>
> --- On Tue, 2/17/09, Eitan Behar  wrote:
>
> > From: Eitan Behar 
> > Subject: [WiX-users] Passing data between deferred custom actions
> > To: "General discussion for Windows Installer XML toolset." <
> wix-users@lists.sourceforge.net>
> > Date: Tuesday, February 17, 2009, 2:40 AM
> > Hi,
> >
> > Is there a proper method to pass data between deferred
> > custom actions ? I
> > have a bunch of chained custom actions and need to pass
> > data between them,
> > actually, just a boolean value "telling" the rest
> > of the ca whether to
> > continue.
> >
> > Thanks,
> >
> > Eitan
> >
> --
> > 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
>
>
>
>
>
> --
> 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
>
--
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] Passing data between deferred custom actions

2009-02-17 Thread Eitan Behar
Hi,

Is there a proper method to pass data between deferred custom actions ? I
have a bunch of chained custom actions and need to pass data between them,
actually, just a boolean value "telling" the rest of the ca whether to
continue.

Thanks,

Eitan
--
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


Re: [WiX-users] Question regarding pending bug 2508955

2009-02-08 Thread Eitan Behar
I thought that it's part of the release only after it's closed. I will check
!

Thanks.


-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Sunday, February 08, 2009 8:31 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Question regarding pending bug 2508955

Eitan Behar wrote:
> Please, do you have an estimation about the expected release date of bug
> 2508955 ? Currently it's on Pending state.
>   

If it's pending, it means the fix has been checked in, so check the next 
release after the status was set pending. For 2508955, it's 3.0.4917.0.

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




--
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


--
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] Question regarding pending bug 2508955

2009-02-08 Thread Eitan Behar
Hi,

Please, do you have an estimation about the expected release date of bug
2508955 ? Currently it's on Pending state.

Thanks,

Eitan
--
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


Re: [WiX-users] How to reference a system environment variable?

2009-02-04 Thread Eitan Behar
You can read an environment variable using:


$(env.TEMP)
You can use:





On Wed, Feb 4, 2009 at 6:06 PM, Yan Sklyarenko  wrote:

> Hello WiX community,
>
> That's a really newbie question.
>
> I need to set permissions to the TEMP folder, the one stated in the
> system TEMP environment variable.
> I was trying this way:
>
> 
> 
>Guid="{YOURGUID-GOES-HERE-B106-B9D9705E01D7}" Permanent="yes">
>  
> 
>  
>   
> 
>
> But this way it references the user-specific TEMP variable, the one
> under Documents & Settings.
>
> Could you please point me to the right direction?
> Thanks.
>
> -- Yan
>
>
>
> --
> 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
>
--
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


Re: [WiX-users] Need some help on wix

2009-01-29 Thread Eitan Behar
check:
1. the new dll has a new file assembly version?
2. the linker option -fv is set?

On Thu, Jan 29, 2009 at 8:30 PM, Sandeep Prakash <
sandeep.prak...@microsoft.com> wrote:

>
> Hi,
>
> We are not able to update a dll present in gac through patch. I am new to
> wix. I want to know which tag/ attribute in the wix controls this behaviour.
> What's the use of 'AssemblyManifest' of  and is it some how related to
> the above behaviour.
>
> Any link to the documentation will be appreciated.
>
> Thanks,
> Sandeep
>
>
> --
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Detecting if a product is installed and setting property

2009-01-28 Thread Eitan Behar
WSE30 is not set, log file does not show the property at all, FindRelated is
before LauchConditions. Seems to be a WSE problem, I searched the registry
for the upgrade code and it's not there (?) I will try with another product,
and will try also ComponentSearch.



On Wed, Jan 28, 2009 at 6:36 PM, Christopher Painter <
chr...@deploymentengineering.com> wrote:

> I'd look at the logfile and built MSI using ORCA and see what's going on.
>  Is FindRelatedProduts sequenced/running prior to LaunchConditions?  Is
> FindRelatedProperty setting the WSE30 property with a found product code.
>
> Christopher Painter, Author of Deployment Engineering Blog
> Have a hot tip, know a secret or read a really good thread that deserves
> attention? E-Mail Me
>
>
> --- On Wed, 1/28/09, Eitan Behar  wrote:
>
> > From: Eitan Behar 
> > Subject: Re: [WiX-users] Detecting if a product is installed and setting
>  property
> > To: chr...@deploymentengineering.com, "General discussion for Windows
> Installer XML toolset." 
> > Date: Wednesday, January 28, 2009, 9:57 AM
> > sounds great, but, it does not seem to work :^(
> >
> > I have the code below, and although WSE is installed, I
> > keep getting the
> > Condition Message. I have checked the msi which I used to
> > install WSE and
> > the Upgrade Code is correct. (I did copy-paste from its
> > msi)
> >
> >  > Id="B4BB35AA-51EC-41A5-9C85-90D6FA98968C">
> >  > Property="WSE30" OnlyDetect="yes"
> > ExcludeLanguages="yes"/>
> > 
> >
> >  > Secure="yes"/>
> >
> > 
> > 
> > 
> >
> > 
> >  > />
> > 
> >
> > On Wed, Jan 28, 2009 at 4:25 PM, Christopher Painter <
> > chr...@deploymentengineering.com> wrote:
> >
> > > As much as I love DTF, I don't see the need for a
> > CA in this scenario.  I
> > > believe you stated that the requirement is to detect
> > products installed
> > > based on their upgrade code and block the install if a
> > product is not
> > > detected.
> > >
> > > If that is correct, then the Upgrade table supports
> > the
> > > msidbUpgradeAttributesOnlyDetect attribute which
> > allows you to do your
> > > search,  put found product codes into the property
> > specified in the
> > > ActionProperty column.   As long as you schedule
> > FindRelatedProducts prior
> > > to Launch Conditions, you could then use the above
> > property as a conditional
> > > expression to block your install.
> > >
> > > Christopher Painter, Author of Deployment Engineering
> > Blog
> > > Have a hot tip, know a secret or read a really good
> > thread that deserves
> > > attention? E-Mail Me
> > >
> > >
> > > --- On Wed, 1/28/09, Eitan Behar
> >  wrote:
> > >
> > > > From: Eitan Behar 
> > > > Subject: Re: [WiX-users] Detecting if a product
> > is installed and setting
> > > property
> > > > To: "General discussion for Windows
> > Installer XML toolset." <
> > > wix-users@lists.sourceforge.net>
> > > > Date: Wednesday, January 28, 2009, 8:04 AM
> > >  > Thanks ! Sounds like I will use a DTF CA for
> > that.
> > > >
> > > >
> > > >
> > > >
> > > > On Wed, Jan 28, 2009 at 3:21 PM, Yan Sklyarenko
> > > >  wrote:
> > > >
> > > > > If your product is the same family as those
> > you're
> > > > detecting, then you
> > > > > might take advantage of FindRelatedProducts
> > action:
> > > > >
> > http://msdn.microsoft.com/en-us/library/aa368600.aspx.
> > > > > This is supported in WiX toolset via
> > UpgradeVersion
> > > > element, which
> > > > > actually maps to the Upgrade MSI table, and
> > > > FindRelatedProducts element,
> > > > > which is there for sequencing purpose, as
> > far as I can
> > > > see (never used
> > > > > it myself yet).
> > > > >
> > > > > If otherwise your product has nothing in
> > common with
> > > > those you'd like to
> > > > > detect, then it might require custom action.
> > DTF
> > > > contains a class
> > > > > ProductInstallation, which defines a method
> > > > > GetRelatedProducts(up

Re: [WiX-users] Detecting if a product is installed and setting property

2009-01-28 Thread Eitan Behar
sounds great, but, it does not seem to work :^(

I have the code below, and although WSE is installed, I keep getting the
Condition Message. I have checked the msi which I used to install WSE and
the Upgrade Code is correct. (I did copy-paste from its msi)















On Wed, Jan 28, 2009 at 4:25 PM, Christopher Painter <
chr...@deploymentengineering.com> wrote:

> As much as I love DTF, I don't see the need for a CA in this scenario.  I
> believe you stated that the requirement is to detect products installed
> based on their upgrade code and block the install if a product is not
> detected.
>
> If that is correct, then the Upgrade table supports the
> msidbUpgradeAttributesOnlyDetect attribute which allows you to do your
> search,  put found product codes into the property specified in the
> ActionProperty column.   As long as you schedule FindRelatedProducts prior
> to Launch Conditions, you could then use the above property as a conditional
> expression to block your install.
>
> Christopher Painter, Author of Deployment Engineering Blog
> Have a hot tip, know a secret or read a really good thread that deserves
> attention? E-Mail Me
>
>
> --- On Wed, 1/28/09, Eitan Behar  wrote:
>
> > From: Eitan Behar 
> > Subject: Re: [WiX-users] Detecting if a product is installed and setting
> property
> > To: "General discussion for Windows Installer XML toolset." <
> wix-users@lists.sourceforge.net>
> > Date: Wednesday, January 28, 2009, 8:04 AM
>  > Thanks ! Sounds like I will use a DTF CA for that.
> >
> >
> >
> >
> > On Wed, Jan 28, 2009 at 3:21 PM, Yan Sklyarenko
> >  wrote:
> >
> > > If your product is the same family as those you're
> > detecting, then you
> > > might take advantage of FindRelatedProducts action:
> > > http://msdn.microsoft.com/en-us/library/aa368600.aspx.
> > > This is supported in WiX toolset via UpgradeVersion
> > element, which
> > > actually maps to the Upgrade MSI table, and
> > FindRelatedProducts element,
> > > which is there for sequencing purpose, as far as I can
> > see (never used
> > > it myself yet).
> > >
> > > If otherwise your product has nothing in common with
> > those you'd like to
> > > detect, then it might require custom action. DTF
> > contains a class
> > > ProductInstallation, which defines a method
> > > GetRelatedProducts(upgradeCode), it's probably
> > what you need (if your
> > > installation is compatible with managed custom
> > actions).
> > > That's just an assumption, there might be better
> > techniques for this.
> > >
> > > Hope this helps.
> > >
> > > -- Yan
> > >
> > > -Original Message-
> > > From: Eitan Behar [mailto:ei...@baconao.net]
> > > Sent: Wednesday, January 28, 2009 10:14 AM
> > > To: General discussion for Windows Installer XML
> > toolset.
> > > Subject: [WiX-users] Detecting if a product is
> > installed and setting
> > > property
> > >
> > > Hi,
> > >
> > > Is there a way to detect if a product family is
> > installed according to
> > > its
> > > product code, and set a property accordingly? I need
> > to stop the setup
> > > if
> > > certain products are not installed, and I only have
> > their upgrade codes,
> > > not
> > > the product code.
> > >
> > > Thanks,
> > >
> > > Eitan
> > >
> > 
> > > --
> > > This SF.net email is sponsored by:
> > > SourcForge Community
> > > SourceForge wants to tell your story.
> > > http://p.sf.net/sfu/sf-spreadtheword
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > >
> >
> --
> > > This SF.net email is sponsored by:
> > > SourcForge Community
> > > SourceForge wants to tell your story.
> > > http://p.sf.net/sfu/sf-spreadtheword
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> --

Re: [WiX-users] Detecting if a product is installed and setting property

2009-01-28 Thread Eitan Behar
Thanks ! Sounds like I will use a DTF CA for that.




On Wed, Jan 28, 2009 at 3:21 PM, Yan Sklyarenko  wrote:

> If your product is the same family as those you're detecting, then you
> might take advantage of FindRelatedProducts action:
> http://msdn.microsoft.com/en-us/library/aa368600.aspx.
> This is supported in WiX toolset via UpgradeVersion element, which
> actually maps to the Upgrade MSI table, and FindRelatedProducts element,
> which is there for sequencing purpose, as far as I can see (never used
> it myself yet).
>
> If otherwise your product has nothing in common with those you'd like to
> detect, then it might require custom action. DTF contains a class
> ProductInstallation, which defines a method
> GetRelatedProducts(upgradeCode), it's probably what you need (if your
> installation is compatible with managed custom actions).
> That's just an assumption, there might be better techniques for this.
>
> Hope this helps.
>
> -- Yan
>
> -Original Message-
> From: Eitan Behar [mailto:ei...@baconao.net]
> Sent: Wednesday, January 28, 2009 10:14 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Detecting if a product is installed and setting
> property
>
> Hi,
>
> Is there a way to detect if a product family is installed according to
> its
> product code, and set a property accordingly? I need to stop the setup
> if
> certain products are not installed, and I only have their upgrade codes,
> not
> the product code.
>
> Thanks,
>
> Eitan
> 
> --
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> --
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Detecting if a product is installed and setting property

2009-01-28 Thread Eitan Behar
Hi,

Is there a way to detect if a product family is installed according to its
product code, and set a property accordingly? I need to stop the setup if
certain products are not installed, and I only have their upgrade codes, not
the product code.

Thanks,

Eitan
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Detecting WSE 3.0

2009-01-26 Thread Eitan Behar
Hi,

Do you know how to detect if WSE 3.0 is installed ? There are plenty of
product codes for WSE 3.0, so a simple registry search to Windows\Uninstall
does not help.

Thanks,

Eitan
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creating SQL Database with WiX v3

2009-01-24 Thread Eitan Behar
Hi,

I had the same problem, my batch is made of a few scripts 60k lines long
each, and I moved to invoking sqlcmd.exe from a CA directly, instead of
Wix's SqlScript.

See Neil's blog for full details:
http://neilsleightholm.blogspot.com/2008/08/executing-sqlcmd-from-wix.html

This reduced execution time from 1 hour to 10 mins.

Eitan


-Original Message-
From: David Reed [mailto:david.r...@microsoft.com] 
Sent: Saturday, January 24, 2009 7:44 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Creating SQL Database with WiX v3

It really depends on what those 9k scripts are doing.

If your scripts are a raft of INSERT statements or other transactions, then
you can probably switch to CSVs and bulk load (much faster), which is what
we do with AdventureWorks now for SQL Server 2008 samples. The WiX3 code for
ours is checked into CodePlex here along with the MSBuild scripts, etc:
http://www.codeplex.com/SqlServerSamples/SourceControl/ListDownloadableCommi
ts.aspx

In our experience with AdventureWorks' installers, switching to a
backup/restore is likely to bloat the size of your installer quite a bit
because the BAK files aren't nearly as compressible (if at all) as script
files are...



From: Eric Latendresse [elatendre...@optimum-solutions.com]
Sent: Friday, January 23, 2009 13:10
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Creating SQL Database with WiX v3

I am creating a SQL database with my installer. Right now I have
approximately 9000 scripts to be run after the database is created. This
is taking around 20mins for the install to complete. Is there anything I
can do to speed this process up? I thought about running a  single
script to restore the database from a backup file of the database, but
thought I'd ask if there was a better way.



Eric Latendresse






--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] InstallExecuteSequence in a fragment?

2009-01-21 Thread Eitan Behar
Mmm, I was not aware of that, probably I didn't read the whole response to
the bug resolution 8^)

Well, in any case, when working with several Wixers, I prefer linking to a
dummy element and not to a real custom action, since that way I give 100%
flexibility to the wix fragment owner. But, well, this is just a matter of
taste.



-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Wednesday, January 21, 2009 9:15 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] InstallExecuteSequence in a fragment?

Eitan Behar wrote:
> What I did was to include an empty ComponentGroup in the fragment, and a
> reference to the component group from Product.wxs, this way I don't need
to
> set a CustomActionRef for every custom action.
>   

You don't need a CustomActionRef for every custom action, just one for 
the fragment. WiX links in whole fragments, so any one reference brings 
in the whole thing.

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




--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] InstallExecuteSequence in a fragment?

2009-01-21 Thread Eitan Behar
I posted a bug on this, but I got it classified as invalid, since you can
use CustomActionRef; as Bob wrote.

What I did was to include an empty ComponentGroup in the fragment, and a
reference to the component group from Product.wxs, this way I don't need to
set a CustomActionRef for every custom action.

Kind of:















-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Wednesday, January 21, 2009 6:42 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] InstallExecuteSequence in a fragment?

Jeremy Lew wrote:
> Problem is, the InstallSequence seems to be ignored.  I'm guessing that
> this is because it's not referenced in the Product element, which lives
> in a different file.  How can cause InstallSequences defined in
> fragments to be merged into the one in the Product?  Is the only way to
> use a .wxi include instead of a Fragment?  Why then is Fragment a valid
> parent for InstallSequence?
>   

CustomActionRef

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




--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] SQL Server 2008 Bootstrapper

2009-01-15 Thread Eitan Behar
Try using uppercase, I think that the exe is just a launcher for the msi and
it needs the properties uppercase (not sure)


-Original Message-
From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] 
Sent: Thursday, January 15, 2009 7:28 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] SQL Server 2008 Bootstrapper

I think SQL Server 2008 Bootstrapper has a problem or maybe I am missing
something here.




I force the bootstrapper to install as default Instance but it installs as a
SQLExpress named instance. Anyone encountered this problem.

Thanks,

Arun Perregattur

-Original Message-
From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com]
Sent: Wednesday, January 14, 2009 12:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] SQL Server 2008 Bootstrapper

Thanks for the link. I just submitted my suggestion.

Arun Perregattur


-Original Message-
From: David Reed [mailto:david.r...@microsoft.com]
Sent: Wednesday, January 14, 2009 12:16 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] SQL Server 2008 Bootstrapper

Great question, Arun. I can imagine a few possibilities, not the least of
which is the size and complexity of installations of SQL Server SKUs north
of Express, but I don't have intimate knowledge of the decision points. I
believe that the VS team owns the bootstrappers, so let them know what you'd
like to see in the future: http://connect.microsoft.com/VisualStudio



-Original Message-
From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com]
Sent: Wednesday, January 14, 2009 05:52
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] SQL Server 2008 Bootstrapper

Thank you. That's exactly what I am trying to do now. I created a Virtual PC
for XP installed VS 2008 Express SP1(what a pain). Copied the packages
folder from there to my development PC and deleted the Virtual PC.

Why can't Microsoft make those packages available for downloads for
non-Express editions..

Arun Perregattur

-Original Message-
From: David Reed [mailto:david.r...@microsoft.com]
Sent: Tuesday, January 13, 2009 4:50 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] SQL Server 2008 Bootstrapper

It's in the VS 2008 SP1 SKU... but not in the patches. Here's a workaround
from the Express team blog:
http://blogs.msdn.com/sqlexpress/archive/2008/09/12/faq-installing-the-sql-s
erver-2008-express-clickonce-bootstrapper-for-visual-studio-2008-sp1.aspx

HTH, Arun.



-Original Message-
From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com]
Sent: Tuesday, January 13, 2009 13:13
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] SQL Server 2008 Bootstrapper

I am looking for SQL Server 2008 and not SQL Server 2005.


Thanks,

Arun Perregattur


-----Original Message-
From: Eitan Behar [mailto:ei...@baconao.net]
Sent: Tuesday, January 13, 2009 3:44 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] SQL Server 2008 Bootstrapper

If you have Visual Studio it includes a Bootstrapper for SQL Server 2005
(C:\Program Files\Visual Studio 8\SDK\v2.0\Bootstrapper)


-Original Message-
From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com]
Sent: Tuesday, January 13, 2009 10:28 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] SQL Server 2008 Bootstrapper

Is there SQL Server 2008 Express Bootstrapper available.

http://wix.sourceforge.net/manual-wix3/install_dotnet.htm

the above link helped me to install Framework 3.5 and Windows Installer 3.1
now I am looking to for SQL Server 2008 Express.

Please let me know where I can find one.

Thanks,

Arun Perregattur


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.

Re: [WiX-users] Latest WiX v3.0.4909.0 and IIS on Windows 2003

2009-01-14 Thread Eitan Behar
Opened bug: 2508955

Thanks,

Eitan


-Original Message-
From: Mike Carlson (DEV DIV) [mailto:mica...@microsoft.com] 
Sent: Wednesday, January 14, 2009 10:48 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Latest WiX v3.0.4909.0 and IIS on Windows 2003

I've looked into this, and it seems this is an issue with the latest changes
I've made to the IIS custom action, to support Vista SP1.

I'm pretty sure I've tracked down the issue - please open a bug. Note that
this issue will occur in the latest version of WiX if you're using both IIS
and Util extensions, and you've associated one or more of your IIS elements
with a User.

Thanks,
Mike Carlson

-Original Message-
From: Rob Mensching [mailto:rob.mensch...@microsoft.com] 
Sent: Wednesday, January 14, 2009 9:18 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Latest WiX v3.0.4909.0 and IIS on Windows 2003

Nothing should be broken, but you do need to rebuild everything.  If you
have any .wixlibs or .wixobjs you need to do a full clean build from
scratch.

-----Original Message-
From: Eitan Behar [mailto:ei...@baconao.net]
Sent: Tuesday, January 13, 2009 22:39
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Latest WiX v3.0.4909.0 and IIS on Windows 2003

Hi,

I have just installed the latest Wix to find out that some of my existing
setups fail to install. Just notice that these setups work in the same
environment (Windows 2003 SP2) when built with previous version 3.5.4805.0.

Is there anything new in 4909 that broke compatibility and I need to change
my code?

These are the errors I am getting:

MSI (s) (9C:88) [08:03:14:506]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSIC0.tmp, Entrypoint: ConfigureIIsExec
ConfigureIIsExec:  Error 0x80070006: failed to open view on database with
SQL: SELECT `User`, `Component_`, `Name`, `Domain`, `Password` FROM `User`
WHERE `User`=?
ConfigureIIsExec:  Error 0x80070006: Failed to open view on User table
ConfigureIIsExec:  Error 0x80070006: failed to get user:
DBM_COMPONENT_WebPoolUser
ConfigureIIsExec:  Error 0x80070006: failed to read IIsAppPool table
MSI (s) (9C!5C) [08:06:23:757]: Product: dbMotion Generic Product -- Error
26006. Failed to read IIsAppPool table. (-2147024890 )

Notice that the User table is present:
DBM_COMPONENT_WebPoolUser  null
[COMP_USER_NAME] [COMP_USER_DOMAIN] [COMP_USER_PASSWORD] 0
and

MSI (s) (1C:54) [08:23:22:711]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI3B3.tmp, Entrypoint: ConfigureIIsExec
ConfigureIIsExec:  Error 0x80070006: failed to open view on database with
SQL: SELECT `User`, `Component_`, `Name`, `Domain`, `Password` FROM `User`
WHERE `User`=?
ConfigureIIsExec:  Error 0x80070006: Failed to open view on User table
ConfigureIIsExec:  Error 0x80070006: Failed to get User information for Web
ConfigureIIsExec:  Error 0x80070006: Failed to get web directory for
VirtualDir
ConfigureIIsExec:  Error 0x80070006: failed to read IIsWebVirtualDir table
MSI (s) (1C!18) [08:32:19:072]: Product: dbMotion BOT Service -- Error
26004. Failed to read IIsVirtualDirs table.  (-2147024890 )

Also here the user table is populated, also outside a Component.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Latest WiX v3.0.4909.0 and IIS on Windows 2003

2009-01-13 Thread Eitan Behar
Hi,

I have just installed the latest Wix to find out that some of my existing
setups fail to install. Just notice that these setups work in the same
environment (Windows 2003 SP2) when built with previous version 3.5.4805.0.

Is there anything new in 4909 that broke compatibility and I need to change
my code?

These are the errors I am getting:

MSI (s) (9C:88) [08:03:14:506]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSIC0.tmp, Entrypoint: ConfigureIIsExec
ConfigureIIsExec:  Error 0x80070006: failed to open view on database with
SQL: SELECT `User`, `Component_`, `Name`, `Domain`, `Password` FROM `User`
WHERE `User`=?
ConfigureIIsExec:  Error 0x80070006: Failed to open view on User table
ConfigureIIsExec:  Error 0x80070006: failed to get user:
DBM_COMPONENT_WebPoolUser
ConfigureIIsExec:  Error 0x80070006: failed to read IIsAppPool table
MSI (s) (9C!5C) [08:06:23:757]: Product: dbMotion Generic Product -- Error
26006. Failed to read IIsAppPool table. (-2147024890 )

Notice that the User table is present:
DBM_COMPONENT_WebPoolUser  null
[COMP_USER_NAME] [COMP_USER_DOMAIN] [COMP_USER_PASSWORD] 0
and

MSI (s) (1C:54) [08:23:22:711]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI3B3.tmp, Entrypoint: ConfigureIIsExec
ConfigureIIsExec:  Error 0x80070006: failed to open view on database with
SQL: SELECT `User`, `Component_`, `Name`, `Domain`, `Password` FROM `User`
WHERE `User`=?
ConfigureIIsExec:  Error 0x80070006: Failed to open view on User table
ConfigureIIsExec:  Error 0x80070006: Failed to get User information for Web
ConfigureIIsExec:  Error 0x80070006: Failed to get web directory for
VirtualDir
ConfigureIIsExec:  Error 0x80070006: failed to read IIsWebVirtualDir table
MSI (s) (1C!18) [08:32:19:072]: Product: dbMotion BOT Service -- Error
26004. Failed to read IIsVirtualDirs table.  (-2147024890 )

Also here the user table is populated, also outside a Component.
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] SQL Server 2008 Bootstrapper

2009-01-13 Thread Eitan Behar
If you have Visual Studio it includes a Bootstrapper for SQL Server 2005
(C:\Program Files\Visual Studio 8\SDK\v2.0\Bootstrapper)


-Original Message-
From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] 
Sent: Tuesday, January 13, 2009 10:28 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] SQL Server 2008 Bootstrapper

Is there SQL Server 2008 Express Bootstrapper available.

http://wix.sourceforge.net/manual-wix3/install_dotnet.htm

the above link helped me to install Framework 3.5 and Windows Installer 3.1
now I am looking to for SQL Server 2008 Express.

Please let me know where I can find one.

Thanks,

Arun Perregattur


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Message Queues

2008-12-29 Thread Eitan Behar
Maybe this is a little too late, but I have a working code for creating
msmq. Let me know if this is still relevant.




On Wed, Nov 5, 2008 at 9:34 PM, David Gonzalez  wrote:

> Greetings to all,
> I've been working with Message Queues lately, and have managed to find some
> helpful examples online. As up front as the msmq:MessageQueue element looks,
> I haven't found or coded an example that works for me. I am currently using
> Windows Server 2003 and was wondering if anyone had a working example lying
> around that I could use as reference or any type of problems anyone else has
> experienced.
>
> Heres the code for my message queues:
> 
> Guid="dca22afe-482b-4eae-a50b-dc92d8a396aa"
> Directory="APPLICATIONROOTDIRECTORY" KeyPath="yes">
>   PathName="[ComputerName]\Private$" Label="MyQueue" Transactional="yes">
>  
> 
> 
>
> Is there anything I'm missing o needs modification.
>
> Thank You,
> David Gonzalez
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix#

2008-12-18 Thread Eitan Behar
Phil's book is excellent - don't know if it's the best one, I haven't read
them all 8^)




On Thu, Dec 18, 2008 at 1:11 PM, Jody Belka  wrote:

> Hmm. Need to start playing about with Wix at the Wix level first anyway I
> think :)
>
> On a slightly different matter, is the Windows Installer book by Phil
> Wilson the best one to get to help get a good understanding of the
> underlying technology?
>
>
>
> On Wed, Dec 17, 2008 at 01:02:45PM -0800, Rob Mensching wrote:
> > It's kinda' neat to see other languages built on top of the WiX language
> (if WiX is a 4GL, does that make them 5GL)?  ClickThrough is one example of
> a higher language in the WiX toolset but it still uses XML... which seems to
> be a negative for some people.  I don't care for the syntax presented in
> WixSharp and would much take the VS Intellisense for XML any day.  But I
> obviously don't have issues with angle brackets. 
> >
> > The thing to ensure is that the higher level languages are still
> generating correct code.  I was a little concerned by the articles about
> WixSharp because the example WiX code was not very good.  If the higher
> level language generates that kind of WiX code then your trading off new
> syntax for subpar output.  Not a trade I would make... but I obviously don't
> have issues with angle brackets.  
> >
> >
> > -Original Message-
> > From: Jody Belka [mailto:lists-...@pimb.org]
> > Sent: Wednesday, December 17, 2008 08:24
> > To: wix-users@lists.sourceforge.net
> > Subject: [WiX-users] Wix#
> >
> > Haven't played about with it myself at all, but was wondering if anyone
> > else had seen this recent project? Looks intriguing.
> >
> > http://www.codeproject.com/KB/install/WixSharpArticle.aspx
> >
> > http://www.csscript.net/WixSharp.html
> >
> >
> >
> > J
> > --
> > Jody Belka
> > knew (at) pimb (dot) org
> >
> >
> --
> > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> > The future of the web can't happen without you.  Join us at MIX09 to help
> > pave the way to the Next Web now. Learn more and register at
> >
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
> --
> > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> > The future of the web can't happen without you.  Join us at MIX09 to help
> > pave the way to the Next Web now. Learn more and register at
> >
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> --
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
>
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WebSite is getting deleted when msi uninstalled.

2008-12-18 Thread Eitan Behar
If you are creating the Website (not just referencing to the Default Web
Site), set its component as permanent, and create the virtual directories in
different components.



On Thu, Dec 18, 2008 at 8:12 AM, Kalvagadda, SivaKrishna (MLX Technology) <
sivakrishna_kalvaga...@ml.com> wrote:

> Hi,
>
> I am facing a problem with creating virtual directories under IIS.
> When I install the package Website is been created by MSI like charm.
> But when I uninstall the same MSI it is deleting the website also along
> with virtual directories.
>
> But my requirement is not to delete website but only virtual directories
> only.
>
> Thanks.
>
> Regards,
> Siva,
> 201-671-5552.
>
> --
> This message w/attachments (message) may be privileged, confidential or
> proprietary, and if you are not an intended recipient, please notify the
> sender, do not use or share it and delete it. Unless specifically indicated,
> this message is not an offer to sell or a solicitation of any investment
> products or other financial product or service, an official confirmation of
> any transaction, or an official statement of Merrill Lynch. Subject to
> applicable law, Merrill Lynch may monitor, review and retain
> e-communications (EC) traveling through its networks/systems. The laws of
> the country of each sender/recipient may impact the handling of EC, and EC
> may be archived, supervised and produced in countries other than the country
> in which you are located. This message cannot be guaranteed to be secure or
> error-free. This message is subject to terms available at the following
> link: http://www.ml.com/e-communications_terms/. By messaging with Merrill
> Lynch you consent to the foregoing.
> --
>
>
>
> --
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
>
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Very slow performance running SQL Scripts

2008-12-10 Thread Eitan Behar
Actually if I don't run the 100k one, the package runs just fine. I cannot test 
the 100k alone since it needs the whole sequence to be installed before. 

Currently I keep investigating this out of "curiosity" since due to some 
requirements I had to move to Neil's approach using sqlcmd directly (replaces, 
logging, timeout, etc). - By the way, I found out that the SQL client is a 
standalone msi which does not need the whole SQL "monster".

If there is anything that you can suggest to try to single out the performance 
degradation, just let me know, I will be glad to try it here, I have plenty of 
VMs with SQL running on them 8^)




-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 10, 2008 7:09 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Very slow performance running SQL Scripts

And is it just the last one (100k) that is slow?  Or is the 60k slow as well?  
I hope the 2K are okay.  



-----Original Message-
From: Eitan Behar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2008 22:30
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Very slow performance running SQL Scripts

6 scripts, 4 of them around 2k rows, 1 60k rows, and the last one ...100k rows!

We don't create the scripts manually, we load the databases with data, and then 
use Red Gate to generate the SQL scripts.



-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2008 1:00 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Very slow performance running SQL Scripts

How much text (without comments) are in these SQL Scripts again?

-Original Message-
From: Eitan Behar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2008 06:58
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Very slow performance running SQL Scripts

I have done a little research, and while I cannot reach any conclusion, at
least this may help to find a lead:

1. Running the scripts using sqlcmd on custom actions (using Neils' code -
thanks Neil) gives that the scripts run in less than 10mins (I am running
half of the original scripts). This is the partial log:
Action start 15:17:09: INSTALL.
Action start 15:17:11: CreateDatabase.
Action ended 15:17:11: CreateDatabase. Return value 1.
MSI (s) (24:C0) [15:19:59:731]: Executing op:
ActionStart(Name=VCDRData__22a_dbmVCDRData_Data.sql,,)
MSI (s) (24:C0) [15:27:35:370]: Executing op:
DatabaseCopy(DatabasePath=C:\WINDOWS\Installer\2528232f.msi,ProductCode={D31FEBAF-1B14-45C8-800E-6F80E658FF94},CabinetStreams=CAB001.cab,,)
Action ended 15:27:35: InstallFinalize.

2. Running the same scripts using SqlScripts take around 30 mins (using all
the scripts the time increase exponentially)
Action start 16:24:20: INSTALL.
Action start 16:24:24: CreateDatabase.
MSI (s) (48!5C) [16:41:00:894]: PROPERTY CHANGE: Adding ExecuteSqlStrings
property. Its value is (...) (very log text)
Action ended 16:24:24: CreateDatabase. Return value 1.
MSI (s) (48!5C) [16:41:00:972]: Doing action: ExecuteSqlStrings
MSI (s) (48:94) [16:41:24:916]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI4D5.tmp, Entrypoint: ExecuteSqlStrings
and still running
The database creation process is common for both setups. Therefore, the
script handling is my suspect. It seems to be that the loading of the sql
scripts into ExecuteSqlStrings (see MSI (s) (48!5C) [16:41:00:894]: PROPERTY
CHANGE) is what is taking so long.

Hope this helps,

Eitan



On Mon, Dec 8, 2008 at 9:02 PM, Rob Mensching
<[EMAIL PROTECTED]>wrote:

> Sounds like it might be a performance problem in the SQL CustomActions.
>  Can you look in a verbose log file and see what actions are taking the
> longest?  Breakdown of details will help us target the things that are
> actually slow.
>
> -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 07, 2008 12:21
> To: 'General discussion for Windows Installer XML toolset.'
> Subject: Re: [WiX-users] Very slow performance running SQL Scripts
>
> I haven't tried that, I will check tomorrow morning, but I think that they
> will run also fast. I tried the same scripts on Install Shield 12 and they
> take around 10 mins to run.
>
>
>
> -Original Message-
> From: Joe Osman [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 07, 2008 10:00 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Very slow performance running SQL Scripts
>
> Hi Eitan,
> How much does it take for your script to run if you use sqlcmd from the
> command window?
>
> Eitan Behar wrote:
> > Hi,
> >
> > I am having a serious performance problem with SQL 

Re: [WiX-users] Very slow performance running SQL Scripts

2008-12-09 Thread Eitan Behar
6 scripts, 4 of them around 2k rows, 1 60k rows, and the last one ...100k rows!

We don't create the scripts manually, we load the databases with data, and then 
use Red Gate to generate the SQL scripts.



-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 10, 2008 1:00 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Very slow performance running SQL Scripts

How much text (without comments) are in these SQL Scripts again?

-Original Message-
From: Eitan Behar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2008 06:58
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Very slow performance running SQL Scripts

I have done a little research, and while I cannot reach any conclusion, at
least this may help to find a lead:

1. Running the scripts using sqlcmd on custom actions (using Neils' code -
thanks Neil) gives that the scripts run in less than 10mins (I am running
half of the original scripts). This is the partial log:
Action start 15:17:09: INSTALL.
Action start 15:17:11: CreateDatabase.
Action ended 15:17:11: CreateDatabase. Return value 1.
MSI (s) (24:C0) [15:19:59:731]: Executing op:
ActionStart(Name=VCDRData__22a_dbmVCDRData_Data.sql,,)
MSI (s) (24:C0) [15:27:35:370]: Executing op:
DatabaseCopy(DatabasePath=C:\WINDOWS\Installer\2528232f.msi,ProductCode={D31FEBAF-1B14-45C8-800E-6F80E658FF94},CabinetStreams=CAB001.cab,,)
Action ended 15:27:35: InstallFinalize.

2. Running the same scripts using SqlScripts take around 30 mins (using all
the scripts the time increase exponentially)
Action start 16:24:20: INSTALL.
Action start 16:24:24: CreateDatabase.
MSI (s) (48!5C) [16:41:00:894]: PROPERTY CHANGE: Adding ExecuteSqlStrings
property. Its value is (...) (very log text)
Action ended 16:24:24: CreateDatabase. Return value 1.
MSI (s) (48!5C) [16:41:00:972]: Doing action: ExecuteSqlStrings
MSI (s) (48:94) [16:41:24:916]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI4D5.tmp, Entrypoint: ExecuteSqlStrings
and still running
The database creation process is common for both setups. Therefore, the
script handling is my suspect. It seems to be that the loading of the sql
scripts into ExecuteSqlStrings (see MSI (s) (48!5C) [16:41:00:894]: PROPERTY
CHANGE) is what is taking so long.

Hope this helps,

Eitan



On Mon, Dec 8, 2008 at 9:02 PM, Rob Mensching
<[EMAIL PROTECTED]>wrote:

> Sounds like it might be a performance problem in the SQL CustomActions.
>  Can you look in a verbose log file and see what actions are taking the
> longest?  Breakdown of details will help us target the things that are
> actually slow.
>
> -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 07, 2008 12:21
> To: 'General discussion for Windows Installer XML toolset.'
> Subject: Re: [WiX-users] Very slow performance running SQL Scripts
>
> I haven't tried that, I will check tomorrow morning, but I think that they
> will run also fast. I tried the same scripts on Install Shield 12 and they
> take around 10 mins to run.
>
>
>
> -Original Message-
> From: Joe Osman [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 07, 2008 10:00 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Very slow performance running SQL Scripts
>
> Hi Eitan,
> How much does it take for your script to run if you use sqlcmd from the
> command window?
>
> Eitan Behar wrote:
> > Hi,
> >
> > I am having a serious performance problem with SQL Scripts, and would
> > appreciate some help troubleshooting it.
> >
> > This is the scenario: Use WIX to create the database, use script (within
> the
> > component creating the database) changing database properties, use
> > scripts on different component to create tables, and fill data, some
> scripts
> > are pretty big (70k+ rows).
> >
> > If I do the process from SQL Studio, it takes barely 5 minutes, from WIX
> it
> > takes more than 1 hour 
> >
> > Here is the log:
> >
> > MSI (s) (6C!7C) [13:26:04:695]: Doing action: CreateDatabase
> > Action start *13:26*:04: CreateDatabase.
> > MSI (s) (6C!7C) [*13:56*:42:069]: PROPERTY CHANGE: Adding
> ExecuteSqlStrings
> > property. Its value is
> > 'MyData_SQL_DB€RDDP-VM29€€master€-2147483648€1€€€01_properties.sql€1€USE
> > [master]€Data_properties.sql€1€EXEC dbo.sp_dbcmptlevel
> @dbname=N'AuxData',
> > @new_cmptlevel=90€AuxData_properties.sql€1€IF (1 =
> > FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
> > begin
> > EXEC [AuxData].[dbo].[sp_fulltext_database] @action = 'enable'
> > end (...) ALTER DATABASE [AuxData] 

Re: [WiX-users] Very slow performance running SQL Scripts

2008-12-09 Thread Eitan Behar
I have done a little research, and while I cannot reach any conclusion, at
least this may help to find a lead:

1. Running the scripts using sqlcmd on custom actions (using Neils' code -
thanks Neil) gives that the scripts run in less than 10mins (I am running
half of the original scripts). This is the partial log:
Action start 15:17:09: INSTALL.
Action start 15:17:11: CreateDatabase.
Action ended 15:17:11: CreateDatabase. Return value 1.
MSI (s) (24:C0) [15:19:59:731]: Executing op:
ActionStart(Name=VCDRData__22a_dbmVCDRData_Data.sql,,)
MSI (s) (24:C0) [15:27:35:370]: Executing op:
DatabaseCopy(DatabasePath=C:\WINDOWS\Installer\2528232f.msi,ProductCode={D31FEBAF-1B14-45C8-800E-6F80E658FF94},CabinetStreams=CAB001.cab,,)
Action ended 15:27:35: InstallFinalize.

2. Running the same scripts using SqlScripts take around 30 mins (using all
the scripts the time increase exponentially)
Action start 16:24:20: INSTALL.
Action start 16:24:24: CreateDatabase.
MSI (s) (48!5C) [16:41:00:894]: PROPERTY CHANGE: Adding ExecuteSqlStrings
property. Its value is (...) (very log text)
Action ended 16:24:24: CreateDatabase. Return value 1.
MSI (s) (48!5C) [16:41:00:972]: Doing action: ExecuteSqlStrings
MSI (s) (48:94) [16:41:24:916]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI4D5.tmp, Entrypoint: ExecuteSqlStrings
and still running
The database creation process is common for both setups. Therefore, the
script handling is my suspect. It seems to be that the loading of the sql
scripts into ExecuteSqlStrings (see MSI (s) (48!5C) [16:41:00:894]: PROPERTY
CHANGE) is what is taking so long.

Hope this helps,

Eitan



On Mon, Dec 8, 2008 at 9:02 PM, Rob Mensching
<[EMAIL PROTECTED]>wrote:

> Sounds like it might be a performance problem in the SQL CustomActions.
>  Can you look in a verbose log file and see what actions are taking the
> longest?  Breakdown of details will help us target the things that are
> actually slow.
>
> -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 07, 2008 12:21
> To: 'General discussion for Windows Installer XML toolset.'
> Subject: Re: [WiX-users] Very slow performance running SQL Scripts
>
> I haven't tried that, I will check tomorrow morning, but I think that they
> will run also fast. I tried the same scripts on Install Shield 12 and they
> take around 10 mins to run.
>
>
>
> -Original Message-
> From: Joe Osman [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 07, 2008 10:00 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Very slow performance running SQL Scripts
>
> Hi Eitan,
> How much does it take for your script to run if you use sqlcmd from the
> command window?
>
> Eitan Behar wrote:
> > Hi,
> >
> > I am having a serious performance problem with SQL Scripts, and would
> > appreciate some help troubleshooting it.
> >
> > This is the scenario: Use WIX to create the database, use script (within
> the
> > component creating the database) changing database properties, use
> > scripts on different component to create tables, and fill data, some
> scripts
> > are pretty big (70k+ rows).
> >
> > If I do the process from SQL Studio, it takes barely 5 minutes, from WIX
> it
> > takes more than 1 hour 
> >
> > Here is the log:
> >
> > MSI (s) (6C!7C) [13:26:04:695]: Doing action: CreateDatabase
> > Action start *13:26*:04: CreateDatabase.
> > MSI (s) (6C!7C) [*13:56*:42:069]: PROPERTY CHANGE: Adding
> ExecuteSqlStrings
> > property. Its value is
> > 'MyData_SQL_DB€RDDP-VM29€€master€-2147483648€1€€€01_properties.sql€1€USE
> > [master]€Data_properties.sql€1€EXEC dbo.sp_dbcmptlevel
> @dbname=N'AuxData',
> > @new_cmptlevel=90€AuxData_properties.sql€1€IF (1 =
> > FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
> > begin
> > EXEC [AuxData].[dbo].[sp_fulltext_database] @action = 'enable'
> > end (...) ALTER DATABASE [AuxData] SET AUTO_CLOSE OFF...
> > Action ended *13:26:04*: CreateDatabase. Return value 1.
> > MSI (s) (6C!7C) [*13:56:42*:132]: Doing action: ExecuteSqlStrings
> > Action start 13:56:42: ExecuteSqlStrings.
> > Action ended 13:56:42: ExecuteSqlStrings. Return value 1.
> >
> > Thanks,
> >
> > Eitan
> >
> > (BTW, I just installed the latest 3.0.x version, but happened also with
> > previous ones)
> >
> --
> > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> > The future of the web can't happen without you.  Join us at MIX09 to help
> > pave the way

Re: [WiX-users] Very slow performance running SQL Scripts

2008-12-07 Thread Eitan Behar
I haven't tried that, I will check tomorrow morning, but I think that they will 
run also fast. I tried the same scripts on Install Shield 12 and they take 
around 10 mins to run.



-Original Message-
From: Joe Osman [mailto:[EMAIL PROTECTED] 
Sent: Sunday, December 07, 2008 10:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Very slow performance running SQL Scripts

Hi Eitan,
How much does it take for your script to run if you use sqlcmd from the 
command window?

Eitan Behar wrote:
> Hi,
>
> I am having a serious performance problem with SQL Scripts, and would
> appreciate some help troubleshooting it.
>
> This is the scenario: Use WIX to create the database, use script (within the
> component creating the database) changing database properties, use
> scripts on different component to create tables, and fill data, some scripts
> are pretty big (70k+ rows).
>
> If I do the process from SQL Studio, it takes barely 5 minutes, from WIX it
> takes more than 1 hour 
>
> Here is the log:
>
> MSI (s) (6C!7C) [13:26:04:695]: Doing action: CreateDatabase
> Action start *13:26*:04: CreateDatabase.
> MSI (s) (6C!7C) [*13:56*:42:069]: PROPERTY CHANGE: Adding ExecuteSqlStrings
> property. Its value is
> 'MyData_SQL_DB€RDDP-VM29€€master€-2147483648€1€€€01_properties.sql€1€USE
> [master]€Data_properties.sql€1€EXEC dbo.sp_dbcmptlevel @dbname=N'AuxData',
> @new_cmptlevel=90€AuxData_properties.sql€1€IF (1 =
> FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
> begin
> EXEC [AuxData].[dbo].[sp_fulltext_database] @action = 'enable'
> end (...) ALTER DATABASE [AuxData] SET AUTO_CLOSE OFF...
> Action ended *13:26:04*: CreateDatabase. Return value 1.
> MSI (s) (6C!7C) [*13:56:42*:132]: Doing action: ExecuteSqlStrings
> Action start 13:56:42: ExecuteSqlStrings.
> Action ended 13:56:42: ExecuteSqlStrings. Return value 1.
>
> Thanks,
>
> Eitan
>
> (BTW, I just installed the latest 3.0.x version, but happened also with
> previous ones)
> --
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>   

===
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
===


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Very slow performance running SQL Scripts

2008-12-07 Thread Eitan Behar
Hi,

I am having a serious performance problem with SQL Scripts, and would
appreciate some help troubleshooting it.

This is the scenario: Use WIX to create the database, use script (within the
component creating the database) changing database properties, use
scripts on different component to create tables, and fill data, some scripts
are pretty big (70k+ rows).

If I do the process from SQL Studio, it takes barely 5 minutes, from WIX it
takes more than 1 hour 

Here is the log:

MSI (s) (6C!7C) [13:26:04:695]: Doing action: CreateDatabase
Action start *13:26*:04: CreateDatabase.
MSI (s) (6C!7C) [*13:56*:42:069]: PROPERTY CHANGE: Adding ExecuteSqlStrings
property. Its value is
'MyData_SQL_DB€RDDP-VM29€€master€-2147483648€1€€€01_properties.sql€1€USE
[master]€Data_properties.sql€1€EXEC dbo.sp_dbcmptlevel @dbname=N'AuxData',
@new_cmptlevel=90€AuxData_properties.sql€1€IF (1 =
FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [AuxData].[dbo].[sp_fulltext_database] @action = 'enable'
end (...) ALTER DATABASE [AuxData] SET AUTO_CLOSE OFF...
Action ended *13:26:04*: CreateDatabase. Return value 1.
MSI (s) (6C!7C) [*13:56:42*:132]: Doing action: ExecuteSqlStrings
Action start 13:56:42: ExecuteSqlStrings.
Action ended 13:56:42: ExecuteSqlStrings. Return value 1.

Thanks,

Eitan

(BTW, I just installed the latest 3.0.x version, but happened also with
previous ones)
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem setting dynamic values for website

2008-12-05 Thread Eitan Behar
Don't know 

-Original Message-
From: ultraplop [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 05, 2008 6:11 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem setting dynamic values for website


Okay, yes that was a very basic syntax problem!  It works perfectly now,
thanks for the help; this will also help for prompting the user for other
values.  If you don't mind I would like to ask a high level question:

For my next project I am going to have more UI functionality for selecting
web sites.  I would like to have a pulldown control that scans the target
machine for the available web sites and allows the user to select one.  The
custom functionality would then install the new web app under this site. 
Does wix already have this functionality or would I have to plug in a custom
dll that would talk to IIS?



Eitan Behar-3 wrote:
> 
> You have missing []: 
> 
> 
> 
> 
>  Description='BuildAutomation'>
>IP="[WEBSITEIP]"/>
> 
> 
> 
> -Original Message-
> From: ultraplop [mailto:[EMAIL PROTECTED] 
> Sent: Friday, December 05, 2008 4:56 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Problem setting dynamic values for website
> 
> 
> Hello,
> 
> I am a new wix user and I am creating an installer for a web application. 
> One requirement is that the installer should allow the web app to be
> installed to any website specified.  In my first iteration of the
> installer
> I am just going to have text boxes that allow for the user to enter IP and
> port of their target website..  (Eventually I would like to create a UI
> dialog that allows the user to select from a pulldown similar to the VS
> web
> setup project)
> 
> In any case Wix is not accepting variables.  Sample A has hardcoded values
> and works just fine.  Sample B returns an error during install that it
> can't
> read the IISwebsite table.  Also, I have customized the UI so that those
> properties are populated as the default text in my UI text boxes.  I do in
> fact see the proper values during the install, however Wix is clearly not
> using them.  The intention is that the user could type over the values to
> input thier own and install the application anywhere they want.
> 
> This could be something very simple that I am missing, but I can't find
> any
> examples anywhere that handle websites in a dynamic fashion.  Can anyone
> let
> me know why sample A works, but sample B does not?
> 
> Thanks
> 
> 
> Sample A (Works)
> 
>  Description='BuildAutomation'>
>   
> 
> 
> Sample B (Does not work)
> 
> 
> 
> 
>  Description='BuildAutomation'>
>/>
> 
> -- 
> View this message in context:
>
http://n2.nabble.com/Problem-setting-dynamic-values-for-website-tp1618681p16
> 18681.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
>

> --
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
>
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
>

--
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
>
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context:
http://n2.nabble.com/Problem-setting-dynamic-values-for-website-tp1618681p16
19008.html
Sent from the wix-users mailing list archive at Nabble.com.



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@l

Re: [WiX-users] Problem setting dynamic values for website

2008-12-05 Thread Eitan Behar
You have missing []: 





  



-Original Message-
From: ultraplop [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 05, 2008 4:56 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem setting dynamic values for website


Hello,

I am a new wix user and I am creating an installer for a web application. 
One requirement is that the installer should allow the web app to be
installed to any website specified.  In my first iteration of the installer
I am just going to have text boxes that allow for the user to enter IP and
port of their target website..  (Eventually I would like to create a UI
dialog that allows the user to select from a pulldown similar to the VS web
setup project)

In any case Wix is not accepting variables.  Sample A has hardcoded values
and works just fine.  Sample B returns an error during install that it can't
read the IISwebsite table.  Also, I have customized the UI so that those
properties are populated as the default text in my UI text boxes.  I do in
fact see the proper values during the install, however Wix is clearly not
using them.  The intention is that the user could type over the values to
input thier own and install the application anywhere they want.

This could be something very simple that I am missing, but I can't find any
examples anywhere that handle websites in a dynamic fashion.  Can anyone let
me know why sample A works, but sample B does not?

Thanks


Sample A (Works)


  


Sample B (Does not work)





  

-- 
View this message in context:
http://n2.nabble.com/Problem-setting-dynamic-values-for-website-tp1618681p16
18681.html
Sent from the wix-users mailing list archive at Nabble.com.



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] XmlConfig (again)

2008-12-05 Thread Eitan Behar
Is [!FileId] the same as [#FileId] ?



-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 05, 2008 3:19 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] XmlConfig (again)

Does "C:\temp\settings.xml" actually exist on the target machine?  It is
very unusual to have a hard coded path.  Usually people use a File reference
(aka: [!FileId]) to target a file that is installed.

-Original Message-
From: md5hans [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2008 04:39
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] XmlConfig (again)


Hi!

I'm not so good at interpreting msi log but i think the component
CustomAction.ModifyPacketXml is installed

verbose log:

MSI (s) (14:50) [08:22:52:762]: Doing action: InstallValidate
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: ActionText
Action start 08:22:52: InstallValidate.
MSI (s) (14:50) [08:22:52:762]: Feature: Complete; Installed: Absent;
Request: Local;   Action: Local
MSI (s) (14:50) [08:22:52:762]: Component: Dummy; Installed: Absent;
Request: Local;   Action: Local
MSI (s) (14:50) [08:22:52:762]: Component: CustomAction.ModifyPacketXml;
Installed: Absent;   Request: Local;   Action: Local
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: Registry
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: BindImage
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: ProgId
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: PublishComponent
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: SelfReg
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: Extension
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: Font
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: Shortcut
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: Class
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: _RemoveFilePath
MSI (s) (14:50) [08:22:52:762]: PROPERTY CHANGE: Modifying CostingComplete
property. Its current value is '0'. Its new value: '1'.
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: Registry
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: BindImage
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: ProgId
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: PublishComponent
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: SelfReg
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: Extension
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: Font
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: Shortcut
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2:  3: Class
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2727 2:
MSI (s) (14:50) [08:22:52:762]: Note: 1: 2727 2:
Action ended 08:22:52: InstallValidate. Return value 1.




Rob Mensching-2 wrote:
>
> Look in a verbose log file and check that your Component is actually being
> installed.
>

--
View this message in context:
http://n2.nabble.com/XmlConfig-%28again%29-tp1617441p1618162.html
Sent from the wix-users mailing list archive at Nabble.com.



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error 2229 when initiating a minor upgrade (when upgrading an installation based on a transform).

2008-12-05 Thread Eitan Behar
Just a thought, are the sql strings/scripts plain ASCII/UTF-8, or you have 
special encoding there?


-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 05, 2008 3:10 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 2229 when initiating a minor upgrade (when 
upgrading an installation based on a transform).

The following is very bad:

MSI (c) (08:7C) [22:13:14:100]: Database string pool is corrupted.

Nothing will work correctly if the strings in the MSI are corrupted.  I have no 
idea what corrupted them.

-Original Message-
From: Ali-Akber Saifee [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2008 04:49
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Error 2229 when initiating a minor upgrade (when 
upgrading an installation based on a transform).

Hi,

There's a whole bunch of statements with "Database string pool is
corrupted.".
Finally there's :

"Er is een onverwachte fout opgetreden tijdens de installatie van dit
pakket. Dit kan wijzen op een probleem met dit pakket. De foutcode is 2229.
De argumenten zijn: , Control,
SELECT `Control`, `Type`, `X`, `Y`, `Width`, `Height`, `Attributes`,
`Property`, `Text`, `Control_Next`, `Help` FROM `Control` WHERE `Dialog_`=?
MSI (c) (08:7C) [22:13:23:512]: Transforming table Error.
MSI (c) (08:7C) [22:13:23:513]: Product: muvee Reveal -- Er is een
onverwachte fout opgetreden tijdens de installatie van dit pakket. Dit kan
wijzen op een probleem met dit pakket. De foutcode is 2229. De argumenten
zijn: , Control, SELECT `Control`, `Type`, `X`, `Y`, `Width`, `Height`,
`Attributes`, `Property`, `Text`, `Control_Next`, `Help` FROM `Control`
WHERE `Dialog_`=?
Actie beëindigd 22:13:23: FatalError. Retourwaarde 3."

But that's in dutch :)

I'm not sure if i can attach the entire log.. but I can send that privately.


another observations, running the upgrade with basic ui (/qb) works fine.

rgrds,
./Ali
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [WIX-Users] Not allowed to installer a folder with spaces in it?

2008-12-01 Thread Eitan Behar
Hi Peter,

Directory refers to a Directory Id, therefore it cannot contains spaces.

What you want to accomplish is:


  

   
   
   
 
   
 




On Tue, Dec 2, 2008 at 8:11 AM, Peter McClymont
<[EMAIL PROTECTED]>wrote:

> Hi All,
>
> I have this code snippet in my WIX script,
>
> 
>   Guid="FF63AA3E-C02D-11DD-AD5B-1C9356D89593">
>
>
>
>  
>
>
> Which should create a directory called
>
> Documents\My iCalibra Flow Plans
>
> Instead when I compile it I get an error,
>
> The CreateFolder/@Directory attribute's value, 'My iCalibra Flow Plans', is
> not a legal identifier.  Identifiers may contain ASCII characters A-Z, a-z,
> digits, underscores (_), or periods (.).  Every identifier must begin with
> either a letter or an underscore.
> C:\Dev\iC3\Source\iC3InstallerWIX\Product.wxs
>
> Is there any way around this?
>
> Thanks,
>
> Peter.
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Overwrite GAC Assembly

2008-11-28 Thread Eitan Behar
Hi Sujanakar,

The DLL will be replaced in the GAC if the file assembly version is newer.
Notice that the WIX default is to include only the assembly version. Use the
linker option -fv  - If you are using Visual Studio, open the project
properties, go to Tools, and add -fv for the linker.

Regards

Eitan


-Original Message-
From: sujanakar reddy [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 28, 2008 10:55 AM
To: WixUsers
Subject: [WiX-users] Overwrite GAC Assembly


Hi,
 
I am developing an installer using Wix3, I want to deploy an Assembly to GAC
thru my isntaller. The problem is the installer is not installing the
assembly to GAC, if it already exist. I want to uninstall the existing
assembly and install the one shipped with my application to GAC.
 
Here is the codesnippet what I have written to install the assembly to task:







 
 
Thanks,
Sujanakar
_
Searching for weekend getaways? Try Live.com
http://www.live.com/?scope=video&form=MICOAL
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR

2008-11-24 Thread Eitan Behar
Why don't you include the EXE and the DLL as well in the Binary table ? If your 
file is only needed for maintenance (install, repair, uninstall), then do not 
deploy it.

If I remember correctly, all files in the Binary table are extracted to the 
same folder during (un)installation.



-Original Message-
From: Love88Keys [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 25, 2008 12:54 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR


Well, I think I didn´t point my problem exactly.

I´ve got an EXE which ist only needed during install, uninstall or modify
process. My first idea was -of course- to do a CustomAction with BinaryKey.
But :
1. the EXE requires a dll and I don´t know how to refer to that.
2. I´m not shure if my EXE is still available if the Setup.msi is removed
from the system. 

So I decided to install the EXE plus dll and use FileKey. Works good, but on
uninstall nothing happens or - other case - the compiler shows me an error
"Unresolved reference". Just depending on when I set the CA
Before='LaunchCondition' or After='InstallFinalize' or something between but
I didn´t check everything out.

Thanks, Michael



-- 
View this message in context: 
http://n2.nabble.com/Custom-Action---start-exe-inside-my-INSTALLDIR-tp1568179p1574154.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Sql connection timeout

2008-11-24 Thread Eitan Behar
Great. I will add the request, definitely !


On Mon, Nov 24, 2008 at 6:12 PM, Rob Mensching
<[EMAIL PROTECTED]>wrote:

> Feel free to file a feature request.  Seems like something that should be
> configurable.
>
> -Original Message-----
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 24, 2008 07:23
> To: General discussion for Windows Installer XML toolset.
>  Subject: Re: [WiX-users] Sql connection timeout
>
> Just to close this case:  - in case somebody is watching -
>
> I reviewed the SQL custom actions in detail and the timeout IS NOT
> specified. Although in most OLEDBSQL implementations (VB, 
> ADO.NET<http://ado.net/>,
> etc), the
> default seems to be something between 15-60 secs, C++ seems to set the
> default to 0 - no limits -
>
> In order to have a "real life" test I put to run an infinite loop script,
> so
> far it has been running for 3 hours (I plan to leave it running until
> tomorrow morning). I took the same script into InstallShield with the
> default timeout (30 secs), and I got the timeout error message as expected.
>
> Eitan
>
>
>
> On Thu, Nov 20, 2008 at 6:58 PM, Rob Mensching
> <[EMAIL PROTECTED]>wrote:
>
> > 1.  No idea what the default is.
> >
> > 2.  No ability to change it in the CustomActions.
> >
> > -Original Message-
> > From: Eitan Behar [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, November 20, 2008 05:49
> > To: General discussion for Windows Installer XML toolset.
> > Subject: [WiX-users] Sql connection timeout
> >
> > Hi,
> >
> > Please, do you know what is the default timeout for the Sql connections ?
> > And if there is an attribute to change it?
> >
> > Thanks,
> >
> > Eitan
> > -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> > -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Sql connection timeout

2008-11-24 Thread Eitan Behar
Just to close this case:  - in case somebody is watching -

I reviewed the SQL custom actions in detail and the timeout IS NOT
specified. Although in most OLEDBSQL implementations (VB, ADO.NET, etc), the
default seems to be something between 15-60 secs, C++ seems to set the
default to 0 - no limits -

In order to have a "real life" test I put to run an infinite loop script, so
far it has been running for 3 hours (I plan to leave it running until
tomorrow morning). I took the same script into InstallShield with the
default timeout (30 secs), and I got the timeout error message as expected.

Eitan



On Thu, Nov 20, 2008 at 6:58 PM, Rob Mensching
<[EMAIL PROTECTED]>wrote:

> 1.  No idea what the default is.
>
> 2.  No ability to change it in the CustomActions.
>
> -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 20, 2008 05:49
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Sql connection timeout
>
> Hi,
>
> Please, do you know what is the default timeout for the Sql connections ?
> And if there is an attribute to change it?
>
> Thanks,
>
> Eitan
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR

2008-11-23 Thread Eitan Behar
Hi Michael,

There are a few methods to execute a file using a custom action. Basically,
it depends whether you are deploying the file, have it on the binary table,
or the file already exists. According to your email, you are deploying the
file with your installation. Therefore, the simplest approach is to use the
FileKey attribute in the custom action to reference to your file. Also, you
must schedule the ca after the files are copied, i.e.
After="InstallFinalize". See below: - I tested this on my machine to be sure
it works :^)




 
   
   
  






Not REMOVE








On Sun, Nov 23, 2008 at 9:45 PM, cemiles <[EMAIL PROTECTED]> wrote:

>
> ...
>
>  FileKey="Notepad.exe" Return="asyncNoWait"
> ExeCommand='"[INSTALLDIR]Notepad.exe"' />
>
> 
>
>
> Love88Keys wrote:
> >
> > I´ve read part of Wix-Tutorial "http://www.tramontana.co.hu/wix.."; about
> > how to start an exe-file which is already installed on the system. The
> > suggested solution was:
> >
> > Notepad.exe
> >  > ExeCommand='[SourceDir]Readme.txt' Return='asyncNoWait' />
> >
> > How can I make to to run an exe which is alredy installed but lies inside
> > my INSTALLDIR. Might be useful: My Action should only tun while
> uninstall.
> > I´ve already done the work for this.
> >
> > Here´s ehat I meant (Of course it doesn´t work):
> > [INSTALLDIR]MyExe.exe
> >  > Return='asyncNoWait' />
> >
> > Thank you, Michael
> >
>
> --
> View this message in context:
> http://n2.nabble.com/Custom-Action---start-exe-inside-my-INSTALLDIR-tp1568179p1569421.html
>  Sent from the wix-users mailing list archive at Nabble.com.
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] short form of the path to Wix

2008-11-23 Thread Eitan Behar
Open a command prompt (cmd) and enter "set", check what is the value for the
WIX environment variable.



On Sun, Nov 23, 2008 at 2:21 PM, Sean Farrow
<[EMAIL PROTECTED]>wrote:

> Hi:
> The collowing are not working--any clues:
> When I do:
> Cd %WIX% I get an invalid directory
> Cd "%WIX% and cd "%WIX%" both give me a format incorrect error, any help
> to solve these gratefuly accepted.
> Chers
> Sean.
>  -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: 23 November 2008 11:35
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] short form of the path to Wix
>
> Hi Sean,
>
> * Don't use the short form, use string delimitators: ":\Long
> Folder Path"
> * Yes, you can use the env variable: cd %WIX%, or cd "%WIX%
> * Be careful when using cd , if you are on drive X:\bin, and you
> do cd c:\Temp, the current folder for C: will be Temp, but your current
> folder will be still X:\bin - in other words, cd does not change drives
> :^)
> * try to avoid changing the current folder, use a reference instead,
> when possible
>
> Regards,
>
> Eitan
>
>
>
>
> On Sun, Nov 23, 2008 at 12:54 PM, Sean Farrow
> <[EMAIL PROTECTED]>wrote:
>
> > Hi:
> > My wix directory is:
> > c:\program files\windows installer xml v3 What isthe short form ofthis
>
> > path?
> > Can I use the WIX environment variable to change to the directory
> > using the command prompt?
> > Cheers
> > Sean.
> > --
> > --- This SF.Net email is sponsored by the Moblin Your Move Developer's
>
> > challenge Build the coolest Linux based applications with Moblin SDK &
>
> > win great prizes Grand prize is a trip for two to an Open Source event
>
> > anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK &
> win great prizes Grand prize is a trip for two to an Open Source event
> anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> __ Information from ESET NOD32 Antivirus, version of virus
> signature database 3632 (20081121) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
> __ Information from ESET NOD32 Antivirus, version of virus
> signature database 3632 (20081121) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR

2008-11-23 Thread Eitan Behar
Hi Michael,

You cannot use Property elements within the Property element.

Instead, use this:



Another approach is just:


If your app is in the INSTALLDIR folder, remove [WindowsFolder]



On Sun, Nov 23, 2008 at 1:47 PM, Love88Keys <[EMAIL PROTECTED]>wrote:

>
> I´ve read part of Wix-Tutorial "http://www.tramontana.co.hu/wix.."; about
> how
> to start an exe-file which is already installed on the system. The
> suggested
> solution was:
>
> Notepad.exe
>  ExeCommand='[SourceDir]Readme.txt' Return='asyncNoWait' />
>
> How can I make to to run an exe which is alredy installed but lies inside
> my
> INSTALLDIR. Might be useful: My Action should only tun while uninstall.
> I´ve
> already done the work for this.
>
> Here´s ehat I meant (Of course it doesn´t work):
> [INSTALLDIR]MyExe.exe
>  Return='asyncNoWait' />
>
> Thank you, Michael
> --
> View this message in context:
> http://n2.nabble.com/Custom-Action---start-exe-inside-my-INSTALLDIR-tp1568179p1568179.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] short form of the path to Wix

2008-11-23 Thread Eitan Behar
Hi Sean,

* Don't use the short form, use string delimitators: ":\Long Folder
Path"
* Yes, you can use the env variable: cd %WIX%, or cd "%WIX%
* Be careful when using cd , if you are on drive X:\bin, and you do
cd c:\Temp, the current folder for C: will be Temp, but your current folder
will be still X:\bin - in other words, cd does not change drives :^)
* try to avoid changing the current folder, use a reference instead, when
possible

Regards,

Eitan




On Sun, Nov 23, 2008 at 12:54 PM, Sean Farrow
<[EMAIL PROTECTED]>wrote:

> Hi:
> My wix directory is:
> c:\program files\windows installer xml v3
> What isthe short form ofthis path?
> Can I use the WIX environment variable to change to the directory using
> the command prompt?
> Cheers
> Sean.
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Calculate Directory path into Property value

2008-11-20 Thread Eitan Behar
Hi Dave,

After CostFinalize, you can use the Directory ID as a property and use the
resolved path:

See the log file:

Action start 16:57:43: CostFinalize.
...
MSI (c) (7C:54) [16:57:43:756]: PROPERTY CHANGE: Adding TARGETDIR property.
Its value is 'C:\'.
...
MSI (c) (7C:54) [16:57:43:772]: Target path resolution complete. Dumping
Directory table...
MSI (c) (7C:54) [16:57:43:772]: Note: target paths subject to change (via
custom actions or browsing)
MSI (c) (7C:54) [16:57:43:772]: Dir (target): Key: TARGETDIR , Object: C:\
MSI (c) (7C:54) [16:57:43:772]: Dir (target): Key: WindowsFolder , Object:
C:\WINDOWS\
MSI (c) (7C:54) [16:57:43:772]: Dir (target): Key: CommonFilesFolder ,
Object: C:\Program Files\Common Files\
MSI (c) (7C:54) [16:57:43:772]: Dir (target): Key: ProgramFilesFolder ,
Object: C:\Program Files\
MSI (c) (7C:54) [16:57:43:772]: Dir (target): Key: INSTALLDIR , Object:
C:\Program Files\product\
MSI (c) (7C:54) [16:57:43:772]: Dir (target): Key: DBM_SERVICES_DIR ,
Object: C:\Program Files\product\Services\

MSI (c) (7C:54) [16:57:43:772]: PROPERTY CHANGE: Adding INSTALLLEVEL
property. Its value is '1'.
Action ended 16:57:43: CostFinalize. Return value 1.

On Thu, Nov 20, 2008 at 4:34 PM, David Terrell
<[EMAIL PROTECTED]>wrote:

> As the subject implies, I would like to know if there's a way to get the
> calculated path of a Directory element somehow, either into a Property
> value or otherwise for use elsewhere in the script?  I've looked into
> the SetProperty action, but it appears that doesn't cross boundaries
> between directory and property.
>
>
>
> Thanks,
>
> -Dave T.
>
>
> This electronic mail message and any attached files
> contain information intended only for the individual
> or entity to which it is addressed and may contain
> information that is proprietary, privileged, confidential
> and/or exempt from disclosure under applicable law.
> Any use, distribution, copying or disclosure by any other
> person is strictly prohibited. If you have received this
> transmission in error, please notify the sender by an
> electronic mail message to the original sender.
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Sql connection timeout

2008-11-20 Thread Eitan Behar
Hi,

Please, do you know what is the default timeout for the Sql connections ?
And if there is an attribute to change it?

Thanks,

Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Modifying the MSI file at runtime using DTF

2008-11-20 Thread Eitan Behar
What I meant is that the SQL Server is installed on a different machine.
When using WIX's SqlDatabase element I can specify a remote SQL Server (i.e.
current machine is just a client, while SQL is installed on a remote Data
Server). The machine where the MSI is installed does not have the SQL client
installed, therefore I cannot use sqlcmd.exe.





On Thu, Nov 20, 2008 at 10:18 AM, Neil Sleightholm <[EMAIL PROTECTED]>wrote:

> This is probably not relevant but if you don't have access to SQL how do
> you expect any solution to work?
>
> Neil
>
> Neil Sleightholm
> X2 Systems Limited
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
> 
>
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Wed 19/11/2008 19:11
>  To: 'General discussion for Windows Installer XML toolset.'
> Subject: Re: [WiX-users] Modifying the MSI file at runtime using DTF
>
>
>
> Hi Neil,
>
> Thanks, I already went to it, and even recommended to a few people. But, I
> cannot use it on my scenario since the MSI are deployed on servers without
> SQL installed. SQL is running in a different server where I don't have
> access.
>
> Thanks,
>
> Eitan
>
> - beginning to be frustrated
>
>
>
> -Original Message-
> From: Neil Sleightholm [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 19, 2008 9:01 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Modifying the MSI file at runtime using DTF
>
> There is an alternative approach here
> http://neilsleightholm.blogspot.com/2008/08/executing-sqlcmd-from-wix.html
> that might be useful.
>
> Neil
>
> Neil Sleightholm
> X2 Systems Limited
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
> 
>
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Wed 19/11/2008 18:53
> To: 'General discussion for Windows Installer XML toolset.'
> Subject: Re: [WiX-users] Modifying the MSI file at runtime using DTF
>
>
>
> I am trying to do the almost famous replaces on SQL Scripts before running
> them. I only have a few days to do that, and cannot get into writing a
> generic C++ as an add-on to the existing SQL Extensions.
>
> There are a bunch of SQL scripts, which I cannot modify, and they have a
> lot
> of replaceable %Parameters%
>
> I know it's ugly, but copy+pasting several 6K row scripts into SQLString
> elements is not an option.
>
> I will really appreciate, even more than usual, if there is a nice
> workaround at hand.
>
> Thanks,
>
> Eitan
>
>
>
> -Original Message-
> From: Rob Mensching [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 19, 2008 8:17 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Modifying the MSI file at runtime using DTF
>
> You can't do that.  The MSI is readonly.
>
> What are you trying to accomplish?
>
> -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 19, 2008 09:47
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Modifying the MSI file at runtime using DTF
>
> Hi,
>
> I am trying to modify the MSI file at runtime, basically, I am running a
> DTF
> Custom Action (immediate, after InstallInitialize) that extract certain
> Binary files, modify them, and save them back into the MSI file.
>
> The problem is that I cannot save the files back to the binary table. I am
> using the sample provided with the DTF documentation:
>
> db = new Database(session["DATABASE"], DatabaseOpenMode.Direct); ...
>
> session["DATABASE"] gives me the actual msi file (from the
> Windows\Installer
> folder).
>
> But, I am getting an ugly error:
> Microsoft.Deployment.WindowsInstaller.InstallerException: The system cannot
> open the device or file specified.
> Database="C:\WINDOWS\Installer\e659b.msi"
>
> Looks like the database is locked.
>
> Please, I would like to know if what I want to do is doable, and if yes,
> what is the correct approach?
>
> Thanks in advance,
>
> Eitan
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes Grand prize is a trip for two to an Open Source event anywhere in
> the
> world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourc

Re: [WiX-users] Modifying the MSI file at runtime using DTF

2008-11-19 Thread Eitan Behar
Well, not good, not good, what would u suggest? A bright idea might save my
day


-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 19, 2008 9:02 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Modifying the MSI file at runtime using DTF

Hmm, yeah, sorry, I don't know of a hacked way around the scenario.

-Original Message-
From: Eitan Behar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2008 10:54
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Modifying the MSI file at runtime using DTF

I am trying to do the almost famous replaces on SQL Scripts before running
them. I only have a few days to do that, and cannot get into writing a
generic C++ as an add-on to the existing SQL Extensions.

There are a bunch of SQL scripts, which I cannot modify, and they have a lot
of replaceable %Parameters%

I know it's ugly, but copy+pasting several 6K row scripts into SQLString
elements is not an option.

I will really appreciate, even more than usual, if there is a nice
workaround at hand.

Thanks,

Eitan



-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2008 8:17 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Modifying the MSI file at runtime using DTF

You can't do that.  The MSI is readonly.

What are you trying to accomplish?

-Original Message-
From: Eitan Behar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2008 09:47
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Modifying the MSI file at runtime using DTF

Hi,

I am trying to modify the MSI file at runtime, basically, I am running a DTF
Custom Action (immediate, after InstallInitialize) that extract certain
Binary files, modify them, and save them back into the MSI file.

The problem is that I cannot save the files back to the binary table. I am
using the sample provided with the DTF documentation:

db = new Database(session["DATABASE"], DatabaseOpenMode.Direct);
...

session["DATABASE"] gives me the actual msi file (from the Windows\Installer
folder).

But, I am getting an ugly error:
Microsoft.Deployment.WindowsInstaller.InstallerException: The system cannot
open the device or file specified. Database="C:\WINDOWS\Installer\e659b.msi"

Looks like the database is locked.

Please, I would like to know if what I want to do is doable, and if yes,
what is the correct approach?

Thanks in advance,

Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin 

Re: [WiX-users] Modifying the MSI file at runtime using DTF

2008-11-19 Thread Eitan Behar
Hi Neil,

Thanks, I already went to it, and even recommended to a few people. But, I
cannot use it on my scenario since the MSI are deployed on servers without
SQL installed. SQL is running in a different server where I don't have
access.

Thanks,

Eitan

- beginning to be frustrated



-Original Message-
From: Neil Sleightholm [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 19, 2008 9:01 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Modifying the MSI file at runtime using DTF

There is an alternative approach here
http://neilsleightholm.blogspot.com/2008/08/executing-sqlcmd-from-wix.html
that might be useful.
 
Neil
 
Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
 

____

From: Eitan Behar [mailto:[EMAIL PROTECTED]
Sent: Wed 19/11/2008 18:53
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Modifying the MSI file at runtime using DTF



I am trying to do the almost famous replaces on SQL Scripts before running
them. I only have a few days to do that, and cannot get into writing a
generic C++ as an add-on to the existing SQL Extensions.

There are a bunch of SQL scripts, which I cannot modify, and they have a lot
of replaceable %Parameters%

I know it's ugly, but copy+pasting several 6K row scripts into SQLString
elements is not an option.

I will really appreciate, even more than usual, if there is a nice
workaround at hand.

Thanks,

Eitan



-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2008 8:17 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Modifying the MSI file at runtime using DTF

You can't do that.  The MSI is readonly.

What are you trying to accomplish?

-----Original Message-
From: Eitan Behar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2008 09:47
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Modifying the MSI file at runtime using DTF

Hi,

I am trying to modify the MSI file at runtime, basically, I am running a DTF
Custom Action (immediate, after InstallInitialize) that extract certain
Binary files, modify them, and save them back into the MSI file.

The problem is that I cannot save the files back to the binary table. I am
using the sample provided with the DTF documentation:

db = new Database(session["DATABASE"], DatabaseOpenMode.Direct); ...

session["DATABASE"] gives me the actual msi file (from the Windows\Installer
folder).

But, I am getting an ugly error:
Microsoft.Deployment.WindowsInstaller.InstallerException: The system cannot
open the device or file specified. Database="C:\WINDOWS\Installer\e659b.msi"

Looks like the database is locked.

Please, I would like to know if what I want to do is doable, and if yes,
what is the correct approach?

Thanks in advance,

Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes Grand prize is a trip for two to an Open Source event anywhere in the
world http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes Grand prize is a trip for two to an Open Source event anywhere in the
world http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes Grand prize is a trip for two to an Open Source event anywhere in the
world http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&u

Re: [WiX-users] Modifying the MSI file at runtime using DTF

2008-11-19 Thread Eitan Behar
I am trying to do the almost famous replaces on SQL Scripts before running
them. I only have a few days to do that, and cannot get into writing a
generic C++ as an add-on to the existing SQL Extensions.

There are a bunch of SQL scripts, which I cannot modify, and they have a lot
of replaceable %Parameters%

I know it's ugly, but copy+pasting several 6K row scripts into SQLString
elements is not an option.

I will really appreciate, even more than usual, if there is a nice
workaround at hand.

Thanks,

Eitan
 


-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 19, 2008 8:17 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Modifying the MSI file at runtime using DTF

You can't do that.  The MSI is readonly.

What are you trying to accomplish?

-Original Message-----
From: Eitan Behar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2008 09:47
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Modifying the MSI file at runtime using DTF

Hi,

I am trying to modify the MSI file at runtime, basically, I am running a DTF
Custom Action (immediate, after InstallInitialize) that extract certain
Binary files, modify them, and save them back into the MSI file.

The problem is that I cannot save the files back to the binary table. I am
using the sample provided with the DTF documentation:

db = new Database(session["DATABASE"], DatabaseOpenMode.Direct);
...

session["DATABASE"] gives me the actual msi file (from the Windows\Installer
folder).

But, I am getting an ugly error:
Microsoft.Deployment.WindowsInstaller.InstallerException: The system cannot
open the device or file specified. Database="C:\WINDOWS\Installer\e659b.msi"

Looks like the database is locked.

Please, I would like to know if what I want to do is doable, and if yes,
what is the correct approach?

Thanks in advance,

Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Modifying the MSI file at runtime using DTF

2008-11-19 Thread Eitan Behar
Hi,

I am trying to modify the MSI file at runtime, basically, I am running a DTF
Custom Action (immediate, after InstallInitialize) that extract certain
Binary files, modify them, and save them back into the MSI file.

The problem is that I cannot save the files back to the binary table. I am
using the sample provided with the DTF documentation:

db = new Database(session["DATABASE"], DatabaseOpenMode.Direct);
...

session["DATABASE"] gives me the actual msi file (from the Windows\Installer
folder).

But, I am getting an ugly error:
Microsoft.Deployment.WindowsInstaller.InstallerException: The system cannot
open the device or file specified. Database="C:\WINDOWS\Installer\e659b.msi"

Looks like the database is locked.

Please, I would like to know if what I want to do is doable, and if yes,
what is the correct approach?

Thanks in advance,

Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] how to modify proprty value in wix

2008-11-19 Thread Eitan Behar
msbuild is expecting the string surrounded with ", i.e. "D:\Program
Files\Microsoft BizTalk Server 2006", you don't need the %20 character.



On Wed, Nov 19, 2008 at 11:23 AM, Chandra Vuppala <
[EMAIL PROTECTED]> wrote:

> Hi,
>
> How to modify the property value in wix?
>
> I have property called [BiztalkInstallLocation] which gets value of biztalk
> installation directory from registry, when i pass this as property to
> msbuild it is giving error due to space in the in the string(D:\Program
> Files\Microsoft BizTalk Server 2006), now i need to replace the space in the
> string with %20, how it can be.
>
> Please give me u r suggestions.
>
> Thanks &  Regards,
> Chandrashekar vuppala
> M-9949469324
> Oakton Global Technology Services Centre (India)
>  Results Driven. When Business & IT Matters
>
>
>
> IMPORTANT
> 1.  This email and any attachments are confidential.  Any unauthorised
> dissemination or other use of these materials is prohibited.  If received in
> error, please contact us and delete all copies.
> 2.  Before opening or using attachments, check them for viruses and
> defects.  Our liability is limited to resupplying any affected attachments.
> 3.  Protecting your privacy is important to us.  Our privacy statement
> and further information is available at www.oakton.com.au.
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Silent Repair

2008-11-18 Thread Eitan Behar
did u try: msiexec /i "setupfile.msi" /qn REINSTALL=ALL REINSTALLMODE=vomus
?



On Tue, Oct 7, 2008 at 5:02 AM, Sandeep Gautam (HCL Technologies Ltd) <
[EMAIL PROTECTED]> wrote:

> Hi ,
>
> How can I do silent repair. I am running msiexec with option /f nothing is
> happening.No Custom action is not executing.
>
> Please help.
>
> Regards
> -Sandeep
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Grant permissions on a folder to a specific user

2008-10-29 Thread Eitan Behar
Hi,

Just use  wrote:

> It's very urgent, please help me.
>
> > From: [EMAIL PROTECTED]> To: wix-users@lists.sourceforge.net>
> Date: Thu, 23 Oct 2008 15:20:15 +0530> Subject: [WiX-users] Grant
> permissions on a folder to a specific user> > Hi,> > I am develpoing
> installer using WiX 3 (3.0.4311.0), in my installer I want to assign read
> permissions to the user on a directory. > Below is the code snippet, with
> this code the permissions are assigned to user but it is removing all other
> existing permissions of the directory. I want to retain the existing
> permissions and want to add new user to permissions list of the directory. >
> > Please help me.> > > >  Id='C_MyFolder' Guid='CE139CCA-ED5C-4961-BF74-D4ED33C59AE4' DiskId='1'>> >
> > > >
> >
> > > > > Thanks,> Sujanakar Reddy>
> _> Movies,
> sports & news! Get your daily entertainment fix, only on live.com>
> http://www.live.com/?scope=video&form=MICOAL>
> ->
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge> Build the coolest Linux based applications with Moblin SDK & win
> great prizes> Grand prize is a trip for two to an Open Source event anywhere
> in the world> http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> ___> WiX-users mailing list>
> WiX-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/wix-users
> _
> Search for videos of Bollywood, Hollywood, Mollywood and every other wood,
> only on Live.com
>  http://www.live.com/?scope=video&form=MICOAL
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Simple question on settings permissions on folder

2008-10-28 Thread Eitan Behar
Thanks ! Seek and thou shall find !


On Tue, Oct 28, 2008 at 2:00 PM, Sébastien Mouren <
[EMAIL PROTECTED]> wrote:


> Search the list, it was already asked and answered.
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Simple question on settings permissions on folder

2008-10-28 Thread Eitan Behar
Hi,

I am setting permissions of a folder, but I would like to preserve the
default permissions and only append a user. The code below remove all
default permisions and set only the user I defined.

How can I set permissions to a folder without removing the default
permissions?

Thanks,

Eitan







-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creating Web App Pool

2008-10-27 Thread Eitan Behar
I am checking this deeper, now it seems to be working...mmm, weird...




On Sun, Oct 26, 2008 at 9:17 PM, Rob Mensching
<[EMAIL PROTECTED]>wrote:

> That surprises me.  It shouldn't work that way.  Can you look in a verbose
> log file and make sure the Component that is installing the AppPool is being
> installed?
>
> -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Sunday, October 26, 2008 04:40
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Creating Web App Pool
>
> Hi,
>
> I think I found a bug, but wanted to check first. I am creating a simple
> setup with a Web Application and its Web App Pool. The whole setup works
> fine, but, when I began testing, I noticed that if I comment the Web
> component, and leave only the Web App Pool, the pool is not created.
>
> It seems that the Web App Pool is not included in a Website/Application,
> it's not created. I checked the log files, and it's only mentioned that the
> component should be installed. There is no mention to changing the pool
> properties.
>
> Here is the code: (the component group is referenced in the feature)
>
>
> 
>
>  
>
>  KeyPath="yes" >
>Name="dbmSampleWebAppPool"
>   MaxWorkerProcesses="0" RecycleMinutes="0" RecycleRequests="0" Identity="
> localService"  IdleTimeout="90" />
> 
>
> 
>
> 
> 
> 
>
> Eitan
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Creating Web App Pool

2008-10-26 Thread Eitan Behar
Hi,

I think I found a bug, but wanted to check first. I am creating a simple
setup with a Web Application and its Web App Pool. The whole setup works
fine, but, when I began testing, I noticed that if I comment the Web
component, and leave only the Web App Pool, the pool is not created.

It seems that the Web App Pool is not included in a Website/Application,
it's not created. I checked the log files, and it's only mentioned that the
component should be installed. There is no mention to changing the pool
properties.

Here is the code: (the component group is referenced in the feature)




 











Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] C# Custom action

2008-10-23 Thread Eitan Behar
Hi Sandeep,

Probably the simplest approach is to set a property in your CA, and use the
property to condition your WIX code.

For example, on the CA:

if (sky != blue)
{
  session["CA_SKY_PROP"] = "red";
}
on WIX
Not CA_SKY_PROP

Note that in this case you are only checking whether the property exists
(was created by the CA) and not its value. Read below for more on Conditions
http://blogs.technet.com/alexshev/archive/2008/02/10/from-msi-to-wix-part-3.aspx

Enjoy,

Eitan



On Thu, Oct 23, 2008 at 8:22 PM, Sandeep Gautam (HCL Technologies Ltd) <
[EMAIL PROTECTED]> wrote:

> Hi ,
>
> I want to write some c# custom actions. These custom action will return
> some values and based on that I will add some condition in my wix code.
> Please help me out how can I write or what reference and all i need to add.
>
> Regards
> Sandeep
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Dynamically assigning a website for your web application

2008-10-23 Thread Eitan Behar
Hi Andrew,

Check the following:

1) Try using *AllUnassigned*


*<**iis:WebAddress Id="AllUnassigned" Port="80"** />
*
2) On the log file, verify that the property gets the proper website name,
and try creating the Web App using the value directly.

Good luck,

Eitan



On Thu, Oct 23, 2008 at 3:07 PM, Lamb, Andrew <[EMAIL PROTECTED]> wrote:

> Hi All,
>
>
>
> I have had a WiX based installer installing my web application to the
> default web site happily now for a while, I now need to be able to allow
> the user to specify which web site they want to install the application
> under.
>
>
>
> I have created a dll for my CA it uses ADSI to fetch the web site names
> and populate a list box in the UI, the user selects the site they want
> and another CA looks up this site ID and gets the site name no problem,
> the only thing is my web site always ends up under the default web site
> L
>
>
>
> I have the following:
>
>
>
> 
>
>  
>
> 
>
>
>
> Where SELECTEDWEBSITE is set in a CA run after CostFinalize
>
>
>
> I then use this in the following fragment:
>
>
>
>  Guid="9CD46728-FCE5-4d36-B00F-70E3B2B1AD00">
>
> Identity='networkService'/>
>
> Directory='INSTALLDIR' WebSite='InstallWebSite'>
>
>   Isolation='medium'  WebAppPool='MyAppPool'/>
>
>   DefaultDocuments='MyEntryPoint.dll'
>
>Execute='yes' Read='yes'
> WindowsAuthentication='yes' Write='yes' AnonymousAccess='yes'/>
>
>
>
> 
>
>
>
> Has anyone any idea what I'm doing wrong, I've been banging my head
> against a brick wall for a while with this L, any help would be greatly
> appreciated..
>
>
>
> Thanks in advance
>
>
>
> Andrew
>
>
>
>
> If you've received this email by mistake, we're sorry for bothering you. It
> may contain information that's confidential, so please delete it without
> sharing it. And if you let us know, we can try to stop it from happening
> again. Thank you.
>
> We may monitor any emails sent or received by us, or on our behalf. If we
> do, this will be in line with relevant law and our own policies.
>
> Sage (UK) Limited. Registered in England at North Park, Newcastle upon
> Tyne, NE13 9AA. Registered number 1045967.
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ASP.NET on IIS

2008-10-22 Thread Eitan Behar
Well, the issue is that I have several setups which have a few Web
Applications each, and each one is supported by a different team, therefore
I wanted something "easy" to tell everyone to do



-Original Message-
From: Luke Bakken [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 22, 2008 6:36 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] ASP.NET on IIS

> But, this way I need to define every extension, is there a way that I can
> tell WIX to change ONLY the default extensions, similar of when doing it
> from IIS' GUI (on the ASP.NET tab).

There aren't that many extensions ... I would just enumerate them all.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ASP.NET on IIS

2008-10-22 Thread Eitan Behar
Thanks Siv,

But, this way I need to define every extension, is there a way that I can
tell WIX to change ONLY the default extensions, similar of when doing it
from IIS' GUI (on the ASP.NET tab).

Regards,

Eitan




On Wed, Oct 22, 2008 at 4:22 PM, Kalvagadda, SivaKrishna (MLX Technology) <
[EMAIL PROTECTED]> wrote:

> This is how ssearch for t he verion of installed framework
> 
>   Path="[WindowsFolder]Microsoft.NET\Framework" Depth="1">
> MinVersion="2.0" MaxVersion="3.5" />
>  
>
>
>  Script="yes" Executable="[ASPNETISAPIDLL]"  Verbs="GET,HEAD,POST" />
>   CheckPath="no" Script="yes" Executable="[ASPNETISAPIDLL]"
> Verbs="GET,HEAD,POST" />
>   CheckPath="no" Script="yes" Executable="[ASPNETISAPIDLL]"
> Verbs="GET,HEAD,POST" />
>
> Regards,
> SivaKrishna Kalvagadda,
> 201-671-5552.
>
> -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 22, 2008 4:54 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] ASP.NET <http://asp.net/> on IIS
>
> Hi,
>
> Please, how can I set the ASP.NET <http://asp.net/> version for a Web Site
> ? I just want
> to
> set the general selection on the ASP.NET <http://asp.net/> tab, and leave
> the default
> extensions as they are.
>
> Thanks,
>
> Eitan
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
>
> This message w/attachments (message) may be privileged, confidential or
> proprietary, and if you are not an intended recipient, please notify the
> sender, do not use or share it and delete it. Unless specifically indicated,
> this message is not an offer to sell or a solicitation of any investment
> products or other financial product or service, an official confirmation of
> any transaction, or an official statement of Merrill Lynch. Subject to
> applicable law, Merrill Lynch may monitor, review and retain
> e-communications (EC) traveling through its networks/systems. The laws of
> the country of each sender/recipient may impact the handling of EC, and EC
> may be archived, supervised and produced in countries other than the country
> in which you are located. This message cannot be guaranteed to be secure or
> error-free. This message is subject to terms available at the following
> link: http://www.ml.com/e-communications_terms/. By messaging with Merrill
> Lynch you consent to the foregoing.
> 
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] IIS Content Expiration

2008-10-22 Thread Eitan Behar
Hi,

I want to enable the content expiration on IIS, on the HTTP Headers tab.I
thought that this is the HTTPExpires attribute, but or 1) I am wrong, or 2)
It is not working.

Please, any lead will be appreciated.

Thanks,

Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] ASP.NET on IIS

2008-10-22 Thread Eitan Behar
Hi,

Please, how can I set the ASP.NET version for a Web Site ? I just want to
set the general selection on the ASP.NET tab, and leave the default
extensions as they are.

Thanks,

Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] XmlConfig: why can't I set a text value using ElementId?

2008-10-21 Thread Eitan Behar
Hi Brian,

Which version are you using? I remember that once upon a time, ElementPath
required a XmlConfig Id:

Therefore, using 
ElementPath="CreateDummyElement" is valid.

Rgrds,

Eitan



-Original Message-
From: Brian Rogers [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 21, 2008 9:18 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] XmlConfig: why can't I set a text value using
ElementId?

I'm running into some problems with XmlConfig.  I've found that the
following does not work:




However, this does work:




I would like for the first syntax to work, just as it does with attributes.
Is this a known limitation or can it be fixed?

##
$_='^#(/||/@[EMAIL PROTECTED]@:^[-['^";@@@\\>])@.".
"{)/];)^{";$,+=(++$,);$_.=">&$,";`$_`;



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Expanding the SQL extension

2008-10-17 Thread Eitan Behar
I (and a bunch of people over here) would like to add more functionality
to SqlScript, basically one of the following:

a) Automatically translating MSI properties within SqlScripts, the same way
SqlString works

or

b) Create a Replace tag to explicitly tell how to do replaces within
SqlScripts, kind of

  
  

I prefer (b), and eventually I will write the code for it, but if I get
cooperation for the owner of the extension, more people will be benefited.

By the way, InstallShield works like (b)

Rgrds,

Eitan




On Fri, Oct 17, 2008 at 5:19 PM, Chad Miles <[EMAIL PROTECTED]> wrote:

> Are you trying to use SqlScript instead and deprecate SqlString?
>
> I'd be really interested in that...
>
> On Fri, Oct 17, 2008 at 11:11 AM, Eitan Behar <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > Who's developing the SQL Extension? There is a nice feature that several
> > people are interested in adding it to the extension, and I could help
> > writing some code to it.
> >
> > The feature is adding the ability to add replaceable parameters to
> > SQLScript
> > elements.
> >
> > Thanks,
> >
> > Eitan
> > -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using WIX3.0

2008-10-17 Thread Eitan Behar
You need to add the IIS extension for IIS related functionality, and also
the Utils extension for working with users and groups.

http://schemas.microsoft.com/wix/2006/wi";
 xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension";>

Also, you need to add the extensions on your project properties, under Tools
(??? - not sure), set for Candle and Light:

-ext WixIIsExtension.dll
-ext WixUtilExtension.dll

Check the Wix help for this, since I am not next to my computer now...and I
am a little unaccurate :^)









On Fri, Oct 17, 2008 at 7:34 PM, Kalvagadda, SivaKrishna (MLX Technology) <
[EMAIL PROTECTED]> wrote:

> Hi,
>
> I installed latest version WIX3.0, but when I opened the project it's
> not allowing me to create a tag "website" and other IIS related tags are
> not showing in intelligence .It's throwing build error if I added force
> fully.
>
> Please assist me if I am missing any steps in creating the application
> or do I need to add refereces.
>
> Regards,
> SivaKrishna Kalvagadda,
> 201-671-5552.
>
> -Original Message-
> From: Chad Miles [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 17, 2008 11:18 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Creating user groups using WIX
>
> Check out the util:User/Group schema.
>
> On Fri, Oct 17, 2008 at 10:44 AM, Kalvagadda, SivaKrishna (MLX
> Technology) <
> [EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > Could someone help me in creating user groups and user accounts using
> > wix.
> >
> > Thanks...Siva.
> >
> > Regards,
> > SivaKrishna Kalvagadda,
> > 201-671-5552.
> > 
> >
> > This message w/attachments (message) may be privileged, confidential
> or
> > proprietary, and if you are not an intended recipient, please notify
> the
> > sender, do not use or share it and delete it. Unless specifically
> indicated,
> > this message is not an offer to sell or a solicitation of any
> investment
> > products or other financial product or service, an official
> confirmation of
> > any transaction, or an official statement of Merrill Lynch. Subject to
> > applicable law, Merrill Lynch may monitor, review and retain
> > e-communications (EC) traveling through its networks/systems. The laws
> of
> > the country of each sender/recipient may impact the handling of EC,
> and EC
> > may be archived, supervised and produced in countries other than the
> country
> > in which you are located. This message cannot be guaranteed to be
> secure or
> > error-free. This message is subject to terms available at the
> following
> > link: http://www.ml.com/e-communications_terms/. By messaging with
> Merrill
> > Lynch you consent to the foregoing.
> > 
> >
> 
> -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
>
> This message w/attachments (message) may be privileged, confidential or
> proprietary, and if you are not an intended recipient, please notify the
> sender, do not use or share it and delete it. Unless specifically indicated,
> this message is not an offer to sell or a solicitation of any investment
> products or other financial product or service, an official confirmation of
> any transaction, or an official statement of Merrill Lynch. Subject to
> applicable law, Merrill Lynch may monitor, review and retain
> e-communications (EC) traveling through its networks/systems. The laws of
> the country of each sender/recipient may impact the handling of EC, and EC
> may be archived, supervised and produced in countries other than the country
> in which you are located. This message cannot be guaranteed to be secure or
> error-free. This message is subject to terms available at the following
> link: http://www.ml.com/e-communications_terms/. By

Re: [WiX-users] Using WIX3.0

2008-10-17 Thread Eitan Behar
http://blogs.msdn.com/jrock/archive/2007/10/19/how-to-use-extensions-in-votive-iis-or-ui-extensions-for-example.aspx



On Fri, Oct 17, 2008 at 7:51 PM, Eitan Behar <[EMAIL PROTECTED]> wrote:

>  You need to add the IIS extension for IIS related functionality, and also
> the Utils extension for working with users and groups.
>
> http://schemas.microsoft.com/wix/2006/wi";
>  xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";
> xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension";>
>
> Also, you need to add the extensions on your project properties, under
> Tools (??? - not sure), set for Candle and Light:
>
> -ext WixIIsExtension.dll
> -ext WixUtilExtension.dll
>
> Check the Wix help for this, since I am not next to my computer now...and I
> am a little unaccurate :^)
>
>
>
>
>
>
>
>
>
> On Fri, Oct 17, 2008 at 7:34 PM, Kalvagadda, SivaKrishna (MLX Technology)
> <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>>
>> I installed latest version WIX3.0, but when I opened the project it's
>> not allowing me to create a tag "website" and other IIS related tags are
>> not showing in intelligence .It's throwing build error if I added force
>> fully.
>>
>> Please assist me if I am missing any steps in creating the application
>> or do I need to add refereces.
>>
>> Regards,
>> SivaKrishna Kalvagadda,
>> 201-671-5552.
>>
>> -Original Message-
>> From: Chad Miles [mailto:[EMAIL PROTECTED]
>> Sent: Friday, October 17, 2008 11:18 AM
>> To: General discussion for Windows Installer XML toolset.
>> Subject: Re: [WiX-users] Creating user groups using WIX
>>
>> Check out the util:User/Group schema.
>>
>> On Fri, Oct 17, 2008 at 10:44 AM, Kalvagadda, SivaKrishna (MLX
>> Technology) <
>> [EMAIL PROTECTED]> wrote:
>>
>> > Hi,
>> >
>> > Could someone help me in creating user groups and user accounts using
>> > wix.
>> >
>> > Thanks...Siva.
>> >
>> > Regards,
>> > SivaKrishna Kalvagadda,
>> > 201-671-5552.
>> > 
>> >
>> > This message w/attachments (message) may be privileged, confidential
>> or
>> > proprietary, and if you are not an intended recipient, please notify
>> the
>> > sender, do not use or share it and delete it. Unless specifically
>> indicated,
>> > this message is not an offer to sell or a solicitation of any
>> investment
>> > products or other financial product or service, an official
>> confirmation of
>> > any transaction, or an official statement of Merrill Lynch. Subject to
>> > applicable law, Merrill Lynch may monitor, review and retain
>> > e-communications (EC) traveling through its networks/systems. The laws
>> of
>> > the country of each sender/recipient may impact the handling of EC,
>> and EC
>> > may be archived, supervised and produced in countries other than the
>> country
>> > in which you are located. This message cannot be guaranteed to be
>> secure or
>> > error-free. This message is subject to terms available at the
>> following
>> > link: http://www.ml.com/e-communications_terms/. By messaging with
>> Merrill
>> > Lynch you consent to the foregoing.
>> > 
>> >
>> 
>> -
>> > This SF.Net email is sponsored by the Moblin Your Move Developer's
>> > challenge
>> > Build the coolest Linux based applications with Moblin SDK & win great
>> > prizes
>> > Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> > ___
>> > WiX-users mailing list
>> > WiX-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wix-users
>> >
>> 
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _

[WiX-users] Expanding the SQL extension

2008-10-17 Thread Eitan Behar
Hi,

Who's developing the SQL Extension? There is a nice feature that several
people are interested in adding it to the extension, and I could help
writing some code to it.

The feature is adding the ability to add replaceable parameters to SQLScript
elements.

Thanks,

Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Detect the version of already installed product.

2008-10-17 Thread Eitan Behar
I'm sure that this is not the best way, but, given that you have the product
code, just do a registry search under
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{ProductCode} - You
have the Product name and version as displayed in ARP.



-Original Message-
From: Sergey Abakumoff [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 17, 2008 8:20 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Detect the version of already installed product.


Howdy gang,
In my installer I need to notify user if the previous version of product is
installed and show the version number. I was hoping that I can find the
already installed version number in PATCHFOUND property I use in
UpgradeVersion stuff:

  
  

However, the value of property is just some GUID.
I know the way I can accomplish this task - call the custom action that
executes the external program that loads the installed assembly and returns
it's version number, likely the assembly version is the same as the
installed product version. However this way is not straightforward . I am
sure that Wix has the way to detect the already installed version number,
just can't find it.
Can anyone help me? 
-- 
View this message in context:
http://n2.nabble.com/Detect-the-version-of-already-installed-product.-tp1344
094p1344094.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Use of ComponentGroup and "Duplicate symbol 'WixComponentGroup:xxx' found."

2008-10-15 Thread Eitan Behar
Just for the sake of trying...remove the lib reference, and include the
fragment directly to the project...



On Wed, Oct 15, 2008 at 4:54 PM, Nic Barden <[EMAIL PROTECTED]> wrote:

> Hi Eitan,
>
>
>
> I am not explicitly referencing it in the wxs file, I simply have a project
> reference to the wixlib file that the project that contains the fragment
> generates.
>
> This is my understanding of how you should do this, and it will
> automatically get pulled in. Is that correct?
>
>
>
> Cheers
>
>
>
> ---
>
> Re: [WiX-users] Use of ComponentGroup and "Duplicate symbol
> 'WixComponentGroup:xxx' found."
>
> From: Eitan Behar <[EMAIL PROTECTED]> - 2008-10-15 14:23
>
> Hi Nic,
>
>
>
> Your code looks right, how are you refering to the wix fragment?
>
>
>
> Rgrds,
>
>
>
> Eitan
>
>
>
>
>
>
>
>  On Wed, Oct 15, 2008 at 3:05 PM, Nic Barden <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> >
>
> > I am trying to wrap my  contents inside a  like
>
> > this forum post says:
>
> >
>
> >
>
> >
>
> http://n2.nabble.com/Multiple-Wxs-Merge-in-Visual-Studio--td701023.html#a701
>
> > 024
>
> >
>
> >
>
> >
>
> > I am still unsure of the best design for this, but I would ideally like
> the
>
> > main installer to be the only place where the APPLICATIONROOTDIRECTORY is
>
> > specified.
>
> >
>
> > So I have one wxs file with a fragment like this:
>
> >
>
> >
>
> >
>
> > http://schemas.microsoft.com/wix/2006/wi";>
>
> >
>
> > 
>
> >
>
> > 
>
> >
>
> > 
>
> >
>
> > 
>
> >
>
> > 
>
> >
>
> >
>
> >
>
> > 
>
> >
>
> > 
> > DiskId="1">
>
> >
>
> > ...
>
> >
>
> > 
>
> >
>
> > ...
>
> >
>
> > 
>
> >
>
> > 
>
> >
>
> > 
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > Then I have the main wxs file like this:
>
> >
>
> >
>
> >
>
> > 
>
> >
>
> > 
>
> >
>
> > 
>
> >
>
> > 
>
> >
>
> > 
> > Name="MyApplication" />
>
> >
>
> > 
>
> >
>
> > 
>
> >
>
> > 
>
> >
>
> >
>
> >
>
> > 
> > ConfigurableDirectory=" APPLICATIONROOTDIRECTORY ">
>
> >
>
> > 
>
> >
>
> > 
>
> >
>
> > 
>
> >
>
> >
>
> >
>
> > This results in a compilation error: "Duplicate symbol
>
> > 'WixComponentGroup:Project1Files' found."
>
> >
>
> > What is the issue here - have they been included due to both the
>
> > DirectoryRef and also the Feature? I am not sure how to bundle the
>
> > Components into the ComponentGroup without including them in a directory,
>
> > as
>
> > they expect a directory to be set.
>
> >
>
> > Also, should the 
> > Name="MyApplication" /> definition contain anything if all the contents
>
> > have
>
> > already been added via the Fragments?
>
> >
>
> >
>
> >
>
> > Thanks
>
> >
>
> > -
>
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
>
> > challenge
>
> > Build the coolest Linux based applications with Moblin SDK & win great
>
> > prizes
>
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
>
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
> > ___
>
> > WiX-users mailing list
>
> > [EMAIL PROTECTED]
>
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Use of ComponentGroup and "Duplicate symbol 'WixComponentGroup:xxx' found."

2008-10-15 Thread Eitan Behar
Hi Nic,

Your code looks right, how are you refering to the wix fragment?

Rgrds,

Eitan



On Wed, Oct 15, 2008 at 3:05 PM, Nic Barden <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I am trying to wrap my  contents inside a  like
> this forum post says:
>
>
> http://n2.nabble.com/Multiple-Wxs-Merge-in-Visual-Studio--td701023.html#a701
> 024
>
>
>
> I am still unsure of the best design for this, but I would ideally like the
> main installer to be the only place where the APPLICATIONROOTDIRECTORY is
> specified.
>
> So I have one wxs file with a fragment like this:
>
>
>
> http://schemas.microsoft.com/wix/2006/wi";>
>
>  
>
>
>
>  
>
>  
>
>
>
>
>
>
>
>   DiskId="1">
>
>...
>
>
>
>...
>
>
>
>  
>
> 
>
>
>
>
>
> Then I have the main wxs file like this:
>
>
>
> 
>
> 
>
>
>
>
>
> Name="MyApplication" />
>
>
>
>
>
> 
>
>
>
>  ConfigurableDirectory=" APPLICATIONROOTDIRECTORY ">
>
>
>
> 
>
> 
>
>
>
> This results in a compilation error: "Duplicate symbol
> 'WixComponentGroup:Project1Files' found."
>
> What is the issue here - have they been included due to both the
> DirectoryRef and also the Feature?  I am not sure how to bundle the
> Components into the ComponentGroup without including them in a directory,
> as
> they expect a directory to be set.
>
> Also, should the  Name="MyApplication" /> definition contain anything if all the contents
> have
> already been added via the Fragments?
>
>
>
> Thanks
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to GAC .Net assemblies the correct way?

2008-10-08 Thread Eitan Behar
Very simple, just use the file property Assembly=".net" that way the file
will go to the GAC regardless of its position in the directory tree. Notice
that if you want the DLL also in Program Files\YourApp\bin, you need another
component.



-Original Message-
From: Wong Shao Voon [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 08, 2008 11:55 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to GAC .Net assemblies the correct way?

Hey guys,

I could use a custom action to gacutil the .Net dlls into the GAC. But I
searched that WiX and MSI has the correct way of GAC'ing the dlls, instead
of using gacutil.exe . After I googled, I still couldn't find a single
example on how to do it. Could someone kind enough to enlighten me the
correct way to specify it in the WXS file?

Thank you very much!

And have a nice day!

Best regards,
Shao Voon



  
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Granting user access to database

2008-10-07 Thread Eitan Behar
Thanks to all,
Finally, I am "merging" all the concepts, and doing this:








On Tue, Oct 7, 2008 at 5:37 PM, Amy Rosewater <[EMAIL PROTECTED]>wrote:

> Hi Eitan,
>
> I do something similar in my install with the following under my
> SqlDatabase node:
>
>  SQL="CREATE USER [LOGIN] FOR LOGIN [LOGIN]" Sequence="013" />
>  ExecuteOnInstall="yes" SQL="sp_addrolemember 'db_owner', '[LOGIN]'"
> Sequence="014" />
>
> The [LOGIN] is entered in a dialog during the course of my install.
>
> Amy
>
> -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 07, 2008 4:35 AM
> To: General discussion for Windows Installer XML toolset.
>  Subject: [WiX-users] Granting user access to database
>
> Short question, and waiting for (hopefully) a short answer:
>
> How to grant grant permissions of db_owner to a certain user on a
> database?
>
> TiA,
>
> Eitan
> 
>  -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Granting user access to database

2008-10-07 Thread Eitan Behar
Thanks!



On Tue, Oct 7, 2008 at 2:03 PM, Dana Gutride <[EMAIL PROTECTED]> wrote:

> For integrated auth, use a sqlstring element containing the following where
> USERNAME is the domain\username:  exec sp_addrolemember N'db_owner',
> N'[USERNAME]'
>
> Dana
>
>
>
> On Tue, Oct 7, 2008 at 6:34 AM, Eitan Behar <[EMAIL PROTECTED]> wrote:
>
> > Short question, and waiting for (hopefully) a short answer:
> >
> > How to grant grant permissions of db_owner to a certain user on a
> database?
> >
> > TiA,
> >
> > Eitan
> > -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Granting user access to database

2008-10-07 Thread Eitan Behar
Short question, and waiting for (hopefully) a short answer:

How to grant grant permissions of db_owner to a certain user on a database?

TiA,

Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] german letters

2008-10-07 Thread Eitan Behar
Use:
ä
ü
Full reference here:
http://www.ascii.cl/htmlcodes.htm




On Tue, Oct 7, 2008 at 11:02 AM, Dieter Janzen <[EMAIL PROTECTED]> wrote:

> hi,
>
> how is it possible to use ä, ö and ü?
> 
> Pt! Schon vom neuen WEB.DE  MultiMessenger gehört?
> Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Condition for Component

2008-10-05 Thread Eitan Behar
I am still trying to "decipher" the proper use of SQLDatabase on all
scenarios, install, upgrade, rollback, etc. If you manage to work it out,
let us know.



-Original Message-
From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 06, 2008 5:02 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Condition for Component

Thanks Eithan, But I just want to know what ever I am using is this known
open issue or I am giving some thing wrong condition.

Regards
-Sandeep

-Original Message-----
From: Eitan Behar [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 05, 2008 12:25 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Condition for Component

Sandeep,

If you are using this to work with databases, I would suggest you a
different approach. I am creating my databases using SQLScripts elements,
and not using WIX's SQLDatabase element. That way, I have a better
granularity of what I want to do, particularly regarding the way I create
the database.

This is my code:


/sql:SqlDatabase>


INSTALL_DATA=1 And Not Installed





Note that the SqlDatabase element is not within a component.
Also, I have a component per script to create/alter tables, and one script
for dropping the database.

Hope this helps.

Eitan


On Sun, Oct 5, 2008 at 8:34 AM, Sandeep Gautam (HCL Technologies Ltd) <
[EMAIL PROTECTED]> wrote:

> I have tried this option also. On repair/repair, with this option it is
> deleting the data base . But On remove/repair, I don 't want to do any
with
> this component on repair/DB(component which is creating DB at the time of
> installation).
>
> Please help me out.
>
> Regards
> Sandeep
>
>  -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 04, 2008 11:23 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Condition for Component
>
>  Transitive="yes">
> Not Installed
>
>
>
> On Sun, Oct 5, 2008 at 1:45 AM, Sandeep Gautam (HCL Technologies Ltd) <
> [EMAIL PROTECTED]> wrote:
>
> > No, I did not use this attribute.Shall I mark this attribute as No ?
> >
> >
> >
> > -Original Message-
> > From: Rob Mensching [mailto:[EMAIL PROTECTED]
> > Sent: Friday, October 03, 2008 10:33 PM
> > To: General discussion for Windows Installer XML toolset.
> >  Subject: Re: [WiX-users] Condition for Component
> >
> > Is the Component marked Transitive?
> >
> > -Original Message-
> > From: Sandeep Gautam (HCL Technologies Ltd) [mailto:
> [EMAIL PROTECTED]
> > ]
> > Sent: Friday, October 03, 2008 19:28
> > To: General discussion for Windows Installer XML toolset.
> > Subject: [WiX-users] Condition for Component
> >
> > Hi ,
> > I have one component which is creating Data bases. Now I want to execute
> > this component only at the time of first time installation. I don't want
> to
> > execute this on repair and remove(don't want to drop the Db at the time
> > remove) options. I have tried conditions so many conditions with
> component
> > like
> > 
> >   Not Installed 
> >
> > But every time is going into this component.
> >
> > Please help me out.
> >
> > Regards
> > Sandeep
> >
> >
-
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
-
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >

Re: [WiX-users] Condition for Component

2008-10-05 Thread Eitan Behar
Sandeep,

If you are using this to work with databases, I would suggest you a
different approach. I am creating my databases using SQLScripts elements,
and not using WIX's SQLDatabase element. That way, I have a better
granularity of what I want to do, particularly regarding the way I create
the database.

This is my code:


/sql:SqlDatabase>


INSTALL_DATA=1 And Not Installed





Note that the SqlDatabase element is not within a component.
Also, I have a component per script to create/alter tables, and one script
for dropping the database.

Hope this helps.

Eitan


On Sun, Oct 5, 2008 at 8:34 AM, Sandeep Gautam (HCL Technologies Ltd) <
[EMAIL PROTECTED]> wrote:

> I have tried this option also. On repair/repair, with this option it is
> deleting the data base . But On remove/repair, I don 't want to do any with
> this component on repair/DB(component which is creating DB at the time of
> installation).
>
> Please help me out.
>
> Regards
> Sandeep
>
>  -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 04, 2008 11:23 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Condition for Component
>
>  Transitive="yes">
> Not Installed
>
>
>
> On Sun, Oct 5, 2008 at 1:45 AM, Sandeep Gautam (HCL Technologies Ltd) <
> [EMAIL PROTECTED]> wrote:
>
> > No, I did not use this attribute.Shall I mark this attribute as No ?
> >
> >
> >
> > -Original Message-
> > From: Rob Mensching [mailto:[EMAIL PROTECTED]
> > Sent: Friday, October 03, 2008 10:33 PM
> > To: General discussion for Windows Installer XML toolset.
> >  Subject: Re: [WiX-users] Condition for Component
> >
> > Is the Component marked Transitive?
> >
> > -Original Message-
> > From: Sandeep Gautam (HCL Technologies Ltd) [mailto:
> [EMAIL PROTECTED]
> > ]
> > Sent: Friday, October 03, 2008 19:28
> > To: General discussion for Windows Installer XML toolset.
> > Subject: [WiX-users] Condition for Component
> >
> > Hi ,
> > I have one component which is creating Data bases. Now I want to execute
> > this component only at the time of first time installation. I don't want
> to
> > execute this on repair and remove(don't want to drop the Db at the time
> > remove) options. I have tried conditions so many conditions with
> component
> > like
> > 
> >   Not Installed 
> >
> > But every time is going into this component.
> >
> > Please help me out.
> >
> > Regards
> > Sandeep
> >
> > -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> > -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> > -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Bui

Re: [WiX-users] Condition for Component

2008-10-04 Thread Eitan Behar

Not Installed



On Sun, Oct 5, 2008 at 1:45 AM, Sandeep Gautam (HCL Technologies Ltd) <
[EMAIL PROTECTED]> wrote:

> No, I did not use this attribute.Shall I mark this attribute as No ?
>
>
>
> -Original Message-
> From: Rob Mensching [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 03, 2008 10:33 PM
> To: General discussion for Windows Installer XML toolset.
>  Subject: Re: [WiX-users] Condition for Component
>
> Is the Component marked Transitive?
>
> -Original Message-
> From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED]
> ]
> Sent: Friday, October 03, 2008 19:28
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Condition for Component
>
> Hi ,
> I have one component which is creating Data bases. Now I want to execute
> this component only at the time of first time installation. I don't want to
> execute this on repair and remove(don't want to drop the Db at the time
> remove) options. I have tried conditions so many conditions with component
> like
> 
>   Not Installed 
>
> But every time is going into this component.
>
> Please help me out.
>
> Regards
> Sandeep
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Do not want to execute component on repair and Remove

2008-10-04 Thread Eitan Behar
Hi,

If you want to execute a component ONLY during a certain first install and
not repair/remove (very useful with SQL scripts), do the following:


Not Installed

The condition will ensure to install the component only on first install,
and the Transitive="yes" will ensure that the condition is re-evaluated
every time the msi is run, to avoid running the component on reinstall.

Enjoy,

Eitan


On Wed, Oct 1, 2008 at 12:16 AM, Sandeep Gautam (HCL Technologies Ltd) <
[EMAIL PROTECTED]> wrote:

> Resending my query.
>
> -Original Message-
> From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED]
> ]
> Sent: Tuesday, September 30, 2008 12:17 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Do not want to execute component on repair and Remove
>
>  Hi,
>
> I want to execute a component at the time of first time installation. Don't
> want to execute at repair and remove option. Please help me out what
> condition shall I add.
> Its very urgent.
>
> Regards
> -Sandeep
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Warning CNDL 1026 - can ignore ?

2008-10-04 Thread Eitan Behar
Hi,

I opened the msi with Orca, and the Component field is complete (more than
the 72 chars limit). Maybe WIX is just changing the table definition?

According to MS: "The installer does not internally limit the length of
columns to the value specified by the column definition format. If the data
entered into a field exceeds the specified column length, the package fails
to pass package
validation<http://msdn.microsoft.com/en-us/library/aa370569(VS.85).aspx>"


How safe is to ignore ICE03? In any case, it seems that WIX is getting all
the data into the Component field.

Thanks,

Eitan




On Sun, Sep 28, 2008 at 11:36 AM, Jon Arild Tørresdal <[EMAIL PROTECTED]>wrote:

> If you check the Component table in Orca you see that the Component field
> (same as component id in WiX) is defined with length 72. Unless WiX have
> special handling to reduce the length for longer strings and keep them
> unique, I would not exceed this limit.
>
> Jon A. Torresdal
> http://blog.torresdal.net
>
>
> -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: 28. september 2008 09:44
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Warning CNDL 1026 - can ignore ?
>
> Hi,
>
> I am getting the following warning:
>
> *warning CNDL1026: The **Component/@Id* * attribute value
> ...
> is too long for an identifier, Standard identifiers are 72 characters long
> or less.*
> **
> Please, do you know what are the implications of ignoring this warning? I
> use pretty long ids in order to identify the fragment name and file name,
> etc in each component.
>
> Thanks in advance,
>
> Eitan
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Delete temp files during uninstall

2008-10-02 Thread Eitan Behar
Fixing a little the code below:

use ' instead of " to surround the string value, this is to allow using "
instead of "e; and the closing " right after cmd.exe.


http://asp.net/>
Files\myapplication"*'*/>

The generic syntax is:

 

Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Add Remove Programs: Need to suppress fatal error message

2008-09-29 Thread Eitan Behar
Is your installer exiting with an error code? Maybe try to do a clean exit,
instead of failure.

-Original Message-
From: Nimisha Saboo [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 29, 2008 12:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Add Remove Programs: Need to suppress fatal error
message

Hi Bob,

Thanks for the reply.
But is there no way, we can suppress this? Using some ARP property inside
wix may be?

Thanks,
Nimisha

On Sat, Sep 27, 2008 at 11:45 PM, Bob Arnson <[EMAIL PROTECTED]> wrote:

> Nimisha Saboo wrote:
> > uninstall. On clicking "OK", I am shown another dialog, saying "Fatal
> Error
> > during installation."
> >
> > Any clue, how can I suppress this message?
> >
>
> The error message is shown by Add/Remove Programs; it can't be
> suppressed from a launch condition.
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Weird behaviour when patching

2008-09-28 Thread Eitan Behar
The issue is that I expect in both scenarios to behave the same, /qr does
the right thing, REINSTALL=ALL is not the behavior I need. /qb (or /qn) are
doing something which I don't want (reinstalling the whole feature). I've
tried setting REINSTALL=NULL but it's not working either. 

How can I force the MSI to set the proper feature action state when running
without UI (/qb, /qn) ?

Thanks,

Eitan


-Original Message-
From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 29, 2008 12:57 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Weird behaviour when patching

Eitan Behar wrote:
> I am getting different behaviours when installing a patch using /qb vs /qr
> from the command line. The patch only needs to replace two dll files.
>   

When the UI sequence is run, it supplies the feature action states. When 
it's skipped, MSI figures out what to do. If you have to use /qr, I'd 
suggest setting REINSTALL to ALL.

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



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Weird behaviour when patching

2008-09-28 Thread Eitan Behar
Hi,

I know this is a MSI related issue, and not WIX, but this is the only
user-group when I can ask questions, and get answers :^)

I am getting different behaviours when installing a patch using /qb vs /qr
from the command line. The patch only needs to replace two dll files.

Using /qb, I get everything reinstalled:

1: Get Feature:MyFeat InstallState:3 ActionState:5
MSI (s) (AC:EC) [19:37:43:218]: Feature: blablabla; Installed: Local;
Request: Reinstall;   Action: Reinstall

Using /qr, I get a different, and correct picture:

1: Get Feature:MyFeat InstallState:3 ActionState:-1
MSI (s) (34:A0) [17:58:38:035]: Feature: MyFeat; Installed: Local;
Request: Null;   Action: Null

I have digged into the long log files, and the only clue I see is that just
before getting the feature when using /qb, it re-assigns the REINSTALL
property from NULL to MyFeat, something it does not do when using /qr (or
without any /q at all)

I have very nice 2k lines-long log files if you want to take a look at them.
Again, this is not WIX, feel free to redirect me to the right place, maybe
[EMAIL PROTECTED] ???

Gracias in advance,

Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Warning CNDL 1026 - can ignore ?

2008-09-28 Thread Eitan Behar
Hi,

I am getting the following warning:

*warning CNDL1026: The **Component/@Id* * attribute value ...
is too long for an identifier, Standard identifiers are 72 characters long
or less.*
**
Please, do you know what are the implications of ignoring this warning? I
use pretty long ids in order to identify the fragment name and file name,
etc in each component.

Thanks in advance,

Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] SQL scripts and Upgrades

2008-09-24 Thread Eitan Behar
Hi,

I have a big fat setup with several baseline SQL scripts, and after it's
released, I get delta SQL scripts that fix the released database.

The scenario is as follows:

When doing a first installation, I do the baseline (v0), plus all the deltas
(i.e. v1, v2, v3)

If doing an upgrade, I do check which version is installed and run only the
corresponding delta (i.e. if v1 is installed, run v2, and v3). I do all this
process using custom actions.

I wonder if there is a better way to do this. Can I set a condition that
does not reinstall a particular component if it's already installed?

Thanks,

Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] misunderstanding of the CreateFolder directory attribute?

2008-09-23 Thread Eitan Behar
This is how I use it...


   
   

 



On Tue, Sep 23, 2008 at 2:39 PM, bryan rasmussen
<[EMAIL PROTECTED]>wrote:

> Hi,
>
> I seem to have misunderstood the CreateFolder Directory attribute,
> when I do something like the following:
>
>   Directory="[INSTALLDIR]\RenditionServerQ\InjectorQ\OnDemandQ"/>
>
> I get a CNDL0015 error, indicating that I have disallowed characters
> in Identifier, evidently I should be passing in an identifier for a
> path as opposed to a real path? How does one do that?
>
> Does anyone have an example that would create that Path inside of a
> component?
>
> Thanks,
> Bryan Rasmussen
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Very Simple WIX Msi Installer

2008-09-15 Thread Eitan Behar
Is there a reason why you don't want the registry entries? If this is a
MUST, you can always launch a simple application automatically after the
install that cleans the registry from any traces of your setup. But, really,
don't see a reason for that.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of BOB1981
Sent: Monday, September 15, 2008 10:55 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Very Simple WIX Msi Installer


HI Francis,

I do am using MSI Features, like User interface, option to choose features
to install. Actually requirement is to have Feature tree of the MSI as well
in order to choose between Features to install or not but only to install at
default location which i explained earlier

Or do you have any idea wht else could be the approach
waiting.
Bob.



Francis Kam wrote:
> 
> While I'm sure you *could* technically do so, as Brian says, it doesn't
> seem
> like MSI is really a fit for what you want to do. Why create an MSI when
> you
> don't want to use MSI features?
> 
> -Francis
> 
> 
> 
> On Mon, Sep 15, 2008 at 11:17 AM, BOB1981
> <[EMAIL PROTECTED]>wrote:
> 
>>
>> Hi Brian,
>>
>> Cant we create custom action which can run before installing anything.
>> using
>> simple copy command for the backup process of existing files. (i guess
>> this
>> way back up of existing files can be taken)
>>
>> But, my major concern is to how can make msi which wont do any changes at
>> all in Registry. I understand about feature to Hide the entry of package
>> in
>> Add/Remove Program , but this is not wht i want. I want Add/Remove
>> programme
>> not to be updated at all Or registry.
>>
>> So my question is that can we make Msi package which will not update
>> system
>> registry or ARP
>> Thanks.
>>
>>
>>
>>
>> Brian Rogers wrote:
>> >
>> > I would recommond against using a Windows Installer for such a task.
>> There
>> > is no default handling inside the Windows Installer engine which
>> creates
>> > backups. There is a way to make the MSI hidden so it does not show up
>> in
>> > Add/Remove Programs. With the requirements you are listing above I
>> would
>> > say
>> > you should find another deployment method.
>> >
>> > Thanks,
>> >
>> > --
>> > Brian Rogers
>> > "Intelligence removes complexity." - Me
>> > http://icumove.spaces.live.com
>> >
>> >
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/Very-Simple-WIX-Msi-Installer-tp1090878p1091046.html
>> Sent from the wix-users mailing list archive at Nabble.com.
>>
>>
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context:
http://n2.nabble.com/Very-Simple-WIX-Msi-Installer-tp1090878p1091185.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to pass property value to msi

2008-09-15 Thread Eitan Behar

Your message dated Tue, 02 Sep 2008 11:29:47 -0500
with message-id <[EMAIL PROTECTED]>
and subject line selinux-policy-refpolicy-* packages obsolete, and removed
has caused the Debian Bug report #405767,
regarding selinux-policy-refpolicy-targeted: resolvconf policy would be nice
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
405767: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405767
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: selinux-policy-refpolicy-targeted
Version: 0.0.20061018-2
Severity: wishlist

I'm only just wrapping my head around selinux policies, but during boot
I get a whole bunch of avc notices from different daemons like this:

Jan  6 00:13:33 localhost kernel: audit(1168002812.497:4): avc:  denied { read 
} for  pid=2273 comm="syslogd" name="resolv.conf" dev=tmpfs ino=6462 
scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:device_t:s0 
tclass=file
Jan  6 00:13:33 localhost kernel: audit(1168002812.497:5): avc:  denied { 
getattr } for  pid=2273 comm="syslogd" name="resolv.conf" dev=tmpfs ino=6462 
scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:device_t:s0 
tclass=file

Which seems to me to be because resolvconf makes /etc/resolv.conf a
symlink to /etc/resolvconf/run/resolv.conf where /etc/resolvconf/run
is itself a symlink to /dev/shm/resolvconf.

The correctness of this symlinking aside (I think this is the sort of
thing that /lib/init/rw/ is intended for) this means resolv.conf is
picking up device_t rather than what it's supposed to have
(resolv_conf_t?).

Resolvconf itself generates the following avc notices:
Jan  6 00:15:13 localhost kernel: audit(1168002913.017:25): avc:  denied { 
write } for  pid=3437 comm="resolvconf" name="interface" dev=tmpfs ino=6435 
scontext=user_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:device_t:s0 
tclass=dir
Jan  6 00:15:13 localhost kernel: audit(1168002913.017:26): avc:  denied { 
add_name } for  pid=3437 comm="resolvconf" name="wlan0_new.3437" 
scontext=user_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:device_t:s0 
tclass=dir
Jan  6 00:15:13 localhost kernel: audit(1168002913.017:27): avc:  denied { 
create } for  pid=3437 comm="resolvconf" name="wlan0_new.3437" 
scontext=user_u:system_r:dhcpc_t:s0 tcontext=user_u:object_r:device_t:s0 
tclass=file
Jan  6 00:15:13 localhost kernel: audit(1168002913.017:28): avc:  denied { 
write } for  pid=3437 comm="resolvconf" name="wlan0_new.3437" dev=tmpfs 
ino=443447 scontext=user_u:system_r:dhcpc_t:s0 
tcontext=user_u:object_r:device_t:s0 tclass=file
Jan  6 00:15:13 localhost kernel: audit(1168002913.021:29): avc:  denied { 
getattr } for  pid=3439 comm="mv" name="wlan0_new.3437" dev=tmpfs ino=443447 
scontext=user_u:system_r:dhcpc_t:s0 tcontext=user_u:object_r:device_t:s0 
tclass=file
Jan  6 00:15:13 localhost kernel: audit(1168002913.021:30): avc:  denied { 
remove_name } for  pid=3439 comm="mv" name="wlan0_new.3437" dev=tmpfs 
ino=443447 scontext=user_u:system_r:dhcpc_t:s0 
tcontext=system_u:object_r:device_t:s0 tclass=dir
Jan  6 00:15:13 localhost kernel: audit(1168002913.021:31): avc:  denied { 
rename } for  pid=3439 comm="mv" name="wlan0_new.3437" dev=tmpfs ino=443447 
scontext=user_u:system_r:dhcpc_t:s0 tcontext=user_u:object_r:device_t:s0 
tclass=file
Jan  6 00:15:13 localhost kernel: audit(1168002913.021:32): avc:  denied { 
getattr } for  pid=3437 comm="resolvconf" name="enable-updates" dev=tmpfs 
ino=6436 scontext=user_u:system_r:dhcpc_t:s0 
tcontext=system_u:object_r:device_t:s0 tclass=file
Jan  6 00:15:13 localhost kernel: audit(1168002913.025:33): avc:  denied { 
execute } for  pid=3437 comm="run-parts" name="bind" dev=hda3 ino=2852423 
scontext=user_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:etc_t:s0 
tclass=file
Jan  6 00:15:13 localhost kernel: audit(1168002913.037:34): avc:  denied { 
execute_no_trans } for  pid=3440 comm="run-parts" name="bind" dev=hda3 
ino=2852423 scontext=user_u:system_r:dhcpc_t:s0 
tcontext=system_u:object_r:etc_t:s0 tclass=file
Jan  6 00:15:13 localhost kernel: audit(1168002913.065:35): avc:  denied { 
execute_no_trans } for  pid=3458 comm="libc" name="list-records" dev=hda3 
ino=3424259 scontext=user_u:system_r:dhcpc_t:s0 
tcontext=system_u:object_r:lib_t:s0 tclass=file
Jan  6 00:15:13 localhost kernel: audit(1168002913.077:36): avc:  denied { read 
} for  pid=3460 comm="sed" name="wlan0" dev=tmpfs ino=443447 
scontext=user_u:system_r:dhcpc_t:s0 tcontext=user_u:object_r:device_t:s0 
tclass=file
Jan  6 00:15:13 localhost kernel: audit(1168002913.085:37): avc:  denied { 
append } for  pid=3

[WiX-users] Getting actual directory table and file location

2008-09-09 Thread Eitan Behar
Hi,

I am trying to get a list of directories/files within a MSI file using WIX's
DTF. But, when using InstallPathMap, I get the Directory and Files maps,
they show the property names instead of the actual values.

i.e. ProgramFilesFolder\Product\bin\file.exe

or

ProgramFilesFolder\Product\DOCSFOLDER\docs

Where DOCSFOLDER is changed using SetDirectory on runtime.

Is there an already written way to accomplish that ? I want to avoid having
to write a recursive function looking for patterns and doing string
replaces, since I suppose that this is already supported by DTF.

Thanks in advance,
Eitan

"sometimes asking, sometimes answering, hopefully ratio is 1:1"
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to pass property value to msi

2008-09-08 Thread Eitan Behar
Passing a value through the command prompt is as simply as using
PROPERTYNAME=Value, i.e.
msiexec /i "My Setup.msi" MYOWNPROPERTY=Tududu

Public properties are always upper case.

For more details, run msiexec /?

Rgrds

Eitan

On Tue, Sep 9, 2008 at 8:08 AM, Chandra Vuppala <
[EMAIL PROTECTED]> wrote:

> Hi,
>  Problem is passing values to the msi, Please give me sample on passing
> values to msi throuugh UI or through command prompt.
>
> Thanks &  Regards,
> Chandrashekar vuppala
> M-9908298419
> Oakton Global Technology Services Centre (India)
>  Results Driven. When Business & IT Matters
>
> 
>
> From: [EMAIL PROTECTED] on behalf of Rob Mensching
> Sent: Fri 5/09/2008 9:30 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Certificate error
>
>
>
> Except you want to look at the hex number by the "Error".  In this case:
> 0x80070057 = E_INVALIDARG.
>
> Can you be sure you recompiled all of your files.  It is possible you have
> an old table definition that is getting in and being confused.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] On Behalf Of Ryan O'Neill
> Sent: Thursday, September 04, 2008 04:21
> To: 'General discussion for Windows Installer XML toolset.'
> Subject: Re: [WiX-users] Certificate error
>
> The error code 3 is a Win32 error for file not found. You can find win32
> error codes online or in MSDN or at a dos prompt by typing 'net helpmsg 3'
> and it will give you the error text a lot of the time.
>
> I suggest using filemon (from MS) to see what file is being looked for and
> where.
>
> Ryan
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Krzysztof
> Kozmic
> Sent: 03 September 2008 14:40
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Certificate error
>
> I updated to the most recent WiX build. Now I get errors even during
> instalation
>
> InstallCertificates:  Error 0x80070057: Failed to open PFX file.
> InstallCertificates:  Error 0x80070057: Failed to get SHA1 hash of
> certificate.
> InstallCertificates:  Error 0x80070057: Failed to resolve certificate:
> ServiceCertificate
> Action ended 15:36:18: InstallCertificates. Return value 3.
>
> I have absolutely no clue as to what may cause it. Any help?
>
>
> CONFIDENTIALITY NOTICE
> This message is intended exclusively for the individual or entity to which
> it is addressed. This communication may contain information that is
> proprietary, privileged, confidential or otherwise legally exempt from
> disclosure. If you are not the named addressee, you are not authorized to
> read, print, retain, copy or disseminate this message or any part of it. If
> you have received this message in error, please delete all copies of this
> message and notify the sender immediately by return mail or fax ATSI
> S.A.(+4812) 285 36 04.
> Any email attachment may contain software viruses which could damage your
> own computer system. Whilst reasonable precaution has been taken to
> minimise
> this risk, we cannot accept liability for any damage which you sustain as a
> result of software viruses. You should therefore carry out your own virus
> checks before opening any attachments.
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.169 / Virus Database: 270.6.15/1649 - Release Date: 03/09/2008
> 16:13
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mail

Re: [WiX-users] Wix Add Dialog to prompt for username and pwd

2008-09-08 Thread Eitan Behar
This is how you can create a user, and add it to the admin group:

You need the util extension:

xmlns:util=http://schemas.microsoft.com/wix/UtilExtension>














-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Setting a property in a custom action

2008-09-08 Thread Eitan Behar
It will create the property for you. I use this feature to load a property
list dynamically, without having to know the property name in advance.

Eitan



On Mon, Sep 8, 2008 at 11:19 AM, Sean Farrow
<[EMAIL PROTECTED]>wrote:

> Hi:
> I am setting a property in a custom action (a dll) wha happens if the
> property is not created in the .wxs file. Will the dll through a error,
> or just create the property for me?
> Cheers
> Sean.
>
>
> __ Information from ESET NOD32 Antivirus, version of virus
> signature database 3424 (20080907) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Uninstalling related products

2008-09-03 Thread Eitan Behar
you can use a custom action to launch the uninstall of these products, but,
don't think that these are best practices.



On Wed, Sep 3, 2008 at 6:06 PM, Jeff Yates <[EMAIL PROTECTED]> wrote:

> Hi everyone,
>
> If you have a moment, I was wondering if there was a way to uninstall
> additional products when uninstalling another product.  For example...
>
> I install product A.
>
> I then install B, C, D, E (these are add-ons for A that I install via their
> own MSI and upgrade codes etc - so basically, as separate products).
>
> I then uninstall A.
>
> Can I also uninstall B, C, D and E as part of A?
>
> I'm guessing not, but I thought I'd ask. I'm aware that you can uninstall
> items upon install, but I want to do it when uninstalling. Is there a way
> to
> maybe use the registry or a file to record the product codes for uninstall
> and add something to a deferred execution action?
>
> Thanks for any help you might be able to give.
>
> Cheers,
> Jeff
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Dynamically Populate ComboBox.

2008-08-31 Thread Eitan Behar
Hi,
You can use the element SetDirectory to change the target directory for your
webite.
Rgrds,
Eitan

On Mon, Sep 1, 2008 at 8:34 AM, pavan gadam <[EMAIL PROTECTED]> wrote:

> Hey,
>
> I was able to figure out populating the Websites in ComboBox.
>
> The could write the C# equivalent code for the same.
>
> But, I am facing other problem now. When user selects a particular website
> from the combobox, I want to install my webservices into that website.
>
> Is there any way i can change the directory of my website dynamically?
>
>
> 
>
> 
>
> 
>
> Thanks,
> Pavan
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Odp: Re: Need help with QtExec

2008-08-27 Thread Eitan Behar
If you want it both on first install and on uninstall use
1) Not REINSTALL
or
2) (Not Installed) OR (REMOVE)




On Wed, Aug 27, 2008 at 2:52 PM, Krzysztof Kozmic <[EMAIL PROTECTED]>wrote:

> I do have it on both.
> However, it then is unable to uninstall.
>
> I changed 'NOT Installed' to 'INSTALLING' and automagically it works.
> I don't like it however, because I didnt find any reference to INSTALLING
> property anywhere in the docs...
>
> Krzysztof
>
> >>> [EMAIL PROTECTED] 8/27/2008 1:35 pm >>>
>  "NOT Installed" is correct but you need it on the other CustomAction
> (CertsBatPath) or both.
>
> Neil
>
> Neil Sleightholm
> X2 Systems Limited
> [EMAIL PROTECTED] 
>
>
> 
>
> From: [EMAIL PROTECTED] on behalf of Krzysztof
> Kozmic
> Sent: Wed 27/08/2008 11:47
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Odp: Re: Need help with QtExec
>
>
>
> Ok, noe more thing.
>
> How do I make the action be executed only when the installer is installing
> my app (as oposed to uninstalling or repairing)
>
> I tried to use it as:
>
>  NOT
> Installed
>
> it works during install, but while uninstalling i get error, and program
> won't uninstall.
>
> Is there any other, more appropriate flag for that?
> Is there a list of all those flags I can use?
>
>
> >>> [EMAIL PROTECTED] 8/27/2008 10:57 am >>>
> I think the documentation may be wrong, looking at my usage I would do
> this:
>  Value=""[#certs.bat]"" />
>
>
>
>
>
>  CONFIDENTIALITY NOTICE
> This message is intended exclusively for the individual or entity to which
> it is addressed. This communication may contain information that is
> proprietary, privileged, confidential or otherwise legally exempt from
> disclosure. If you are not the named addressee, you are not authorized to
> read, print, retain, copy or disseminate this message or any part of it. If
> you have received this message in error, please delete all copies of this
> message and notify the sender immediately by return mail or fax ATSI
> S.A.(+4812) 285 36 04.
> Any email attachment may contain software viruses which could damage your
> own computer system. Whilst reasonable precaution has been taken to minimise
> this risk, we cannot accept liability for any damage which you sustain as a
> result of software viruses. You should therefore carry out your own virus
> checks before opening any attachments.
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Passing Parameters to a SQL file

2008-08-21 Thread Eitan Behar
Well, this sounds like a good workaround, but I wanted to do it Install
Shield style, where you can just place parameters (like %blabla%) and assign
them to MSI properties. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana Gutride
Sent: Thursday, August 21, 2008 5:48 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Passing Parameters to a SQL file

How many parameters are you talking about?  If it's just a few, why don't
you use a sqlstring action to put them in some temporary table in your db,
read them out with your scripts and get them that way.  SqlScripts are not
designed for passing in parameters and they most likely don't have access to
regular MSI properties because I believe they run deferred.

Dana

On Thu, Aug 21, 2008 at 10:18 AM, Eitan Behar <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I know that I already asked this already, but maybe somebody new to the
> list
> has an answer.
>
> I need an easy way to pass parameters to a SQL file using . I
> cannot use  since the scripts are generated automatically, and
> are pretty long.
>
> Thanks,
>
> Eitan
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Passing Parameters to a SQL file

2008-08-21 Thread Eitan Behar
Hi,

I know that I already asked this already, but maybe somebody new to the list
has an answer.

I need an easy way to pass parameters to a SQL file using . I
cannot use  since the scripts are generated automatically, and
are pretty long.

Thanks,

Eitan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Dynamically Pick File Source Location

2008-08-20 Thread Eitan Behar
Hi Pavan,

If the source folder is relative to the solution/project paths, you can
indeed use a VisualStudio variable, like $(var.MyProject.TargetDir), or
$(var.SolutionDir). But, I don't see how this can help you.

You can "easily" create a C# program that generates the XX number, and save
it on the registry (for the next call), and also assign it to an environment
variable to be used by WIX.




On Thu, Aug 21, 2008 at 8:06 AM, pavan gadam <[EMAIL PROTECTED]> wrote:

> Hi Eitan,
>
> Is there any way in which BuildXX can be auto generated apart from DOS
> Script?
>
> Is it possible with Visual Studio specific Variable?
>
> Thanks,
> pavan
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


  1   2   >