can't create installer for Sharepoint - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Alya
Posts: 5
Joined: Fri Aug 24, 2012 10:03 am

can't create installer for Sharepoint

Testing Advanced Installer 9.4 with SharepointSolution.
I had many trouble:

1. Adding .wsp it seems not create .cab file. (during installation it said it can't find .cab)
2. Adding a sharepoint solution, instead, it creates the .cab file, but these are the errors (deploy in current server):

Adding solution: "C:\Users\...\AppData\Roaming\alya\mossgrid 1.0.0\install\alya.mssps2010grid.cab".
alya.mssps2010grid.cab: il file manifest.xml non esiste nel package della soluzione.

Deploying solution alya.mssps2010grid.cab to URL <local>.
"alya.mssps2010grid.cab" non esiste nell'archivio delle soluzioni.

Finishing SharePoint solution deployment


3. Selecting the WebSite to deploy, the site url is in wrong format (example: http://localhost:80:servername.com/, when was selected "Sharepoint - 80")

The .wsp was built with vs2010.
OS is Windows 7 Enterprise
Sharepoint 2010
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: can't create installer for Sharepoint

Hello Alya and welcome to Advanced Installer forums,

Thank you for taking the time to evaluate Advanced Installer.

Here's the Sharepoint Installer web-page with a link to the "Create SharePoint Solution installation tutorial" you can follow.

Let us know if you have any questions.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Alya
Posts: 5
Joined: Fri Aug 24, 2012 10:03 am

Re: can't create installer for Sharepoint

Hi Mihai,
thanks for the fast reply.

As said, we followed the tutorial to build our Sharepoint Package but we have some troubles.

If we add directly the wsp to the installer project, the app seems to unable to create the cab file. During installation the app thow an error "couldn't find the cab file".
If we add directly the source project, instead of the wsp package, we receive the following error when we try to launch the setup:

- Adding solution: "C:\Users\...\AppData\Roaming\alya\mossgrid 1.0.0\install\alya.mssps2010grid.cab". alya.mssps2010grid.cab: the manifest file doesn't exist in the solution package. The manifest exists.

In addition, if we check "Web Site selection" to select a WebSite for the deploy, the url where he's trying to deploy is in a wrong format. For example if we select the website "Sharepoint - 80" (http://sharepoointportal) the installer try to deploy on the following url "http://localhost:80:machinename.com"

Could you give us some advice to solve this problems?

We are very interested on Advanced Installer, but our primary goal is build Sharepoint solutions setup, and at this moment we aren't able to do that.

Thanks in advance.
Regards.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: can't create installer for Sharepoint

Hello Alya,

The WSP CAB file is not created because the WSP is archived with MSZip. We'll add predefined support for this starting with 9.5 release which should be out very soon.
Meanwhile, to fix this, you can manually extract the WSP (using 7-Zip) and add the solution folder in your Advanced Installer project.

Currently we only support solutions, we don't support separate features or web-parts which are on our TODO list BTW. The manifest error is related because you are using a feature or web-part instead of a solution.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Alya
Posts: 5
Joined: Fri Aug 24, 2012 10:03 am

Re: can't create installer for Sharepoint

Hi Mihai,
i don't understand when you talk about solutions.

All Sharepoint solutions can include features, and the features can include webpart or other component.

Are you saying that Advanced Installer for now doesn't support Sharepoint solutions that include features with webpart, but support features that include application page?

Could you give me more details about that?

Thanks.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: can't create installer for Sharepoint

Hello Alya,
Could you give me more details about that?
Actually we only support solutions that contain features so it should work if this is your current case.
Advanced Installer doesn't support Sharepoint solutions that contain web-parts.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Alya
Posts: 5
Joined: Fri Aug 24, 2012 10:03 am

Re: can't create installer for Sharepoint

Hi Mihai,
sorry to bother again but the sample is still unclear.
All the Sharepoint Solutions have features unless they are solution deployed at farm level (WebService or Global resources).

A feature could contain webparts, application pages or other components.
If you say that Advanced Installer works with a solution composed with features, it will work with all the types of Sharepoint Solutions, because if a webpart is included in a solution, it's a part of a Sharepoint feature. There isn't other way to compose a Sharepoint solution, that doesn't include features.

In my case i've a Sharepoint solution with a Feature, that contains a webpart.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: can't create installer for Sharepoint

Hello Alya,

There's no problem, I was a bit unclear. What I meant to say was that Advanced Installer doesn't support Sharepoint solutions that contain only web-parts.
In my case i've a Sharepoint solution with a Feature, that contains a webpart.
Can you please send us the .AIP and .WSP to support at advancedinstaller dot com so we can investigate them?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Alya
Posts: 5
Joined: Fri Aug 24, 2012 10:03 am

Re: can't create installer for Sharepoint

Hi,
you can find a zip file attached to this reply with the wsp and aip files that you have requested
Regards
Attachments
package.zip
wsp and aip
(11.02 KiB) Downloaded 200 times

Return to “Common Problems”