Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change dependencies folder

Status
Not open for further replies.

jigolo

Programmer
Jan 6, 2004
20
CA
When I installed my application using a setup project, all the dependencies are installed in the same folder. How can I move them to another folder ?

from...
MyApplication\app.exe
MyApplication\1.dll
MyApplication\2.dll
MyApplication\3.dll
MyApplication\4.dll

to...
MyApplication\app.exe
MyApplication\lib\1.dll
MyApplication\lib\2.dll
MyApplication\lib\3.dll
MyApplication\lib\4.dll
 
Just create the folder Lib in the Application Folder and move the files there manually in the File System Editor. After installation the folder will be created on the user's system and the files will be in there as well.

Regards, Ruffnekk
---
Is it my imagination or do buffalo wings taste just like chicken?
 
Yeah, I tried that, but after installation my app gives a FileNotFoundException... How do I tell the app.exe to check in the Lib folder for the dlls?
 
You should add the path to the DLLs to the PATH environment variable. To do this, you can use the Orca MSI file editor that comes with the Windows Installer SDK to manually edit your msi file and add the entry to it.

Regards, Ruffnekk
---
Is it my imagination or do buffalo wings taste just like chicken?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top