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
- :
- How To - Text Changes
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 28, 2011
04:03 PM
How To - Text Changes
Hi there again,
I have a few question regarding Text Changes because I can't quite get it to work.
I have a desktop.ini file that I am installing to a user profile, My Documents folder called WorkArea. The desktop.ini file has pathing to an icon resource to be displayed for this folder when viewed in Explorer.
I thought I would place a tag in the file, such as (Find What value) then replace that with INSTALLDIR (Replace With value).
The contents of the file as added to the Files/Folders viewer...
IconFile=WorkArea.ico
I would hope to end up with...
IconFile=C:\Program Files\MyApp\WorkArea.ico
Following install, however, no replacement is made? What am I doing wrong?
Any help is GREATLY appreciated!
Thanks much!
I have a few question regarding Text Changes because I can't quite get it to work.
I have a desktop.ini file that I am installing to a user profile, My Documents folder called WorkArea. The desktop.ini file has pathing to an icon resource to be displayed for this folder when viewed in Explorer.
I thought I would place a tag in the file, such as
The contents of the file as added to the Files/Folders viewer...
IconFile=
I would hope to end up with...
IconFile=C:\Program Files\MyApp\WorkArea.ico
Following install, however, no replacement is made? What am I doing wrong?
Any help is GREATLY appreciated!
Thanks much!
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2011
04:20 PM
I thought I might have had it, but on my next try it didn't work. The difference, I marked the file as system, hidden, readonly. Does Text change not work with these attributes?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2011
08:45 PM
Is there another way to display an icon for the folder in Explorer instead of messing around with a desktop.ini file? Can I tie to icon to to a component in some way?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 31, 2011
07:36 AM
Windows Installer properties should be enclosed in square brackets. Did you try using [INSTALLDIR] as the Replace With value?
The following help topic has some steps on replacing strings in a text file with Windows Installer property values:
Using Windows Installer Properties to Dynamically Modify Text Files
I hope that helps.
The following help topic has some steps on replacing strings in a text file with Windows Installer property values:
Using Windows Installer Properties to Dynamically Modify Text Files
I hope that helps.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)