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: Component Files in Custom Folder
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
‎May 27, 2009
04:02 PM
Component Files in Custom Folder
Greetings, InstallShield specialists.
As you can see I'm a new user that is already facing some problems while trying to understand how this great tool works. My main problem might not be a big issue for experienced users, but as a newbie I am really having a bad time while trying to make the files of one of my project's components (e.g. "Repository") be copied to a custom folder (e.g. "C:\Repository"), that can be changed by the end-user. What's the best way to do that? While in design-time? Run-time? Can I set a property, path variable or something? How can I use it?
Any ideas will be very appreciated.
Thank you so very much!
As you can see I'm a new user that is already facing some problems while trying to understand how this great tool works. My main problem might not be a big issue for experienced users, but as a newbie I am really having a bad time while trying to make the files of one of my project's components (e.g. "Repository") be copied to a custom folder (e.g. "C:\Repository"), that can be changed by the end-user. What's the best way to do that? While in design-time? Run-time? Can I set a property, path variable or something? How can I use it?
Any ideas will be very appreciated.
Thank you so very much!
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 27, 2009
04:14 PM
The easiest way would be to create another feature and move that component to it. Then at runtime they can select a different location for that feature. For the desitnation set some default path (don't use INSTALLDIR since your other features may use it).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 27, 2009
04:33 PM
I am trying to do that in the "Application Data -> Files and Folders" view, but it just allows me to place my files in Predefined Folders.
How can I avoid those predefined folders and set a variable custom end-user-specified folder path and then associate it with my files?
Thank you very much!
(If I am not being very clear, please let me know)
How can I avoid those predefined folders and set a variable custom end-user-specified folder path and then associate it with my files?
Thank you very much!
(If I am not being very clear, please let me know)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 28, 2009
08:44 AM
OK, after hours of research, I found out that it is possible to, in the "Files and Folders" view, right-click the "Destination Computer" icon, create a "New Folder" and name it, say, "C:" and then create the directory tree I want. But it's still a design-time and hard-coded solution. How can I let the user enter the path and create it at run-time? Any directions to solve that? Thanks a lot.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 28, 2009
12:53 PM
How can I do all this stuff at run-time? What are the command lines?
Do you have any example?
Do you have any example?