Problem with .dll during installation.
Posted on 2003-03-20
I have two projects, one is expected to generate .exe and the other is expected to generate .dll.
The .dll is a addin for MS Office. Actually, the .dll share some form in the .exe.
I use PDW to generate setup program for the .exe and at the same time include the .dll with the wizard. The .dll then is copied in the System32 folder. However, the codes in the form of .dll use the "App.path" to access a subfolder, as a result, the codes access \system32\myFolder\.
However, what I want is the code to access C:\Program Files\MyProgram\myFolder. What can I do?
Can I copy the .dll into C:\Program Files\MyProgram\ ? So that the App.path works? But how to do this with the PDW?