DLL's are not copied inside System32 folder in a x64 machine - Advanced Installer Community
jstuardo
Posts: 88
Joined: Mon Nov 09, 2015 10:44 pm

DLL's are not copied inside System32 folder in a x64 machine

Hello...

I have created a 32 bits installation package that I need to run in a 64 bits machine. The problem is that I need some DLL's to be copied inside System32 folder, however, even when I have placed those DLL's in both System and System64 folders in AI, after installation I see that the DLL's are only placed at SysWOW64 folder.

What is wrong here?

Thanks
Jaime
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: DLL's are not copied inside System32 folder in a x64 machine

Hello Jaime and welcome to our forums,

Please note that only a 64-bit package type can install resources into a 64-bit location (i.e. System32). Please take a look on our "Advanced Installer Package Types" article which should bring you a better understanding of the installation package types.

If you have any further question just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jstuardo
Posts: 88
Joined: Mon Nov 09, 2015 10:44 pm

Re: DLL's are not copied inside System32 folder in a x64 machine

Thanks,

I understand the point, however, I will explain the problem in other way.

I have developed a Windows 32 bits application. That application requires some DLL fies that are inside System32 folder.

The problem is that the installer (using 32 bits project type) copies those files inside SYSWow64 folder, so, when application is launched, it sends errors telling that some DLL files are missing.

Then, I have to manually copy the files inside System32 folder in order to launch the application.

How can I solve this? maybe using a custom action ran at final step or something?

Thanks
Jaime
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: DLL's are not copied inside System32 folder in a x64 machine

Hello Jaime,

You can create a mixed package type and add your files under "System" and under "System64" folders from "Files and Folders" page. Then, you should just add a proper condition (using VersionNT64 property) on the components of the added files.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”