I am currently finishing up repacking Adobe Reader 8.0 -- only part left I need to do is integrate with Interwoven iManage (document management software). To do this, one line of an INI needs to be updated to point to the new version of Reader. The original entry in the INI that I need to update appears as;

APPNAME=Acrobat Reader
PATH=C:\Program Files\Adobe\Reader\acrord32.exe

I need to update the path to reflect the new version; "C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe"

This INI file does not reside within the Adobe structure, it's location is "C:\Program Files\Interwoven\WorkSite\NRTDD.INI"

The easiest way to accomplish this would be to make an updated INI file and include it within the transform to copy over during the install (in AdminStudio Tuner, System Configuration > Files and Folders). The problem is there are other programs referenced in this INI; MS Word, MS PowerPoint, MS Excel, etc.

Is it possible to update just one line inside an INI during install, instead of overwriting the whole file?

If not, it's not the end of the world, but I figured this would be cleaner in case this becomes a trend, and having to keep track of what package overwrites what INI in what order.

Thanks in advance for any help, suggestions, and/or guidance
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Yes, if you use the INI file section of Wise's product it would do that for you. If you don't have Wise, you can use Orca (free from micrsoft) to edit the INIfile table. See the msi.chm help file for reference.
Answered 02/02/2007 by: aogilmor
Ninth Degree Black Belt

Please log in to comment

Thank you for the informative reply -- I'm not sure how I missed this in the first place [8|]

In case other people are wondering the same thing, you can achieve this in AdminStudio Tuner by browsing to;

System Configuration > INI Files

Depending where the original INI file is that needs to be updated, you can right click on Destination Computer and select Show Folder, and select what system folder the INI resides. For example, "WindowsFolder" = "C:\Windows" in WinXP, or "ProgramFilesFolder" = "C:\Program Files"

You can right click on the folder and select "New INIfile" -- rename this to the name of the file you wish to update/change

Right click on this newly added file and select "New Section", title the new section whatever the value is between the [ ] -- in my example, this would be "ACROBAT"

The Key is the value of everything BEFORE the "=" -- in my example, this would be "PATH"
The Value is everything AFTER the "=" -- in my example, this would be "C:\Program Files\Adobe\Reader\acrord32.exe"

The Action has 3 choices; (1) Add Tag, (2) Create Line, (3) Add Line -- these values correspond with (1) msidbIniFileActionAddTag, (2) msidbIniFileActionCreateLine, (3) msidbIniFileActionAddLine in the SDK -- for my example, I used "Add Tag"

I hope this post is able to help other people [:)]
Answered 02/05/2007 by: JdotQ
Senior Purple Belt

Please log in to comment