/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


How to merge a registry only if machine first 3 letters=FYR?

06/14/2013 1868 views

Hi,

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

Comments


All Answers

0

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

http://www.symantec.com/connect/articles/conditions-wise-package-studio-way-make-application-installation-more-robust

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

0

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.

Dunnpy

 

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

Answered 06/14/2013 by: dunnpy
Red Belt

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ