Jump to content

Recommended Posts

Posted

Hi,

I wonder if anyone can help me:

I have a general question : How can I copy a file, say into C:\Windows\system32, overriding a pre-existing one?

Here is a sample case:

When I install ZoneAlarm Pro, it automatically installs a trial license file zllictbl.dat into C:\Windows\system32, but I'd like to replace it with my licensed zllictbl.dat so that the licensed version is unattendedly installed.

How can I do this?

PLEASE HELP!


Posted

you could do this by using runonce and get it to call a batch file to copy your licensed file over into the system32 dir, overwriting the original.

Posted

Hi ScubaSteve,

Thanks for your swift reply, but unfortunately I don't know enough about computers to be able to follow your instructions :blushing:

You wrote:

you could do this by using runonce and get it to call a batch file to copy your licensed file over into the system32 dir, overwriting the original.

1.What should the batch file contain, that is, what syntax?

2.What should be it's extension? .Cmd?

3.Where should it be placed? In the same folder as the application in point, i.e. in this case, in the ZAP folder alonside the programme itself?

4.How do I call it on my Runonce? This is what I have now (with no batch file):

REG ADD %KEY%\059 /VE /D "ZoneAlarm PRO" /f

REG ADD %KEY%\059 /V 1 /D "%PP%\ZAP\ZAP.exe /s /i /noreboot" /f

I know that asking for the syntax is probably too much, but if you can point me to a place where I can get instructions, I'd be more than happy!

Thanks again,

Sangi

Posted (edited)

Yes, it is cmd.

The easier way: under

REG ADD %KEY%\059 /V 1 /D "%PP%\ZAP\ZAP.exe /s /i /noreboot" /f

put

REG ADD %KEY%\059 /V 2 /D "copy %PP%\ZAP\zllictbl.dat %systemroot%\system32" /f

If the serial is in zllictbl.dat, and that's why you are copying it, then you can use this switch for ZAP.EXE instead:

REG ADD %KEY%\059 /V 1 /D "%PP%\ZAP\ZAP.exe /s /i /lickey whatever_your_serial_is_without_dashes /noreboot" /f

e.g. /lickey 475y3t78hrg78gr98w7y4w4bwiny5bw78785w7

Hope this helped :)

Edited by T D
Posted

Hi TD,

I still haven't been able to test your recommendations: I'm going to try both, because if copying the file also overrides the preexisting one, the syntax will be useful for me in other programmes!

About getting bold within a quote, well there is an order as to what should be added first:

1. bold, italic, etc..

2. colour;

3. size;

4. quote!

:)

Posted (edited)

How do you add the bold to the quote if the bold tags are around the quote tags?

Test text

It never worked like this before...

Edited by T D

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...