#27375 - 2002-08-19 05:09 PM
using wkix32 and wkixcrypt
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
My question is two fold...
I am trying to use wkix32 to call my program without the console. Every time I call the program I still get the console. I do not have any obvious "Output" in the script so I dont know why it is acting in this manner. I can of course use the -i to keep the console from popping up but this does not work for me because I want to use wkixcrypt and there is no way that I know of to use the -i in this method. I do not want to post the code because it is long.. I am just wondering if you may give me direction as to what I should be looking for.
Secondly is there a way to include wkix32.exe in the crypted file so that the wkix32.exe is not needed as a seperate exe in the directory that crypted.exe resides?
Thanks
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#27377 - 2002-08-19 05:22 PM
Re: using wkix32 and wkixcrypt
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
I am using objects.. is there no way to supress the console in this case?
How can I gaurantee the supression of output when a function returns?
Can you give direction to a packager you have used?
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#27379 - 2002-08-19 10:12 PM
Re: using wkix32 and wkixcrypt
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
what about the objects?
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#27381 - 2002-08-19 10:32 PM
Re: using wkix32 and wkixcrypt
|
Lonkero
KiX Master Guru
   
Registered: 2001-06-05
Posts: 22346
Loc: OK
|
|
|
Top
|
|
|
|
#27382 - 2002-08-20 09:32 AM
Re: using wkix32 and wkixcrypt
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Just to put the record straight. Again.
KiXcrypt (and wKiXcrypt) has no version dependencies.
Not only is it version independant it is language independant.
The encrypted file may be KiXtart, DOS Batch, VBS, Excel, Word, .EXE, text file or whatever you want. You decide what command line is used to start the application. By default KiXcrypt spawns a DOS environment using "%COMSPEC% /C kix32.exe".
If you want it to run silent, the following may help: 1) Use "wkixcrpt.exe" 2) Change the execute command to run "wkix32.exe /i" rather than "kix32.exe" 3) Use the "-c" option to disable the spawning of a new DOS session.
Your encrypt command will look something like:
code:
kixcrypt.exe -c MYSC
|
|
Top
|
|
|
|
#27383 - 2002-08-20 10:14 AM
Re: using wkix32 and wkixcrypt
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Just to put the record straight. Again.
KiXcrypt (and wKiXcrypt) has no version dependencies.
Not only is it version independant it is language independant.
The encrypted file may be KiXtart, DOS Batch, VBS, Excel, Word, .EXE, text file or whatever you want. You decide what command line is used to start the application. By default KiXcrypt spawns a DOS environment using "%COMSPEC% /C kix32.exe".
If you want it to run silent, the following may help: 1) Use "wkixcrpt.exe" 2) Change the execute command to run "wkix32.exe /i" rather than "kix32.exe" 3) Use the "-c" option to disable the spawning of a new DOS session.
Your encrypt command will look something like:
code:
kixcrypt.exe -c MYSCRIPT.KIX wkix32.exe /i %s
This will help some way. You may get better results in a non Win9x environment by using "START". Something like:
code:
kixcrypt.exe -c MYSCRIPT.KIX start "SECRET!" /B wkix32.exe /i %s
Then call the encrypted script with "start /b" as well.
Try these, and let us know how you get on.
|
|
Top
|
|
|
|
#27384 - 2002-08-20 03:52 PM
Re: using wkix32 and wkixcrypt
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
I was not able to make your sugguested command line work properly. I had to use the command: code:
kixcrypt.exe -c pass.kix "wkix32.exe /i %s"
to get the crypt to run. Then when it ran it is like it ignored the command that I entered for /i although it did call the wkix32.exe as opposed to kix32.exe.
Any thoughts on what I am doing wrong.
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#27385 - 2002-12-03 05:04 AM
Re: using wkix32 and wkixcrypt
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear Richard,
Can you complete the story? greetings.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 302 anonymous users online.
|
|
|