In this case then does that component get actioned multiple times or just
the once for all referenced features?

On Mon, Jun 22, 2009 at 10:12 AM, Yan Sklyarenko (via Nabble) <
ml-user+60382-221122...@n2.nabble.com<ml-user%2b60382-221122...@n2.nabble.com>
> wrote:

> Here's the extract of the MSI docs:
> "Components can be shared by two or more features, that is, the same
> component can be referred to by more than one feature."
>
> http://msdn.microsoft.com/en-us/library/aa368579(VS.85).aspx
>
> -- Yan
>
> -----Original Message-----
> From: hegsie 
> [mailto:heg...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3131844&i=0>]
>
> Sent: Monday, June 22, 2009 11:49 AM
> To: 
> wix-us...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3131844&i=1>
> Subject: [WiX-users] Re-using a component multiple times in different
> features
>
>
> Hi,
> I have a situation where I have multiple features that all perform the
> same
> piece of SQL on a database, rather than have to copy the the SqlString
> command multiple times, I was wondering if there is a way to do this
> using
> the ComponentGroup element.. the SQL looks similar to...
>
> exec sp_addlogin '[ComputerName].[FEATURENAME]', '[PASSWORD]',
> 'THEDATABASE', 'us_english'
>
> Also is there some way to set the FEATURENAME property for each usage of
> this SQL in a feature?
> Cheers
>
>
>
> --
> View this message in context:
> http://n2.nabble.com/Re-using-a-component-multiple-times-in-different-fe
> atures-tp3131775p3131775.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------
> ------
> Are you an open source citizen? Join us for the Open Source Bridge
> conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference:
> $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebrid
> ge.org
> _______________________________________________
> WiX-users mailing list
> wix-us...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3131844&i=2>
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
>
> Are you an open source citizen? Join us for the Open Source Bridge
> conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference:
> $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
>
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
> _______________________________________________
> WiX-users mailing list
> wix-us...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3131844&i=3>
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------
>  This email is a reply to your post @
> http://n2.nabble.com/Re-using-a-component-multiple-times-in-different-features-tp3131775p3131844.html
> You can reply by email or by visting the link above.
>
>


-- 
The significant problems we face cannot be solved by the same level of
thinking that created them.
-- Albert Einstein

blog:http://bensafricanadventure.blogspot.com
phone: +447767-322-122

-- 
View this message in context: 
http://n2.nabble.com/Re-using-a-component-multiple-times-in-different-features-tp3131775p3131884.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to