On Tue, Apr 26, 2011 at 6:26 AM, Blair <os...@live.com> wrote:
> Depends on when your custom action is scheduled. Can you describe in more
> detail what you are trying to achieve?

My installer installs an empty database.

On upgrade, I need to call a stored procedure on said database. My
plan was to have a custom action that could figure out the installed
state of the component (looks easy) and then run a query on the
database.

To connect to the database, the custom action requires the full path
of the already installed database. (long story: there will be a
database engine running, but I will terminate it so I can ensure that
I'll be the only camper in the forrest)

So now, armed with Aaron and Bob's suggestions (thank you guys), I
will probably dig through the Directory table until I hit a parent
directory which Id is specified using all caps, and then do a property
lookup on that Id. Which is fine, but I thought surely something like
this is a common thing to do so there must be a convenience function
to do it. (or: what I am about to do is utterly silly and should have
been solved completely differently in the first place)

-- 
Rune

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to