Just build your site in Umbraco, basically the site as you wish it to appear if someone was to install it as a package - So all your CSS, images, content all ready to go.
Then in the umbraco admin go to
Developer > Packages > Created Packages
Then right click on Created Packages and choose 'Create' .. Then go through each tab and select all your assets (Doctypes, CSS etc...), fill out all the info needed and save and publish - You will then see a link where you can download your newly generated package.
If you need to do more advanced things like create tables / rows in the database, or other more complex things you will need to use Package actions which you can read more about here
When I hit on Create Packages, I get this error...
Root element is missing.
================
IF I right click on "created packages",It can show me create package dialog. But After I enter the name
of my custom package. and I hit "Create" Button.
It close the dialog box. and do nothing.. and nothing is change.
If I see the umbraco log.. there is these errors.
========= First ERROR ======
* System.Xml.XmlException: Root element is missing. at
System.Xml.XmlTextReaderImpl.Throw(Exception e) at
System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) at
System.Xml.XmlTextReaderImpl.ParseDocumentContent() at
System.Xml.XmlTextReaderImpl.Read() at
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader
reader) at System.Xml.XmlDocument.Load(String filename) at
umbraco.cms.businesslogic.packager.data.Reload(String dataSource)
at umbraco.cms.businesslogic.packager.data.MakeNew(String Name, String
dataSource)
========= 2nd ERROR ======
At /umbraco/developer/packages/editPackage.aspx?id=0 (Referred by: localhost:1113/.../create.aspx
packages&rnd=6.7&rndo=7.2): System.Xml.XmlException: Root
element is missing. at
System.Xml.XmlTextReaderImpl.Throw(Exception e) at
System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) at
System.Xml.XmlTextReaderImpl.ParseDocumentContent() at
System.Xml.XmlTextReaderImpl.Read() at
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader
reader) at System.Xml.XmlDocument.Load(String filename) at
umbraco.cms.businesslogic.packager.data.Reload(String dataSource)
at umbraco.cms.businesslogic.packager.data.GetFromId(Int32 Id, String
dataSource, Boolean reload) at
umbraco.cms.businesslogic.packager.data.Package(Int32 id, String
datasource) at
umbraco.cms.businesslogic.packager.CreatedPackage.GetById(Int32 id)
at umbraco.presentation.developer.packages._Default.Page_Load(Object
sender, EventArgs e) at
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o,
Object t, EventArgs e) at
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender,
EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at
umbraco.BasePages.BasePage.OnLoad(EventArgs e) at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
=============3rd=============== At
/umbraco/webservices/TreeDataService.ashx?app=developer&id=-1&treeType=packagerPackages&packageType=created&rnd=88790a08-cb6d-41f8-91cc-76aab713279f&rnd2=84
(Referred by: http://localhost:1113/umbraco/default.aspx?):
Create Umbraco Startup KIT
Hi,
Anyone knows how to create umbraco startup kit ? like CWS ?
Is there any external tool ?
Is it the same like creating a package ?
Thanks in advanced
CWS is a package - yes.
Do you know how to create it ?
Is it using external tool ?
thanks
There is no tool other than the package creator in Umbraco.
Some people create their own nant scripts or similar to build packages.
Is there any step by step to create startup kit using package ?
Just build your site in Umbraco, basically the site as you wish it to appear if someone was to install it as a package - So all your CSS, images, content all ready to go.
Then in the umbraco admin go to
Developer > Packages > Created Packages
Then right click on Created Packages and choose 'Create' .. Then go through each tab and select all your assets (Doctypes, CSS etc...), fill out all the info needed and save and publish - You will then see a link where you can download your newly generated package.
If you need to do more advanced things like create tables / rows in the database, or other more complex things you will need to use Package actions which you can read more about here
http://umbraco.org/documentation/books/package-actions-reference
Maybe you should invest in an Umbraco.tv subscription, they've got some videos on packaging: http://umbraco.tv/documentation/videos/for-developers
Thanks...
in V4.5.. I get an error in creating packages.
When I hit on Create Packages, I get this error...
Root element is missing.
================
IF I right click on "created packages",It can show me create package dialog.
But After I enter the name of my custom package. and I hit "Create" Button.
It close the dialog box. and do nothing.. and nothing is change.
If I see the umbraco log.. there is these errors.
========= First ERROR ======
* System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at umbraco.cms.businesslogic.packager.data.Reload(String dataSource)
at umbraco.cms.businesslogic.packager.data.MakeNew(String Name, String dataSource)
========= 2nd ERROR ======
At /umbraco/developer/packages/editPackage.aspx?id=0 (Referred by: localhost:1113/.../create.aspx packages&rnd=6.7&rndo=7.2): System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at umbraco.cms.businesslogic.packager.data.Reload(String dataSource)
at umbraco.cms.businesslogic.packager.data.GetFromId(Int32 Id, String dataSource, Boolean reload)
at umbraco.cms.businesslogic.packager.data.Package(Int32 id, String datasource)
at umbraco.cms.businesslogic.packager.CreatedPackage.GetById(Int32 id)
at umbraco.presentation.developer.packages._Default.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at umbraco.BasePages.BasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
=============3rd===============
At /umbraco/webservices/TreeDataService.ashx?app=developer&id=-1&treeType=packagerPackages&packageType=created&rnd=88790a08-cb6d-41f8-91cc-76aab713279f&rnd2=84 (Referred by: http://localhost:1113/umbraco/default.aspx?):
Anyone face the same thing ?
thanks
is working on a reply...