[THIN] SV: Re: SV: Re: SV: Re: Kix question

  • From: "Mikael Johnsen" <mjo@xxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Mon, 28 Oct 2002 16:11:52 +0100

I did that using the return code or is there something i'm getting wrong

;script start

$ReturnCode =3D KeyExist
("HKEY_CURRENT_USER\Software\TechSmith\SnagIt\5\")
IF $ReturnCode
   ? "Snagit Key exists...."
ELSE

$ReturnCode =3D AddKey =
("HKEY_CURRENT_USER\Software\TechSmith\SnagIt\5\")
If $ReturnCode =3D 0
   ? "Key added...."
Endif

$ReturnCode =3D LoadKey =
("HKEY_CURRENT_USER\Software\TechSmith\SnagIt\5\",
"k:\snagit.reg")
If $ReturnCode =3D 0
        ? "Key loaded...."
Endif

;$ReturnCode =3D DelTree ("HKEY_CURRENT_USER\Software\TechSmith")=20
;If $ReturnCode =3D 0
;       ? "Key deleted...."
;Endif

;script end

Med venlig hilsen / Best regards
Mikael Johnsen
Systemadministrator / System Administrator
=20
PBJ Consult A/S           =20
Roholmsvej 10G
DK-2620 Albertslund
Phone: +45 43 62 74 00, Fax: +45 43 62 74 24
Email: mailto:mjo@xxxxxx, Homepage: http://www.pbj.dk



-----Oprindelig meddelelse-----
Fra: Braebaum, Neil [mailto:neil.braebaum@xxxxxxxxxxxxxxxxxxxxxxxx]=20
Sendt: 28. oktober 2002 15:42
Til: thin@xxxxxxxxxxxxx
Emne: [THIN] Re: SV: Re: SV: Re: Kix question



If you think there's something not working in *your* script, then amend
it,
so that you can get the return code of the function, already!

I'm trying to help you, but you might actually have to do something
yourself, in order for others to help you - unless you expect
clairvoyance.

Neil

> -----Original Message-----
> From: Mikael Johnsen [mailto:mjo@xxxxxx]=20
> Sent: 28 October 2002 14:29
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] SV: Re: SV: Re: Kix question
>=20
> You have seen my script and here's the output
>=20
> ----------
>=20
> K:\>kix32.exe snagit.kix
>=20
> Key added....
> K:\>
>=20
> ----------
> -----Oprindelig meddelelse-----
> Fra: Braebaum, Neil =
[mailto:neil.braebaum@xxxxxxxxxxxxxxxxxxxxxxxx]=3D20
> Sendt: 28. oktober 2002 15:26
> Til: thin@xxxxxxxxxxxxx
> Emne: [THIN] Re: SV: Re: Kix question
>=20
> Are you saying the function isn't returning a return code -=20
> 'cos I find that quite hard to believe.
>=20
> Or that you're not checking / outputting it?

***********************************************************************
This e-mail and its attachments are intended for the above named=20
recipient(s) only and are confidential and may be privileged.
If they have come to you in error you must take no action based=20
on them, nor must you copy or disclose them or any part of=20
their contents to any person or organisation; please notify the=20
sender immediately and delete this e-mail and its attachments from=20
your computer system.

Please note that Internet communications are not necessarily secure=20
and may be changed, intercepted or corrupted. We advise that=20
you understand and observe this lack of security when e-mailing us=20
and we will not accept any liability for any such changes,=20
interceptions or corruptions.=20

Although we have taken steps to ensure that this e-mail and its=20
attachments are free from any virus, we advise that in keeping=20
with good computing practice the recipient should ensure they=20
are actually virus free.

Copyright in this e-mail and attachments created by us belongs=20
to Littlewoods.=20

Littlewoods takes steps to prohibit the transmission of offensive,=20
obscene or discriminatory material.  If this message contains=20
inappropriate material please forward the e-mail intact to=20
postmaster@xxxxxxxxxxxxxxxxx and it will be investigated.=20
Statements and opinions contained in this e-mail may not=20
necessarily represent those of Littlewoods.

Please note that e-mail communication may be monitored.

Registered office:=20
Littlewoods Retail Limited,=20
Sir John Moores Building,=20
100 Old Hall Street,=20
Liverpool,
L70 1AB=20
Registered no: 421258=20

http://www.littlewoods.com=20
***********************************************************************
**********************************************
This weeks Sponsor NetX Inc Thin Client
NetX Develops XP and NT Embedded=20
Thin Client Solutions, Easy to Configure,=20
Extremely Secure, and Remotely Managed.
Check out our recently updated website at
http://www.netxinc.com
***********************************************
Visit Jim Kenzig of thethin.net at the
Emergent Online Booth #26 at Citrix Iforum 2002!
Register now at:
http://www.citrixiforum.com/registerNow.html
***********************************************=20
For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm
**********************************************
This weeks Sponsor NetX Inc Thin Client
NetX Develops XP and NT Embedded 
Thin Client Solutions, Easy to Configure, 
Extremely Secure, and Remotely Managed.
Check out our recently updated website at
http://www.netxinc.com
***********************************************
Visit Jim Kenzig of thethin.net at the
Emergent Online Booth #26 at Citrix Iforum 2002!
Register now at:
http://www.citrixiforum.com/registerNow.html
*********************************************** 
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm

Other related posts:

  • » [THIN] SV: Re: SV: Re: SV: Re: Kix question