Jump to content
Sign in to follow this  
silentfox

Cantumkan file/software dengan popup script.

Recommended Posts

Hi smua...

x sure thread nih nak letak kat section mana...
so kalau salah tempat mod tolong alihkan jer la...

Aku ada 2 soklan nih...
but better aku ceritakan situasi aku dulu...

aku cadang nak buat mcm nih...

Aku ada satu laman web...
katakan:

www.download.com

then aku ada satu software...katakan:

software.exe

pastuh aku nak masukkan software nih dalam satu folder rar...katakan:

installer.rar

pastuh aku nak buat bila org extract installer.rar tuh browser popup (mozilla/ie/chrome ect.) akan keluar dan terus show ke laman web www.download.com


so skrg mcm mana aku nak jadikan www.download.com tuh keluar sebagai popup...

n macam mana aku nak cantumkan dengan installer.rar tuh...

kalau x boleh mcm nih...

tukar ke bila org launch software.exe utk install popup akan keluar ke www.download.com...

lebey kurg mcm tuh la...thanks!

Share this post


Link to post
Share on other sites
aku cari2 still xde jawapan untuk soklan kat atas nih...

so aku try benda lain...

aku buat satu batch file...
masukkan code nih:

Code:
@echo off

start /d IEXPLORE.EXE www.google.com

start /d IEXPLORE.EXE www.yahoo.com


then save sebagai popup.bat

so skrg bila aku click kat popup.bat file tuh akan kuar la browser ke google and yahoo...

skrg macam mana aku nak cantumkan file popup.bat tuh file installer.exe aku??

aku nak bila click kat file baru yg dihasilkan (cnth: run.exe) maka installer akan run dalam masa yg sama popup browser google n yahoo pun kluar...

tolong!!

p/s: kalau cara pertama kat atas tuh boleh aku nak buat cara tuh...

Share this post


Link to post
Share on other sites
aik...

apsal xleh lak??

copy code kat atas tuh...
bukak notepad...
pastekan....
pastuhkan save dgn extension .bat ....

nama file apa2 pun xpe...

contoh sy buat: popup.bat

dia akan jadi batch file la...
double click file tuh akan kuar browser popup directly to the google n yahoo...

then tukar ke exe file...

saya buat jadik jer...
cuma nak tau kalau ada sapa2 tahu cara lain...

Share this post


Link to post
Share on other sites
jadikan ia self extractor...boleh masukkan command untuk di run lepas extraction...

1- right click folder "installer" tu dan pilih "add to archive"
2- tick "create SFX archive"
3- pergi ke tab "advanced" dan klik "sfx options"
4- kat "run after extraction" tu masukkan url website ko...(tak perlu 'start' ke apa ke, cuma url sahaja...default browser akan popup dan pergi ke url yang ko masukkan tu)...kalau nak lebih dari 1 url mcm dalam batch file ko tu, ko kena guna cmd...untuk tu, kat "run after extraction" tu ko boleh tulis contohnya:
Code:
cmd /c "start iexplore.exe http://www.google.com && start http://www.yahoo.com"

dan kalau banyak benda nak dibuat selepas extraction, memang elok kalau dibuat 1 batch file(ataupun apa2 file berkaitan) dan ko boleh run file tu dgn memasukkan command cthnya:
Code:
cmd /k "rootFolder\2ndFolder\fileNakRun.bat"


//digalakkan guna parameter /k kalau run batch file lepas extraction...takde la user tercengang2 apa yang berlaku...huhu...kecuali batch file tu memang tak exit lepas habis execute dan guna /b

Share this post


Link to post
Share on other sites
tapi cara nih ada kelemahan dia...
aku test semua ok...

tapi cara nih berkesan bila orang double click that file je kan?
kalau org tuh right click pastuh extract url tuh xkan kluar...
sebab td aku test mmg x kuar...
bila double click je kuar...

anyway...
thanks for sharing !!
info yg sgt berguna....hehe!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...