Page 1 of 1
Gun Power 1.1 apple script installer
Posted: Wed Feb 18, 2004 11:06 am
by |DAH|killermouse
hey, i have a question, can anyone tell me how they did this installer

:?::?::?:
____________________________________________________________
Killermouse
Posted: Thu Feb 19, 2004 1:11 am
by Monoman
Do you want to know how to use the installer or how to make the installer?
Posted: Thu Feb 19, 2004 3:51 am
by |DAH|killermouse
i wanna know how to create an installer like this
and i cant open this file with apple script, to read how they did it

____________________________________________________________
Killermouse
Posted: Thu Feb 19, 2004 10:20 am
by Monoman
The reason you can't open it is that I saved the script as an application so AppleScript wouldn't start-up everytime the script was run. Creating it isn't very hard if you know the basic commands for AppleScript. The script just uses multiple move commands to transfer the files between folders.
Posted: Fri Feb 20, 2004 2:15 am
by |DAH|killermouse
I know, and i know too the basics. But can you please send me a text file from this application ?
killermouse@gmx.de (its .de beacause i live in germany)...
i love this smiley :
so, do you please send me a text file ?
____________________________________________________________
Killermouse

Posted: Fri Feb 20, 2004 2:14 pm
by Monoman
If you know the basics you should be able to copy the installer. Since I did the installer when I was testing out Applescript everything is very basic. I only use 4 commands: set, move, make, and display. I will write a small sample of what the installer uses. Below is everything I used in the installer except for the set command, set is only used if you are declaring a variable which I didn't need for the code below.
Code: Select all
tell application "Finder"
activate
make new folder at desktop
move folder "untitled folder" to trash
display dialog "The folder has been moved to the Trash."
end tell
Posted: Sun Feb 22, 2004 2:22 pm
by |DAH|killermouse
lol ok, but how did you that like he show you the ghost recon demo folder and you place the files in ghost recon demo data/Mods/Origmiss/...
???
____________________________________________________________
Killermouse

Posted: Sun Feb 22, 2004 2:24 pm
by |DAH|killermouse
lol, i got an great idea... you just send me the file in a formated text to :
killermouse@gmx.de ok ?

(great idea, dont you think ?

)
____________________________________________________________
Killermouse

Posted: Sun Feb 22, 2004 6:44 pm
by Monoman
To choose the folder, just use that command.
The above code will bring up the prompt screen to have the user choose a folder.
Posted: Mon Feb 23, 2004 5:02 am
by |DAH|killermouse
... LOL i know !!! but i dont know how to do that : the user select the folder Ghost Recon Demo Data and you place the files in Ghost Recon Demo Data/Mods/Origmiss... dont you understand me

i just wanna know this

nothing else...
____________________________________________________________
Killermouse

Posted: Mon Feb 23, 2004 1:09 pm
by Monoman
If you combine all of the commands I have posted you would be able to do exactly what you want. Here are the steps needed to make an installer.
1. Choose the folder to install to.
2. Choose the folder that contains the files you want to install.
3. Move the files to the install folder.
Now I will write which command goes with which step.
1. Choose Folder command. You will need to use the Set command to store the folder's location.
2. Exactly the same as Step 1.
3. The Move command will transfer the files. You will use your stored folder location from steps 1 and 2 to move the files to the correct folders.
Posted: Wed Feb 25, 2004 1:18 am
by |DAH|killermouse
Posted: Wed Feb 25, 2004 10:18 am
by Monoman
You said you knew the basics of AppleScript. Also, I wasn't going to give the whole code to the installer I made. If you would of actually went over the code that I posted you would of been able to build the exact same installer I built. I doubt you know anything about AppleScript, which is the reason you had no idea what I was talking about when I posted the code.
Posted: Thu Feb 26, 2004 8:58 am
by |DAH|killermouse
Man, you dont understand me, i just wanted that you just fucking send me the installer in a text formate to
killermouse@gmx.de !!! but you just said some noob shit... i know more then only the basics of apple script... i readed the fucking guide and 2 books !!! but i just wanna have this fucking damn installer in a text format !!!

Posted: Thu Feb 26, 2004 9:17 am
by Monoman
If you really do know more than the basics then you should of been able to tell exactly what commands were being used and how to make the installer yourself.