- NSIS Discussion
- **can any one give a newbe a little help!!
Archive: **can any one give a newbe a little help!!
bow9487
2nd May 2007 09:53 UTC
**can any one give a newbe a little help!!
hi all iv only started using nsis about two days ago, i no nothing, or should i say very little about programing and shuch, but i have been trying to tech myself, wich isnt going that well, i found a tutorial on making a portable application, it seems to be a big thing at the moment, and i would love to have a go,
in the file i downloaded was templates and instructions
on how to make a portable app, well i didnt like the app that i was suppost to do it on, so i chose one of my own,
i followed the instructions as carfully as i could, but when i go to compile it it has errors. i have got it to compile once but it didnt run, i spent 16 hours on it lastnight, got up first thing couldnt wait to have a go,but at half 12 last night and nothing working i got a little downheartend, i no rome wasnt built over night but i realy cant understand what im doing wrong.
i have attached what i have done could somone have a little look please.
ps sorry this post is long,
pss. i forgot to put the regclean.reg file in the portable folder it is ment to be :
REGEDIT4
[-HKEY_LOCAL_MACHINE\SOFTWARE\Runtime Software\GetDataBack\License]
demiller9
2nd May 2007 16:15 UTC
I recommend that you download and try out this handy program:
Quick Setup Script Generator. It was developed by a frequent poster here, Red Wine, and he often provides lots of good help to newbies.
Since your problem script didn't get attached to your post, we can't provide specific advice about compile errors (or anything else either). I will give you two tips 1) if you have any logic at all in your script, use the logiclib header. And 2) NSIS scripts are processed by a 'one-pass' compiler and the order of items (functions, sections, pages) in the script is critical. The NSIS QSSG will create a good template (or finished installer) that you can edit to do exactly what you want it to do.
Don
Joel
2nd May 2007 18:54 UTC
Or ZIP you nsi file and upload it here :)
helix400
2nd May 2007 22:33 UTC
Re: **can any one give a newbe a little help!!
Originally posted by bow9487
i have got it to compile once but it didnt run, i spent 16 hours on it lastnight, got up first thing couldnt wait to have a go,but at half 12 last night and nothing working i got a little downheartend,
Hey, I'm just proud that you worked that hard on a problem. :)
bow9487
3rd May 2007 15:33 UTC
thanks guys for posting back ill upload my work to a rapidshare folder in a bit ask is to big to post on here. if you could have a look id be graitfull.
i have put every thing in a rar file as i dont no what you mite need, its only 3mb
link
http://rapidshare.com/files/29266944/help.rar.html
thanks all
Joel
3rd May 2007 16:16 UTC
err....nsi file, not all your project files :\
bow9487
4th May 2007 11:56 UTC
hey joel like i said im new to all this and like i said in my last post, i have put every thing in a rar file AS I DONT NO what you mite need
just so its clear im new to all this in my first post i did say iv never done this befor so i wouldnt no what was needed for you to help me, thats why i uploaded it all, as its very small i didnt think it would be a problem
Joel
4th May 2007 19:02 UTC
Originally posted by bow9487
hey joel like i said im new to all this and like i said in my last post, i have put every thing in a rar file AS I DONT NO what you mite need
As i said to you, WE ONLY NEED NSI FILE.. :rolleyes:
just so its clear im new to all this in my first post i did say iv never done this befor so i wouldnt no what was needed for you to help me, thats why i uploaded it all, as its very small i didnt think it would be a problem [/B]
Again, we only need the NSI File to see what's wrong.. Does my microphone doesn't work? :weird:
Afrow UK
5th May 2007 12:07 UTC
Maybe you don't have file extensions on. Go to Tools > Folder Options > View in Windows Explorer (My Computer) and un-check 'Hide file extensions for known file types'. This is checked as default and is extremely stupid as it requires that less computer literate users identify files by their sometimes non-unique icons.
The file in question will now have a .nsi appended to the end.
Stu
kichik
5th May 2007 12:17 UTC
You are using functions of the Registry plug-in in your script, but you don't include its header and you don't seem to have the plug-in itself somewhere available. It may be in the Plugins directory of your NSIS installation, but I can't see that from the file you attached.
Your script compiles when I add !include "Registry.nsh" on the top, after installing the Registry plug-in. I don't know if it works though...
bow9487
5th May 2007 14:10 UTC
thank kichik ill have a look,