Wednesday, February 23, 2011
Tuesday, February 15, 2011
test
There are lot of things going on in the DDF file, but here is what I think is important to understand.
- Comments in the file begin with a semi-colon
- .OPTION lines tell the MAKECAB utility what options to use when building the CAB archive
- .Set lines tell the MAKECAB utility what values to apply to certain parameters that are used when building the CAB archive
- Make sure the CabinetNameTemplate parameter is set to what the name of the WSP file will be (in the example above the MAKECAB utility will generate a CAB archive named my.wsp)
- Each content file to be added to the CAB archive is listed on a line in a space separated source-destination format
- For example, this CAB archive will contain an HTML file (my.html); the last line in the example above tells the MAKECAB utility to grab the my.html file from the file system (the source location) and place copy it to LAYOUTS/mysample/my.html in the CAB archive (the destination location)
- Double quotes can be used to define sources that contain spaces in the path or file name
- Make sure to include the solution meta-data XML file (manifest.xml) at the root of the CAB archive
The next step is to create the solution manifest file .
The example is a very simple solution manifest, but there are a couple of things to take away from it.
- Every solution has a GUID (globally unique identifier) that identifies uniquely
- As a general rule, every deployment file, schema,
test
There are lot of things going on in the DDF file, but here is what I think is important to understand.
* Comments in the file begin with a semi-colon
* .OPTION lines tell the MAKECAB utility what options to use when building the CAB archive
* .Set lines tell the MAKECAB utility what values to apply to certain parameters that are used when building the CAB archive
o Make sure the CabinetNameTemplate parameter is set to what the name of the WSP file will be (in the example above the MAKECAB utility will generate a CAB archive named my.wsp)
* Each content file to be added to the CAB archive is listed on a line in a space separated source-destination format
o For example, this CAB archive will contain an HTML file (my.html); the last line in the example above tells the MAKECAB utility to grab the my.html file from the file system (the source location) and place copy it to LAYOUTS/mysample/my.html in the CAB archive (the destination location)
o Double quotes can be used to define sources that contain spaces in the path or file name
o Make sure to include the solution meta-data XML file (manifest.xml) at the root of the CAB archive
The next step is to create the solution manifest file .
xmlns="http://schemas.microsoft.com/sharepoint/">
The example is a very simple solution manifest, but there are a couple of things to take away from it.
* Every solution has a GUID (globally unique identifier) that identifies uniquely
* As a general rule, every deployment file, schema,
* Comments in the file begin with a semi-colon
* .OPTION lines tell the MAKECAB utility what options to use when building the CAB archive
* .Set lines tell the MAKECAB utility what values to apply to certain parameters that are used when building the CAB archive
o Make sure the CabinetNameTemplate parameter is set to what the name of the WSP file will be (in the example above the MAKECAB utility will generate a CAB archive named my.wsp)
* Each content file to be added to the CAB archive is listed on a line in a space separated source-destination format
o For example, this CAB archive will contain an HTML file (my.html); the last line in the example above tells the MAKECAB utility to grab the my.html file from the file system (the source location) and place copy it to LAYOUTS/mysample/my.html in the CAB archive (the destination location)
o Double quotes can be used to define sources that contain spaces in the path or file name
o Make sure to include the solution meta-data XML file (manifest.xml) at the root of the CAB archive
The next step is to create the solution manifest file .
The example is a very simple solution manifest, but there are a couple of things to take away from it.
* Every solution has a GUID (globally unique identifier) that identifies uniquely
* As a general rule, every deployment file, schema,
Monday, February 14, 2011
How to Add STSADM in path using Windows Server 2008
I always keep STSADM in path, because it very useful. You can also create a shortcut for command prompt configured for STSADM.
For Sharepoint 2007
Usually STSADM.exe exist in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN\.
For Sharepoint 2010
Usually STSADM.exe exist in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\
Click on ‘Start’
Right Click on ‘Computer’ and select Properties
Select ‘Advanced System Settings’
Click on the ‘Environment Variables…’
Now select the ‘Path’ from system variables
Click Edit
Their will be already may be some path available you just append this new path
first add ;(semicolon) then your path of BIN folder (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\
) where stsadm.exe will be.
Add this path (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN) in existing path seprated by ‘;’
Thats all, now you can use STSADM from anywherein command prompt.
For Sharepoint 2007
Usually STSADM.exe exist in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN\.
For Sharepoint 2010
Usually STSADM.exe exist in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\
Click on ‘Start’
Right Click on ‘Computer’ and select Properties
Select ‘Advanced System Settings’
Click on the ‘Environment Variables…’
Now select the ‘Path’ from system variables
Click Edit
Their will be already may be some path available you just append this new path
first add ;(semicolon) then your path of BIN folder (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\
) where stsadm.exe will be.
Add this path (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN) in existing path seprated by ‘;’
Thats all, now you can use STSADM from anywherein command prompt.