• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3939
  • Last Modified:

Kixtart Add Registry Key

I need to add a registry key using Kixtart, but I am having trouble getting it to work. Here is what I have so far:

if @userid = "rpaxton"
writevalue("HKCU\Software\Microsoft\Office\11.\Common\MailSettings","ReplyFontSimple",3c0000000f0000e800000000c8000000b6127374000000000020417269616c0000000000000000000000000001000000a0ea13000100000001000000,"REG_BINARY")
endif

This is not working. Any ideas?
0
mcathcart
Asked:
mcathcart
1 Solution
 
wantabe2Commented:
Try putting parenthesis around the username like below:

if @userid = ("rpaxton")
writevalue("HKCU\Software\Microsoft\Office\11.\Common\MailSettings","ReplyFontSimple",3c0000000f0000e800000000c8000000b6127374000000000020417269616c0000000000000000000000000001000000a0ea13000100000001000000,"REG_BINARY")
endif
0
 
MikeKaneCommented:
I think the @userid line is fine....   Refer to the kixstart manual here: http://helpdesk.kixtart.org/KixManual2001/Commands/if-else-endif.asp 

You are missing the quotes around the expression.  
Syntax:        WriteValue   ("subkey", "entry", "expression", "data type")
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now