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: long file names in registry
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
Jan 11, 2011
09:23 AM
long file names in registry
Hi Everyone,
I am using InstallShiled 2010 for my basic MSI projects.
There are lots of files to register and I am using extract com at build time for all of them.
In release I specified to use long file names.
That problem is that file pats in registry are in short file format:
e.g. C:\PROGRA~1\COMMON~1
And I need the path to be in long format: e.g. C:\Program Files\Common Files
Any help would be very much appreciated.
Thanks
I am using InstallShiled 2010 for my basic MSI projects.
There are lots of files to register and I am using extract com at build time for all of them.
In release I specified to use long file names.
That problem is that file pats in registry are in short file format:
e.g. C:\PROGRA~1\COMMON~1
And I need the path to be in long format: e.g. C:\Program Files\Common Files
Any help would be very much appreciated.
Thanks
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 11, 2011
03:25 PM
I just realized I should have been more specific in my first post.
The problem is that MSI registers the files and writes into registry using short file paths.
We need paths to be in a long format.
And if I register the file manually paths are in a long format.
How can I tell MSI to write paths in a long format to the registry when registering the file?
Thank you!
The problem is that MSI registers the files and writes into registry using short file paths.
We need paths to be in a long format.
And if I register the file manually paths are in a long format.
How can I tell MSI to write paths in a long format to the registry when registering the file?
Thank you!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 09, 2011
02:48 AM
Com extract at build writes [!Component] in the registry which will be interpreted as a short path.
..."•If a substring of the form [!filekey] is found, it is replaced by the full short path of the file, with the value filekey used as a key into the File table."...
One Solution is to maintain the com information statically. There you can provide personal changes.
Bit if somebody got the problem solved with using com extract at build then please let me know...
..."•If a substring of the form [!filekey] is found, it is replaced by the full short path of the file, with the value filekey used as a key into the File table."...
One Solution is to maintain the com information statically. There you can provide personal changes.
Bit if somebody got the problem solved with using com extract at build then please let me know...
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)