GovardhanaReddy
Posts: 12
Joined: Mon Oct 28, 2013 10:43 am

Error 1001. Could not load file or assembly

Hi,

During Installation of the package we are getting below error message and installation is getting roll back.

Error 1001. Could not load file or assembly 'Interop.IWshRuntimeLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Please find the attachment for the complete installation log.

Any suggestions for resolving that?

Thanks
Last edited by GovardhanaReddy on Mon Nov 11, 2013 10:29 am, edited 1 time in total.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Error 1001. Could not load file or assembly

Hello,

I'm not sure why you encountered this behavior.
Can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GovardhanaReddy
Posts: 12
Joined: Mon Oct 28, 2013 10:43 am

Re: Error 1001. Could not load file or assembly

Please find the attachment for the sample application
Attachments
Test Application.rar
(3.25 KiB) Downloaded 432 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Error 1001. Could not load file or assembly

Did you or your team send the same inquiry over e-mail recently? If so I replied to it yesterday, let's continue the debate over e-mail.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GovardhanaReddy
Posts: 12
Joined: Mon Oct 28, 2013 10:43 am

Re: Error 1001. Could not load file or assembly

Hi,

Thanks. If we include that assembly, then only we are getting that issue. Otherwise that customaction was executing fine without having any issues.

Thanks for your support.
GovardhanaReddy
Posts: 12
Joined: Mon Oct 28, 2013 10:43 am

Re: Error 1001. Could not load file or assembly

Hi All,

The issue is not with the Interop.IWshRuntimeLibrary.

In custom action parameters earlier we are assigning [APPDIR] as value to the "assembly" property(argument)

If we provide one space followed by [APPDIR] Then everything started working.

Thanks for your support

Return to “Building Installers”