- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Directory Component Not Being Installed!?
- 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
Hey There,
I have a few components that create folders in C:\users\user.name\MyCompany\MyData. The components do have conditions and all but one of the folders are being created successfully. I have no idea why this one component (LocalFontsFolder) is not being installed/the directory is not being created.
I've looked at the install log and compared info from a directory component that is created successfully and I don't see any differences. I've gone through the install template and don't see anything glaring. I've compared the actual component settings to another that is installed successfully, but nothing.
When I look at the files/folders viewer with the proper feature selected, the folder that is eventually missing, is present there.
Can anyone help me troubleshoot this beyond what I've tried? I feel at this point it must be something obvious that I am just overlooking.
Thanks for any guidance you can provide!!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Yes I think you need an entry in the CreateFolder table if you wantr to create empty folders.
InstallSite.org / InstallSite.de
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
What's the ComponentCode of this component and what's the destination directory property?
InstallSite.org / InstallSite.de
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
{CF58DA6C-A24E-4A8C-B90B-89CF782E6445}
The destination is the VIEWERDATA_LOCAL directory. Under that is FONTS1, which is the directory created by the component.
For comparison, here is a component that is acting accordingly... LocalExtractZipFolder {9BA1FD0C-9A95-4959-BFCF-A3A51FE101FC}
It's been so long since I've had a stumping issue like this that I forgot about InstallSite. If you think it might garner more insight, I can post there too.
Thanks, Stefan!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
This is odd. The component is selcted for local installation. The destination directory is C:\Users\My.User\AppData\Local\MyCompany\ViewerData\fonts\ . However, CreateFolders doesn't create that folder. Please tell me the name of a file in that component. Are these files also listed in the Font table? To rule out that it's a font issue, could you please put a dummy text file in the component?
InstallSite.org / InstallSite.de
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
These are just empty folders to be created. None of the folders, the problematic or successfully created, have any content on install.
I think you may have found the issue though. Is it as simple as adding the appropriate record in the CreateFolder table?
There has been a lot of work involving these components lately and maybe something got inadvertently knicked!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Yes I think you need an entry in the CreateFolder table if you wantr to create empty folders.
InstallSite.org / InstallSite.de
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I think what happened was we were playing around with putting a zip file or two in there but decided against it. I think maybe when I removed those two components, the CreateFolder table record was removed.
Seems all good now. I didn't even think to check that!
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)