This morning I've released a new project on Codeplex called Package Actions Contrib. This project will contain several (currently one) Package actions that you can use during the install process of your package. For more info read this post.
I've explained that already in your previous post a few days ago. And you can always have a look at the code for the existing package actions in the contrib project
Probably, I don't know how vista db handles create table statements.
Btw, this is just an example, you should replace the create table statement with your own, which should insert an entry into the umbracoUser2App table.
Package Actions Contrib project
http://packageactioncontrib.codeplex.com/
This morning I've released a new project on Codeplex called Package Actions Contrib. This project will contain several (currently one) Package actions that you can use during the install process of your package. For more info read this post.
Hope you like it.
Cheers,
Richard
Hi richard.,
if can post code example as how to use ipackage interface?
Thank you
Sam,
I've explained that already in your previous post a few days ago. And you can always have a look at the code for the existing package actions in the contrib project
Hope this helps.
Regards,
/Dirk
is there any packageaction for adding entry into umbracoUser2app table?
Yes, there is, ExecuteSql can be used for that. A sample:
<Action runat="install" undo="false" alias="ExecuteSql"><![CDATA[CREATE TABLE tmp ( [ClientCategoryId] [int] IDENTITY(1,1) NOT NULL)]]></Action>
Hope this helps.
Regards,
/Dirk
it tried to use insert statement ,it is not working. does it get conflict if using vistadb instead of sqlserver2005
Probably, I don't know how vista db handles create table statements.
Btw, this is just an example, you should replace the create table statement with your own, which should insert an entry into the umbracoUser2App table.
Hope this helps.
Regards,
/Dirk
yes Dirk ., i do tried that :-)
is working on a reply...