0

I have made a running script using innocallback.dll then i imported it to the graphical installer and it is also using the same dll and now i have an error "Exception: The process cannot access the file because it is being used by another process." Can I run the script using innocallback.dll twice? i have used this example then import it to graphical installer and the problem came.

Inno Setup - Multiple Images display (slideshow) on wpInstalling Page under ProgressGauge bar

Community
  • 1
  • 1
  • Ask [`vendor`](http://stackoverflow.com/users/765955/slappy) for this. He's responsible for running that another process. You can only rename the library and import it under the different name. Anyway, nice note [`in manual`](http://graphical-installer.com/files/manuals/inno/index.html), `botva2.dll`, `Source: Unknown`. Let's take an unknown, undocumented library from some russian forum and sell it with commercial product. Interesting strategy :-) – TLama Sep 16 '13 at 17:52
  • As first try to rename the library and use it that way as TLama said. If it does not work contact me (please send link to sources). – Slappy Sep 17 '13 at 07:12
  • TLama/Slappy - I will try thanks for the quick reply... – Arlan Mendoza Sep 17 '13 at 07:41
  • it works... i just rename the other one innocallback2.dll and no error thanks again simple solution to big error... thanks again – Arlan Mendoza Sep 17 '13 at 07:48
  • You're welcome! Anyway, I knew it will work, because the `LoadLibrary` function cares only about the file which is passed by name to its parameter. By this file name it then loads the library into an address space and returns a unique module handle which can be shared. However, in this case that another process didn't allow to share it... – TLama Sep 17 '13 at 08:06
  • thanks again, i learned a lot just viewing all your post and answer to all the question. – Arlan Mendoza Sep 17 '13 at 08:07

0 Answers0