LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

copying dll files present in the project to the windows\system32 folder while installing

I have created the project folder, in that i have add the dll files in to it. I have to create the installer for that project. when i install this in other machine i have copy the dll files in that windows\system32 folder.

 

is it possible?

 

Thanks

Alagar

Message 1 of 6
(4,392 Views)

You can add those files to your project and the files should be copied to the "Support Directory". You can change the support directory if you need to. Or, you can provide a batch file and simply indicate in the installer to run the batch file after installation (in the "Advanced" page).

 

Normally DLLs that a project uses are stored within the project's directory structure for clean install/uninstall. Is there a reason why you're putting these DLLs into a user's windows\system32 directory?

Message 2 of 6
(4,385 Views)

hi smercurio,

 

I need this dll to make the sysytem to print some of the documents using printer... for that i have to add the dll files in to system32 folder...

 

In project where i can find that support directory?

0 Kudos
Message 3 of 6
(4,357 Views)
Usually, when you create an installer, LabVIEW automatically finds all the DLLs used/called by your application & puts them in a folder called "data" in the immediate location under the topmost project folder. If there are any OS DLLs accessed by your project, they are NOT included in the data folder, as they would, by default, be present in the OS directory.
- Partha ( CLD until Oct 2027 🙂 )
Message 4 of 6
(4,341 Views)

Alagar wrote:

hi smercurio,

 

In project where i can find that support directory?


This is defined in the Destinations tab. Please check the LabVIEW Help for a full explanation on how to build applications.

Message 5 of 6
(4,323 Views)

thanks,

 

Alagar

0 Kudos
Message 6 of 6
(4,308 Views)