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
- :
- Component not installed
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
‎Apr 25, 2012
08:21 AM
Component not installed
I have a 2012 Installscript project. I added a component that contains a SQLite database file. For the Destination I created a variable . In the FirstUIBefore function I used FeatureSetTarget(MEDIA, "", "C:\\DemoDB").
When I ran the install the directory was not created. I then modified the script to check for the existence of the directory and if not found created it with CreateDir. I ran the install again, the directory was created but the file in the component was not copied into that directory.
I then tried creating the folder in the Files and Folders view and inserting the file there also. When I run the install that does not create the directory or copy the file.
Do I have to create the directory and copy the file into it manually? I can do that but thought surely Installshield could handle that?
any help would be appreciated.
thanks!
When I ran the install the directory was not created. I then modified the script to check for the existence of the directory and if not found created it with CreateDir. I ran the install again, the directory was created but the file in the component was not copied into that directory.
I then tried creating the folder in the Files and Folders view and inserting the file there also. When I run the install that does not create the directory or copy the file.
Do I have to create the directory and copy the file into it manually? I can do that but thought surely Installshield could handle that?
any help would be appreciated.
thanks!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 02, 2012
04:27 AM
Did you get the return value of FeatureSetTarget()?
What does that say?
What does that say?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 02, 2012
07:13 AM
The Help for FeatureSetTarget() says it always returns 0 . Is there some other way to determine what FeatureSetTarget is doing?