Uneeded component in an unmanaged solution RRS feed

  • Question

  • Hi,

    I have an unmanaged solution i want to import but there is one component in it causing an error.

    It's a custom workflow and I don't need it.

    How can I import the solution without it or delete it and then import the solution?

    Thursday, March 22, 2012 3:57 PM

All replies

  • The proper way to do that would be to remove the solution from the import in the original organization you exported the unmanaged solution from. The create a new export and it should work now.

    You can do it by modifing the exported solution but if you make an error here it will break the package even more. The chance of the organization getting corrupted after importing the modified package is slim but present. So you should not do this but the steps are:

    • Unzip the unmanaged solution
    • From the workflows folder remove the xaml file for your work. Do not the guid in the file name
    • From the solution.xml file remove the rootcomponent of type 29 with the same guid as the workflow file
    • Zip the files again. Ensure the [Content_types].xml and other files are in the root of the zip not a folder

    Patrick Verbeeten

    Thursday, March 22, 2012 4:22 PM