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.

Creating registry entry conditionally


1 reply to this topic

Guest_Gaiana

Guest_Gaiana
  • Guests

Posted 23 November 2001 - 20:27

Hi,

I have the following problem - some files are installed with the product only if they are in the same folder as the MSI file (using MoveFiles table). If they get installed, I want to create a certain registry entry (which is needed for the software). Is there a way to do it  if these files aren't included in the component?

TIA,

Gaiana


Irina

Irina
  • Members
  • 227 posts

Posted 26 November 2001 - 17:39

Hi Gaiana,
You can create a custom action to cal any VC or VB code, which should write regisrty keys. The condition of this custom action may be the state of the component ($YourComponent >2). If these files are not in the one component, then you need check existings of this file on the target machine. It this case you should insert your custom action in the sequence after InstallFiles.
Good luck!