flat assembler
Message board for the users of flat assembler.

Index > Heap > deploy some softwares with same configuration on several pc

Author
Thread Post new topic Reply to topic
sleepsleep



Joined: 05 Oct 2006
Posts: 8865
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
hi guys,
how you guys solve the problem like deploying some softwares with same configuration on several computers?

i was thinking like emulate the keyboard and mouse press,
somebody told me autoit could perform so,
is there any more choices that you guys knew? could solve such problem?
Post 28 Aug 2007, 11:32
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
Microsoft has a bunch of products for doing software deployment, including "re-packaging" other companies' installers. Can't remember the name, but it's pretty high-end stuff.

Auto-it should be sufficient for smaller pieces of software, but does require a bunch of manual work (adapting to each installer, finding out manually where settings are stored and copy them, etc).
Post 28 Aug 2007, 11:44
View user's profile Send private message Visit poster's website Reply with quote
Chewy509



Joined: 19 Jun 2003
Posts: 297
Location: Bris-vegas, Australia
Chewy509
"Advanced Installer" creates MSI packages for MS Windows, works well for what I need...

PS. www.advancedinstaller.com
Post 29 Aug 2007, 02:11
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8865
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
just half-way to my own utils that emulate keyboard. (make using VB, shame on me Sad )
once it completed, i share the source, then we see if we could get bunch of guys to convert it to fasm.
Post 29 Aug 2007, 07:42
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8865
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
well, i felt a bit shame to release this, coz it aint coded using fasm, but vb6 Sad sorry
but i believe i could migrate the code without problem to fasm if i got enough time.

so, enjoy this new toy Razz written by me
the emulate key to show ~!#@#$% those weird symbols is borrowed from
http://www.xtremevbtalk.com/showthread.php?t=124898&page=2

now, the scripting part,

just copy below and paste it into a file,

script to install 7zip and associate it with all zip extension
Code:
MSI       C:\7z442.msi
WAIT       2
FIND       7-Zip 4.42 Setup
ALT n
ALT        a
ALT        n
ALT        r
TYPE       C:\7zip\
KEY   tab
KEY      space
ALT    n
ALT        i
WAIT       4
KEY        space
EXE    C:\7zip\7zFM.exe
ALT   t
KEY        enter
KEY    tab
KEY      space
ALT    a
KEY        enter
ALT    f
TYPE       x
EXIT       0
    


hope u guys don't flame me coz it was made from vb6 Wink

6:28 PM 30/08/2007
===============
add support to use CTRL, ALT, SHIFT with F1 till F12
SHIFT F10 will generate a sort of right click on that focused item

6:55 PM 30/08/2007
===============
- solve one logic bug
- now support KEY del, KEY back
- now zipped together with hello_world.txt script


Description: latest 6:55 PM 30/08/2007
Download
Filename: SLEEPYAUTO.zip
Filesize: 7.43 KB
Downloaded: 72 Time(s)



Last edited by sleepsleep on 30 Aug 2007, 10:56; edited 3 times in total
Post 30 Aug 2007, 08:08
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6034
Location: Poland
MHajduk
sleepsleep

What are minimal hardware/software requirements for your program? I've got an error when I tried to load script (screenshot attached).


Description: Error.
Filesize: 6.6 KB
Viewed: 3624 Time(s)

Sleepyauto.png


Post 30 Aug 2007, 09:01
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8865
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
weird Sad
ok, i will modify my sleepyauto based on ms support code
http://support.microsoft.com/kb/888167

now, no need the .ocx LOL Laughing Laughing

btw,
just added 2 new commands
Code:
MSG        pops up a message box
KILL   C:\your_unwanted_file.lnk
    


forgot to intro abit wat command are available
Code:
format is COMMAND {TAB KEY} DATA
COMMAND    DATA
KEY     up
KEY       left
KEY     right
KEY    down
KEY     space
KEY    enter
KEY    tab
TYPE     a
TYPE       testing
;    you can put comment like this, but after ";" must tab coz i split by tab
; means wait around 5 seconds
WAIT     5
EXE        notepad
EXE  \\yourpc\sharefolder
MSI  c:\msi_installer.msi
FIND       window name
;        find window name
EXIT        0
;  must be the last command, or use it to stop timer in the middle to debug

    
Post 30 Aug 2007, 09:18
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6034
Location: Poland
MHajduk
sleepsleep

Now situation is better: I could start loading script (as your example above), but at the end of this operation I get another error (screenshot attached).


Description:
Filesize: 5.56 KB
Viewed: 3609 Time(s)

Error2.png


Post 30 Aug 2007, 10:22
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8865
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
possibly the script have an empty line.
Post 30 Aug 2007, 10:33
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6034
Location: Poland
MHajduk
No. Smile
Post 30 Aug 2007, 10:35
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8865
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
you sure, they are separated by TAB? instead of space when you copy directly from board? (* just noticed board change them to spaces)

and if you try the 7zip install script, make sure u got the 7zip msi install executable on C:\7z442.msi
Post 30 Aug 2007, 10:40
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6034
Location: Poland
MHajduk
Hmm, I think, that:
  • you should attach examples to your package,
  • examples mustn't base on files or programs, which couldn't exist on user's computer,
  • parser should be more flexible (should accept every combination of spaces or TABs).
Post 30 Aug 2007, 10:46
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8865
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
ok, just make this hello world script
it is animated and FUN!!! Razz Razz


Description: hello world script.
Download
Filename: hello_world.txt
Filesize: 549 Bytes
Downloaded: 62 Time(s)

Post 30 Aug 2007, 10:53
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6034
Location: Poland
MHajduk
sleepsleep

You have just written a mild virus. Laughing Your script prints "i will change my font now coz i am smart" and stops. After double click any program or file icon I get "Properties" window instead running/opening it. I had to restart my computer. Very Happy
Post 30 Aug 2007, 11:09
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8865
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
LOL MHajduk
you MUST download the lastest version, coz the latest version support KEY del
Smile
the virus u mean is the SHIFT KEY or ALT KEY or CTRL KEY is down but forgot to get UP event (sorry for the restart) Razz

u could solve it by pressing SHIFT once, or ALT once or CTRL once.
Razz Razz
Post 30 Aug 2007, 11:20
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6034
Location: Poland
MHajduk
sleepsleep

OK, now it runs, but doesn't exit (from Notepad). I think that this program could be useful to automation of some repeatable activities. Very Happy Your "Hello world" script makes an illusion of AI (thanks to real delays). Smile
Post 30 Aug 2007, 11:31
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8865
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
worse is, i got too many ideas for this small thingy
like making function/sub
make it able to remember something
eg.
_R1 something
TYPE R1
MARK POINTA
JUMP POINTA

seems like it could be made into a functional USER-INTERFACE language Razz
Post 30 Aug 2007, 13:07
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8865
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
just coded a keyboard recorder, keyboard hook dll coded in fasm, the write file part would be in vb6.
so, the recorder will output file that understood by the player Smile

Image
Post 01 Sep 2007, 02:24
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8865
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
try this,
it haven't parsed the output.txt into a player readable, but somehow, i think ... it would works later.


Description: will output a file named output.txt
that file should show what u have type.

Download
Filename: SLEEPY_KBREC.zip
Filesize: 5.21 KB
Downloaded: 55 Time(s)

Post 01 Sep 2007, 19:45
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.