开发者

Custom Actions within c++/cli Setup project

开发者 https://www.devze.com 2023-04-06 17:58 出处:网络
I have done over 20 installer classes for MSI\'s in c#, i\'m now attempting one in c++/cli. I add my project output file (which contains my installer class) to the custom actions \"Install\"... i over

I have done over 20 installer classes for MSI's in c#, i'm now attempting one in c++/cli. I add my project output file (which contains my installer class) to the custom actions "Install"... i over ride OnAfterInstall within the Installer Class, with no code at the moment and i get the following error (just testing):

Error 1001. Exception occurred while initializing the installation: System.10.FileLoadException: Attempt to load an unverifiable executable with fixups (IAT with more than 2 sections or a TLS section.) (Exception from HRESULT: 0x30131019).

i would appreciate any guidance on this issue... I've never experienced it before. when this error happens it initiates a rollback... below is a link to the MSI LOG:

http://www.evas.com/MSILOG/MSI67b70.LOG

开发者_开发技巧

i would greatly appreciate some guidance, Thank you


I've only written this type of custom actions in C++ so I don't know for sure what is the problem.

I found on MSDN the following samples, maybe it will help you: http://msdn.microsoft.com/en-us/library/system.configuration.install.installer(v=vs.71).aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号