My package need to create a folder when it is installed
I made a package that needs a folder in the root, but how do i create
that folder when the package is installed. Shall i make a user control
to do that or is there an easyer way?
The easiest way is to include a dummy file into your package. When that gets deployed the folder will be created automatically. When you want to program, I suggest you create a custom Package Action by implementing the IPackageAction interface. Then you can configure teh action in the package XML. Checkout this document for info on Package Actions. If you create a custom action please consider to contribute it to the packageactions contrib project
My package need to create a folder when it is installed
I made a package that needs a folder in the root, but how do i create that folder when the package is installed. Shall i make a user control to do that or is there an easyer way?
Hi,
The easiest way is to include a dummy file into your package. When that gets deployed the folder will be created automatically. When you want to program, I suggest you create a custom Package Action by implementing the IPackageAction interface. Then you can configure teh action in the package XML. Checkout this document for info on Package Actions. If you create a custom action please consider to contribute it to the packageactions contrib project
Cheers,
Richard
is working on a reply...