I've an application and registry key which has license. This key needs to be merged only if Machine name=fyr.

please help me how to do this.


Thanks in advance.

I'm using adminstudio 11.5 to repackage this.

0 Comments   [ + ] Show Comments


Please log in to comment



There are multiple ways I think - a conditional component OR a custom action which checks machine name and installs the key.


Answered 06/14/2013 by: SnowLyric
Second Degree Brown Belt

Please log in to comment

You're going to have to write some vbscript to detect the machine name and based on it having the correct name, 'fyr*', set a property.

That property can then be used to condition your registry install feature to determine whether it's installed or not.

These links may help http://www.itninja.com/question/vbscript-to-set-a-property-and-reuse-the-said-property http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q106900&sliceId=

That's the approach that springs to mind, and as no one else is biting on this I thought I'd make the suggestion.



EDIT: Someone bit whilst I was writing this - different method, see which one fits your purpose.

Answered 06/14/2013 by: dunnpy
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja