Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Just want to add one file for minor upgrade


2 replies to this topic

alanpi

alanpi
  • Members
  • 2 posts

Posted 13 December 2005 - 02:10

I modified 4 idt files (component, featurecomponent, file, media). When the msi is run, it says the upgrade ran, but no files are updated.

changes to component.idt:
- Added file with the new ComponentId Guid I created.

changes to featurecomponents.idt
- Added file

changes to file.idt:
- Added file, bumped the sequence count

changes to media.idt
- bumped the last sequence


Changed PackageCode and ProductVersion

What else is left?

luke_s

luke_s
  • Full Members
  • 532 posts

Posted 16 December 2005 - 06:20

What is your REINSTALLMODE set to?
Also, run using a log file, this should help you find the problem.

alanpi

alanpi
  • Members
  • 2 posts

Posted 19 December 2005 - 19:13

REINSTALLMODE is vamus. I couldn't see the problem in the logs.

Found a fix for my problem. To add a single file to the installation I treated the new file as a subfeature by modifying Feature.idt and FeatureComponents.idt.

I added a new row to Feature.idt to identify the sub feature; i.e. Parent=old feature and attributes = 18.

Here's a reference:
http://msdn.microsof...ature_table.asp