Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Rebuilding Inno Setups

- - - - -

  • Please log in to reply
98 replies to this topic

#51
evilvoice

evilvoice

    Ditchy McAbandonpants

  • Member
  • PipPipPipPipPip
  • 946 posts
yea, reg_expand_sz doesnt get entered correctly...it gets imported as a string and the all the hex numbers are the data, which isnt correct, for any of those, you need to input the actual string...for instance %systemroot%\system32 instead of the hex numbers...Also, if a regfile points to the hard drive, try using something like {app} or {win} or {sys} so that c:\ or whatever isnt hardcoded.

a good idea is to look at the inno setup help file and goto index...that gives you most of what you can do.

Update...if your building a install program...when all done, have istool add a uninstall icon...that way it is accessible through start menu...i hate having tons of programs installed and arp takes forever to load...and if anyone wants the code I use for urls, I can post that too...it uses {groupname} and is universal on all scripts.

Blah, here it is anyways...just add this to your script...it is an example, and you will have to change the http://

[INI]
Filename: {app}\{groupname}.url; Section: InternetShortcut; Key: URL; String: http://users.otenet.gr/~jtcliper/tgf

[Icons]
Name: {group}\{cm:ProgramOnTheWeb,{groupname}}; Filename: {app}\{groupname}.url

[UninstallDelete]
Type: files; Name: {app}\{groupname}.url

Edited by evilvoice, 14 June 2005 - 08:03 AM.

When I spotted this little cutie with some sex appeal. I winked at her, she gave me a look like I'm a booger. I thought b***h, I'd rather spend my money on a hooker. Then a bright idea ran across my mind, if I could swipe a manikin I'd have a freak all the time.


How to remove advertisement from MSFN

#52
Lost Soul

Lost Soul

    Snap ... Crackle ... Pop

  • Member
  • PipPipPipPipPipPipPip
  • 1,746 posts
hey guys i found a kool icon for the spybot check it out

http://www.wincustom...&comments=1&u=0

This is not the end. It is not even the beginning of the end. But, it is, perhaps, the end of the beginning.

- Winston Churchill

#53
benners

benners

    Senior Member

  • Member
  • PipPipPipPip
  • 693 posts
Nice, resized the bitmap could be used to replace innos default
I never let school interfere with my education

#54
Lost Soul

Lost Soul

    Snap ... Crackle ... Pop

  • Member
  • PipPipPipPipPipPipPip
  • 1,746 posts
can some one take a look at this its

Registry First Aid v4.1.0 build 707

[Run]Filename: {app}\repl_ag.bat; WorkingDir: {app}; MinVersion: 4.1,4.0
Filename: {app}\readme.txt; Description: View the README file; MinVersion: 4.1,4.0
Filename: {app}\reg1aid.exe; WorkingDir: {app}; Description: Launch application; Languages: en,nl,brpt,cz,dn,fi,fr,ga,gr,it,no,ru,sl,sw; MinVersion: 4.1,4.0
Filename: {app}\reg1aid.exe; WorkingDir: {app}; Description: Programm jetzt starten; Languages: de; MinVersion: 4.1,4.0
Filename: {app}\rfagent.exe; WorkingDir: {app}; MinVersion: 4.1,4.0


im trying to edit it so it will be completely unattended,
what it does is most of it installs silent but then the rfagent.exe runs and tries to update check,

im not sure how to edit out that line can some one help me out pls

This is not the end. It is not even the beginning of the end. But, it is, perhaps, the end of the beginning.

- Winston Churchill

#55
benners

benners

    Senior Member

  • Member
  • PipPipPipPip
  • 693 posts
@ Lost Soul
In the iss file goto the Install Run section, files there execute after installation, just delete the
{app}\rfagent.exe
and any others that you dont want to run.
I never let school interfere with my education

#56
Lost Soul

Lost Soul

    Snap ... Crackle ... Pop

  • Member
  • PipPipPipPipPipPipPip
  • 1,746 posts
@benners
i did what you said and removed that line from run.. now i get the error about language expressions.. saying it contains unknown language

well i tried to fix it by only using english and removing all the rest then editing every line that pointed to another language. but every time i get rid of some thing a new line error pops up with language expression error

can you take a look at my iss file and tell me what i should do if you can

i just want english and thats it,,

this is a clean iss,, the only thing ive done to it was remove the {app}\rfagent.exe line

btw the error first started in the tasks section i tried fixing it from there thats how the errors keep on like a train of dominos

Attached Files

  • Attached File  rfa.iss   9.52KB   17 downloads

Edited by Lost Soul, 14 June 2005 - 08:41 AM.


This is not the end. It is not even the beginning of the end. But, it is, perhaps, the end of the beginning.

- Winston Churchill

#57
benners

benners

    Senior Member

  • Member
  • PipPipPipPip
  • 693 posts
I always have a problem with the languages and just delete any references to them in the script or on the files themselves via the common tab on the file properties.
Languages: en,nl,brpt,cz,dn,fi,fr,ga,gr,it,no,ru,sl,sw;
I downloaded the program and edited the iss file removing all the extra language entries. I added a name in the Program Tab under options so that when the shortcuts are created the folder name will not be "default". and set solid compression and ultra level.

The program compiled silently after I deleted 3 more files from the install run section and ran when clicked so it seems to work, I'll let you fully test it :P

Attached Files


I never let school interfere with my education

#58
Lost Soul

Lost Soul

    Snap ... Crackle ... Pop

  • Member
  • PipPipPipPipPipPipPip
  • 1,746 posts
@benners, you are like the yoda of inno setups..

thank you very much, it works like clock works :thumbup

This is not the end. It is not even the beginning of the end. But, it is, perhaps, the end of the beginning.

- Winston Churchill

#59
benners

benners

    Senior Member

  • Member
  • PipPipPipPip
  • 693 posts
Use the force, Lost Soul, and fix it you will. :D
to know it works Glad I am
I never let school interfere with my education

#60
evilvoice

evilvoice

    Ditchy McAbandonpants

  • Member
  • PipPipPipPipPip
  • 946 posts
also, just a suggestion, but i remove the miversion stuff too...sometimes when unpacking inno setup installers, the minversion doesnt get extracted correctly
When I spotted this little cutie with some sex appeal. I winked at her, she gave me a look like I'm a booger. I thought b***h, I'd rather spend my money on a hooker. Then a bright idea ran across my mind, if I could swipe a manikin I'd have a freak all the time.

#61
boooggy

boooggy

    MSFN Master

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,333 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag
i still have problems with extracting ccleaner.

#62
JohnS

JohnS

    Member

  • Member
  • PipPip
  • 114 posts

@JohnS

I don't want to put them in ┬╗Start┬╗Programs┬╗SpywareBlaster

open the iss file using ISTool, click on "options" in the toolbar, then select the Program Group tab and add the directory you want to use to the "Default Group Name" box, which should be blank which is why Default is created.

Thank you, Benners, now I get it. Finally, I built my firts perfect Inno Setup the way I want. :D

It is a wise installer.
Just use setup.exe /x path to extract

I thought I could try this info with the only software that I cannot choose where to install: Flashget (which is a Wise Installer).
So I unpacked the install pack and did this:
First try: I ran Inno Setup Script Wizard, choose only 1 file - Flashget.exe - choose install path and start menu icon and packed.
Tested and Flashget did work!! :blink: :blink: With only 1 file. Of course it did not have other languages, skins, sounds or any ohter dlls. But it works.
Second try: Selected all the files from the original extracted Flashget installer, recreated all of the paths looking at an already installed Flashget folder, repacked and tested.
It the first try worked, this also works. :)
My question is this: is it so simple to recreate an install pack???
Am I missing something?
I am not installing any registry keys that the real installer writes.
But the program works!

#63
Lost Soul

Lost Soul

    Snap ... Crackle ... Pop

  • Member
  • PipPipPipPipPipPipPip
  • 1,746 posts
is there any easy way to create a iss file for a wise installed program, i know you can use inctrl5 but im not sure how to use it..

the program im looking at is (IncrediMail Xe Premium 4.00 Build 1930), and (Outpost Personal Firewall Pro v2.6.452.5123.403) and they are like adware its a wise installed

i used the /x cmd to extract it, but now im stuck and not sure how to go about this , id seriously like to customize these installers

thanks

Edited by Lost Soul, 14 June 2005 - 10:50 PM.


This is not the end. It is not even the beginning of the end. But, it is, perhaps, the end of the beginning.

- Winston Churchill

#64
benners

benners

    Senior Member

  • Member
  • PipPipPipPip
  • 693 posts
I use Incredimail myself and finally got tired of messing, there are that many build releases to keep up to date is a drag, running the extraction switch does not extract all the files, most of them are gifs and bitmaps, the exes are not there.

What is it about the setup you want to customize? probably all the s***e they dump everywhere on the desktop and start menu :realmad:

@JohnS
Sometimes it is that simple, some installers just extract the files to the directory you specify and add shortcuts, there are default preferences for the program in the exe and sometimes the reg keys are not added until you open the options dialogs and close them. With flashget as you said sounds and other things are missing as is the ability to right click and download all in IE or the Flashget toolbar, which Avast AV flags as Adaware.

If you don't add a serial number to the registry, ads\banners are shown in the program and the ads directory is created whilst running the program, you could run the program for a while and see if you encounter any problems.

Edited by benners, 15 June 2005 - 04:26 AM.

I never let school interfere with my education

#65
Lost Soul

Lost Soul

    Snap ... Crackle ... Pop

  • Member
  • PipPipPipPipPipPipPip
  • 1,746 posts
dang your right benners the incredamail is missing most of the files on the /x extraction ,

i just want incredamail to go silent any ideals ?

This is not the end. It is not even the beginning of the end. But, it is, perhaps, the end of the beginning.

- Winston Churchill

#66
evilvoice

evilvoice

    Ditchy McAbandonpants

  • Member
  • PipPipPipPipPip
  • 946 posts
wise usually supports "/S" make sure its capitalized.
When I spotted this little cutie with some sex appeal. I winked at her, she gave me a look like I'm a booger. I thought b***h, I'd rather spend my money on a hooker. Then a bright idea ran across my mind, if I could swipe a manikin I'd have a freak all the time.

#67
evilvoice

evilvoice

    Ditchy McAbandonpants

  • Member
  • PipPipPipPipPip
  • 946 posts
Also, there is a lot more that goes into building an inno setup than what has been posted, and I may post some hints for people that want to do what benners and I have done. Maybe I can even find something benners doesnt include yet ;) but I doubt it LOL. So, I will load up my cd and look through my scripts and see what I can find...
When I spotted this little cutie with some sex appeal. I winked at her, she gave me a look like I'm a booger. I thought b***h, I'd rather spend my money on a hooker. Then a bright idea ran across my mind, if I could swipe a manikin I'd have a freak all the time.

#68
Lost Soul

Lost Soul

    Snap ... Crackle ... Pop

  • Member
  • PipPipPipPipPipPipPip
  • 1,746 posts
that would be great evilvoice im looking forward learning all that i can on inno setups

This is not the end. It is not even the beginning of the end. But, it is, perhaps, the end of the beginning.

- Winston Churchill

#69
benners

benners

    Senior Member

  • Member
  • PipPipPipPip
  • 693 posts

Maybe I can even find something benners doesnt include yet ;) but I doubt it LOL.

You have created more setups than I, so I bow to your wisdom and higher post count sir. :D

@Lost Soul
As evilvoice says /S works, I use it for the main program setup and the additional British dictionary, I also install Premium skins, registry tweaks to add my own identities and copy all the saved and sent mail

The only thing I cant figure out is how to register it silently (Still trying), I have to run incredimail and click on my license to do so, this complicates things because I always forget to remove the licence before a fresh install and have been refused activation once due to too many activations :( so if you have any ideas or have your own method I would be interested to know.
I never let school interfere with my education

#70
Lost Soul

Lost Soul

    Snap ... Crackle ... Pop

  • Member
  • PipPipPipPipPipPipPip
  • 1,746 posts
@benners

@Lost Soul
As evilvoice says /S works, I use it for the main program setup and the additional British dictionary, I also install Premium skins, registry tweaks to add my own identities and copy all the saved and sent mail


ive tried installing incredimail with the /S switch and it works but when the pc makes it to desktop, im bombarded with the identity issue for creation.. im stuck like you on not knowing how to register it yet but working on it

can i see your setup for incredimail like how your adding that dictionary the premium skins and your of course edited version of your registry tweaks,, so that i can try to add a identity and so forth.

thanks

This is not the end. It is not even the beginning of the end. But, it is, perhaps, the end of the beginning.

- Winston Churchill

#71
evilvoice

evilvoice

    Ditchy McAbandonpants

  • Member
  • PipPipPipPipPip
  • 946 posts
actually, that sounds a lot like what I went through for morpheus ultra...lol...it would write some stuff to commondocs folder and also some reg keys...a good way to find out what is needed to register silently is to unregister the program...run inctrl5 and have it run the program...then once you have regged it, close it and let inctrl5 do its thing...it should tell you if any files were added/changed and what reg keys have been changed/added since registering...I had to do this DVD X Utilities...thats how I found out that some dlls and sys files were actually text documents. Do not use inctrl5 to do everything at once...as you will get some unneeded info doing both, so only use inctrl5 when youre about to reg the program.

Edited by evilvoice, 15 June 2005 - 09:02 AM.

When I spotted this little cutie with some sex appeal. I winked at her, she gave me a look like I'm a booger. I thought b***h, I'd rather spend my money on a hooker. Then a bright idea ran across my mind, if I could swipe a manikin I'd have a freak all the time.

#72
benners

benners

    Senior Member

  • Member
  • PipPipPipPip
  • 693 posts

can i see your setup for incredimail like how your adding that dictionary the premium skins and your of course edited version of your registry tweaks,, so that i can try to add a identity and so forth.

I was using xplode's commands to run reg files and copy files, but I am changing to inno to do all these, I think I may have sorted the registration but I am going to need a fresh install, after tweaking the inno. I will post code and links to files if it works.

Here is a zip file that I have tried, all this does is add the two files\reg entries for the British dictionary, deletes the incredimail created identity but not the folder, creates the folders and the registry entries for a new install so you do not have to go through the identity bollocks when Incredimail starts up, like selecting sex, age etc and removes incredimail from Windows start up. Oh, and sets Incredimail as the default client, let me know if you try it and it works. I am looking into removing the 4 welcome emails that are created for each fresh install as well.

With the new identity the are obviously no accounts set up, but as the tweaks force to check for mail on startup this is on error you should see.

Edited by benners, 15 June 2005 - 10:02 AM.

I never let school interfere with my education

#73
Lost Soul

Lost Soul

    Snap ... Crackle ... Pop

  • Member
  • PipPipPipPipPipPipPip
  • 1,746 posts
sounds good ill start to test,, btw i dont like incredimail to check for mail when its launched,, do you have the reg setting that disables that,, maybe if its set to not check for mail it will prevent the error on start up,,

well off to script and test.

This is not the end. It is not even the beginning of the end. But, it is, perhaps, the end of the beginning.

- Winston Churchill

#74
benners

benners

    Senior Member

  • Member
  • PipPipPipPip
  • 693 posts
[HKEY_CURRENT_USER\software\IncrediMail\Identities\{7F59EF8E-32E4-41C9-B3CC-6A5E7C2E5A93}]

"CheckMailOnStartup"=dword:00000000
this stops incredimail checking for mail when you start the program
I never let school interfere with my education

#75
Lost Soul

Lost Soul

    Snap ... Crackle ... Pop

  • Member
  • PipPipPipPipPipPipPip
  • 1,746 posts
benners where is your added lines for adding a language dictonary ?

im trying to locate them and im having no luck ive even taking your exe apart to study it

This is not the end. It is not even the beginning of the end. But, it is, perhaps, the end of the beginning.

- Winston Churchill




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN