Jump to content

Recommended Posts

Posted

i recommend not to hardcode everything in a program itself.

yeah I agree

Swift Why dont you make an ini file something like this

[prgms]
1=pass secure
2=amp 3
3=...
[links]
1=htpp://download.com/passsecure.exe
2=htpp://dbak.mine.nu/amp3/amp_3_install.exe

That way changes are easy to make...

[center][/center]

Posted

Alright, I'll Try That. Writing To An .ini For It. Might Take Me A While, I'm Gunna Read Back Over The IniWrite() and Iniread(). Great! Thanks For The Suggestions Guys!

Posted

Okay, Well I need a little help, if the inifile part is blank...then dont create it...also if it says #=(blank) dont create that button..? how would I go about doing that?

Posted

thats not what im looking for no....If there isnt one...like if it says:

5=

then DO NOTHING!!

also if theres not one...like say:

iniread("", "", "1")

iniread("", "", "2")

and the ini looks like

1=nnaja

(no 2) and it wil do nothing.

Posted

hi

i wouldnt create each individual "buttons " for the programs ..

try a listview instead , fill it up with 1...x to be installed programs.

user clicks on desired program in lstview and presses button "get this" -> read LV settings , then install this - done..

nobbe

Posted

tested the program... here's my comments:

1. my cpu usage just goes from 11% to 100% while downloading... put sleep(10) is adequate to reduce the cpu usage..

2. should make cancel or abort button while downloading, in case we need to stop it. right now i have to use taskmanager to kill it.

3. download window is sticky. should make it moveable or minimizeable... blocking view to desktop..

4. no infotip on Inno Installer..( just to let u know..)

Posted (edited)

My personal favorites:

Winrar :: archive handler

Scribus :: Open desktop publishing program

Winpatrol :: best anti-crap program ever, detects everything ( homepage change, connections, startups, removals,

installs ) and asks for permission

Skype :: make calls

AVG anti virus :: anti-virus

DirectX 9.0c / 10 :: driver

DraftIT :: Free CAD that seriously rocks

CCCP comunity codec pack :"codecs

VLC player :: good mediaplayer

Launchy :: programlauncher, bring an input forward with alt+space and typeAutoIt ( it has suggestions on Au- already )

press enter and there you go

Openoffice:: word, powerpoint etc......free and os

Firefox :: browser

Thunderbird :: mail

DamnNFOviewer:: .nfo extension files viewer

Brava reader :: .pdf viewer

CDRtools frontend :: cd burner etc.

.netFramework :: program requirement?

You might want to use some of them

P.S: Finally someone who uses unlocker, it owns :)

Edited by nf67
Posted

Sorry swift it this helps an ini works like this

[section]

key=value

If you perform a read and its on 'Blah' lets say in the file it the line says 'Blah=' so .... iniread(@scriptdir&"\file.ini", "section name", "blah", "err" ) ...and its doesn't have a value the function will return 'err' because that is what i set it to do as default return

[center][/center]

Posted

I Know That....

Its Just That Its Alot To Add...Alot Of IniWrite And IniRead...Over And Over...I Really Don't Want To Do It...It's Too Hard....So...

Posted

It's Too Hard....

Then I'm glad you didn't try to help write amp 3

Have you ever looked at where it loads the skin, or all the library functions???

[center][/center]

Posted

He hasn't added most of the things yet.

Swift, I'm making something to download programs also (Specifically in my signature), and I'm using an INI, I'll release the code when I'm done, and you could add off, or take parts from it. :)

Posted

I Know That....

Its Just That Its Alot To Add...Alot Of IniWrite And IniRead...Over And Over...I Really Don't Want To Do It...It's Too Hard....So...

hi you could also read a plain text file which stores information separated by "|" for example

program name|http://...|version|etc...

maybe this is easier to program

read line by line from file , then use "StringSplit" to get all values..

nobbe

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
×
×
  • Create New...