This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Destination Computer´s Files - Relative Path - Registering dll file
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 11, 2014
03:01 AM
Destination Computer´s Files - Relative Path - Registering dll file
Hey,
I have got a visual Studio Project, which accesses a third party dll written in c++. The third party dll allows to communicate only by a registered COM-object. If I add this dll manually to the destination computer's files, it is possible to change the registration behaviour easily. The problem is, that the file is linked to the full path name. So it is impossible to share the setup-Project by a source control.
Is there any common way to handle this Problem?
How can I use relative path in Specify Application Data -> Files -> Destination computer´s files?
or
How can I register dll-files, which are included by the project content (this is a Workaround to avoid relative path) ?
Thanks in advance!
I have got a visual Studio Project, which accesses a third party dll written in c++. The third party dll allows to communicate only by a registered COM-object. If I add this dll manually to the destination computer's files, it is possible to change the registration behaviour easily. The problem is, that the file is linked to the full path name. So it is impossible to share the setup-Project by a source control.
Is there any common way to handle this Problem?
How can I use relative path in Specify Application Data -> Files -> Destination computer´s files?
or
How can I register dll-files, which are included by the project content (this is a Workaround to avoid relative path) ?
Thanks in advance!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 24, 2014
05:16 AM
Hi,
Fixed relative paths for file content to be copied by the Install Shield Limited Edition to the output directory ( Visual Studio 2012 ) Steps:
-> Expand your install project in the Solution Explorer so you see the 1,2,3,4,5,6 sections
-> Expand '2' and double click on 'Files' You will see a four panel page: with 'Source computer's files' and 'Destination computer's files'
-> Delete your hard coded paths and files from the 'Destination computer's files'
-> Click in the top left panel, on the project that has your files as 'Content Files'
-> The top right panel will show 'Content Files from MyProject'
-> Click and drag this to the bottom right panel (the 'Destination computer's files')
-> Go back into your project and make sure all your files you want copied have properties: Build Action=Content and Copy to output directory=Copy Always
Hope this helps,
Thanks,
Chaitra
Fixed relative paths for file content to be copied by the Install Shield Limited Edition to the output directory ( Visual Studio 2012 ) Steps:
-> Expand your install project in the Solution Explorer so you see the 1,2,3,4,5,6 sections
-> Expand '2' and double click on 'Files' You will see a four panel page: with 'Source computer's files' and 'Destination computer's files'
-> Delete your hard coded paths and files from the 'Destination computer's files'
-> Click in the top left panel, on the project that has your files as 'Content Files'
-> The top right panel will show 'Content Files from MyProject'
-> Click and drag this to the bottom right panel (the 'Destination computer's files')
-> Go back into your project and make sure all your files you want copied have properties: Build Action=Content and Copy to output directory=Copy Always
Hope this helps,
Thanks,
Chaitra
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)