Visual Studio Development Bookmark and Share   
 index > Visual Studio Tools for Office > SetSecurity.InstallState not found during MSI package install
 

SetSecurity.InstallState not found during MSI package install

Hi,

I have a setup todeploy an Outlook AddIn but the MSI package fails with "SetSecurity.InstallState not found".

I tried to find out what the problem is through the internet but no provided solution (if found)fixed the problem.

Here is what I've done:

1. Implement the solution as recommended in thearticlesat

http://msdn2.microsoft.com/en-us/library/bb332051.aspxand

http://msdn2.microsoft.com/en-us/library/bb332052.aspx

2. Modify the solution as mentioned in the articles at

http://blogs.msdn.com/mshneer/archive/2007/09/04/deploying-your-vsto-add-in-to-all-users-part-i.aspxand

http://blogs.msdn.com/mshneer/archive/2007/09/04/deploying-your-vsto-add-in-to-all-users-part-ii.aspx

All prerequisites will be installed correctly, all startup conditions of the msi work fine but at the end of the installationan error message appears reporting error number 2869. I found out that permissions may be the issue I'm looking for. So I ensured that the modifications with the ORCA tool (UAC compliant) has been done and additionallyfollowed the instructions at http://hunter555.blogspot.com/2007/02/installer-error-code-2869-msi-and-uac.html. But the error still occurs. After applying http://blogs.msdn.com/mshneer/archive/2007/03/02/windows-installer-fails-on-vista-with-2869-error-code.aspxI got the correct error message from the msi package saying that the file SetSecurity.InstallState is not found.

I searched my whole disk for that file but did not found. I was looking if there is any reference to be added so that this file will be copied. But without any success.

And now I'm here. Is there anybody who can help me? I have to mention that I use a bootstrapper and do not start the msi package directly. I tell you that because I read some forum items where the advice was:

"...open command prompt and run as administrator under vista and start msiexec /i /package.msi from command promptand it will work fine..."

That is not the solution that fits my interests.

Any ideas?

Thanks

Mõbius

Comment:

This is a new thread but it is to be seen as an addition to the following thread:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2395999&SiteID=1
Mõbius  Thursday, November 15, 2007 1:13 PM
Hi,

I still have no solution for the posted problem above but the problem was fixed although.

I formerly used Visual Studio 2005 and VSTO 2.0 where I think I just forgot to add the project output of the SetSecurity project to the MSI setup project. Now with Visual Studio 2008 and VSTO 3.0 there have been so many changes in my AddIn that I decided to completely start a new AddIn and import some code I still need. Therefor I also created the neccessary projects again and now everything works fine. The output .INSTALLSTATE is successfully created and added to the MSI setup project as well.

Mõbius
  • Marked As Answer byMõbius Wednesday, January 14, 2009 7:55 AM
  •  
Mõbius  Wednesday, January 14, 2009 7:55 AM
Hi,

I still have no solution for the posted problem above but the problem was fixed although.

I formerly used Visual Studio 2005 and VSTO 2.0 where I think I just forgot to add the project output of the SetSecurity project to the MSI setup project. Now with Visual Studio 2008 and VSTO 3.0 there have been so many changes in my AddIn that I decided to completely start a new AddIn and import some code I still need. Therefor I also created the neccessary projects again and now everything works fine. The output .INSTALLSTATE is successfully created and added to the MSI setup project as well.

Mõbius
  • Marked As Answer byMõbius Wednesday, January 14, 2009 7:55 AM
  •  
Mõbius  Wednesday, January 14, 2009 7:55 AM

You can use google to search for other answers

Custom Search

More Threads

• VSTO/VS 2005 Outlook 2003 Add-in Deployment Issue
• Can I not develop Outlook 2003 add-ins after having installed Office 2007 ?
• Can't backspace in the textbox located in the Outlook 2007 form region
• New WinForms vs Published Forms for Default look and feel question.
• Excel Column number format with decimal places
• Display office documents in my windows form
• Outlook 2007 Get Shared Folder Owner or Name
• Requested Member Does not Exist
• Powerpoint addin.
• Can not debug my VSTO application