IE Addon Web Publish with prerequisites problem

Add-in Express™ Support Service
That's what is more important than anything else

IE Addon Web Publish with prerequisites problem
 
Sharon D




Posts: 6
Joined: 2010-03-22
When I try to add prerequisites to the IE ADX publish dialog, I get this message :

Task attempted to log before it was initialized. Message was: Item 'Microsoft.Net.Framework.3.5.SP1' could not be located in 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\'.

I'm getting this for every prerequisite package I choose, even if I mark "download from vendor site"

I do have all of the SDK's installed at that directory (Regular installer project with prerequisites do work for me)

I'm using Add-in express version 6.0 Release (build 367), with VS2008 & Windows 7
Posted 22 Mar, 2010 04:30:22 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Sharon.

Please install Add-in Express 6.1.368. Let me know if the issue persists.
Posted 22 Mar, 2010 11:33:27 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Posted 22 Mar, 2010 11:38:50 Top
Sharon D




Posts: 6
Joined: 2010-03-22
Hi Sergey

Thank you for answering.
I installed the Add-in Express 6.1.368. And now, once publishing, I get the message:

"Task attempted to log before it was initialized. Message was: No 'HomeSite' attribute has been provided for '.NET Framework 3.5', so the package will be published to the same location as the bootstrapper."

I pressed the OK button, and it seems to work - I got an setup.exe file at the publish directory.

BUT - I uploaded all the files to my web server, downloaded the 90K executable created by the publish, and got this message:
"This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package."

If I manually download the MSI package, it works. Seems that the downloaded content gets corrupted...
Posted 22 Mar, 2010 13:09:27 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Posted 23 Mar, 2010 11:42:24 Top
Sharon D




Posts: 6
Joined: 2010-03-22
Thanks again for your answer.

The second problem I described above is the most critical, and reproduces even if I choose to d/l the SDK's from installation site.

Right now, I can't publish ADX projects using the flow you developed - when I'm running the setup.exe file, it launches the downloader url, and the downloader itself downloads the MSI, and then the message: "This installation package could not be opened..." displays.
Posted 23 Mar, 2010 12:46:22 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Sharon, please download the VS2008SP1Readme document and read the 'Enable Samesite for the .NET Framework 3.5 SP1 bootstrapper package' chapter. You find a solution for this issue.
Posted 23 Mar, 2010 13:29:59 Top
Sharon D




Posts: 6
Joined: 2010-03-22
I already followed these steps, even before contacting you - my SDKs are valid. I know that because I can build regular installation project with prerequisites.

My problem here related to the flow AFTER right-clicking on project and choosing "Publish ADX"
I'm getting in ~\Publish directory 3 files (and one folder). These files are
1. setup.exe
2. myaddin.exe
3. myaddin.msi

The "prerequisites" folder contains all of needed SDK's (.net framework 3.5SP1 & Windows Installer 3.1 in my case)

Once I'm uploading these to the site, and running "myaddin.exe", the msi file is downloaded (I see the progress bar), and executed. Upon executing, I see the message I quoted before ("This installation package could not be opened...").

Thanks for your response
Posted 23 Mar, 2010 14:38:59 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Sharon.

Please test your installation locally from a virtual directory created via IIS manager. Do you get the same error?
Posted 25 Mar, 2010 12:20:41 Top
Sharon D




Posts: 6
Joined: 2010-03-22
Hi Sergey

Apparently, locally it's working fine.
Posted 25 Mar, 2010 16:17:24 Top