FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   yener90's Inno Project Source Codes (https://fileforums.com/showthread.php?t=91563)

Fabioddq 05-12-2012 09:53

yener, i follow video tutorial and works great now. But this process doesn't work properly if you use more complex buttons. At least I could not. Thanks anyway. :D

yener90 05-12-2012 09:59

Quote:

Originally Posted by Fabioddq (Post 411590)
yener, i follow video tutorial and works great now. But this process doesn't work properly if you use more complex buttons. At least I could not. Thanks anyway. :D

setup doesnt support transparent button background...

Fabioddq 05-12-2012 10:06

Quote:

Originally Posted by yener90 (Post 411592)
setup doesnt support transparent button background...

I understand. I will make simple buttons and also had been great! I was really impressed with your work with transparent backgrounds and bmp.

I had problems with ButtonSelected. They didn't appear as they should. I think it is because Button has a size of 307x47 and ButtonSelected has 983x119 . So after creating the Autorun.bmp, the remaining space on ButtonSelected not appeared in Setup.

Stacked Deck 05-12-2012 11:54

2 Attachment(s)
Check this out. Yener, Can this be an addon on you CIU?

As a splash screen. Only works with using code.

Well that is if you can deinitialize it. Haven't figured out how to.

Stacked Deck 05-12-2012 13:13

Hey Yener. Can You Also Include ISExec Function.

Code:

if not ISExec          ( 0, 0, 0, ExpandConstant('{tmp}\Arc.exe'), ExpandConstant('x -o+ "{src}\001.arc" "{app}\"'), ExpandConstant('{tmp}'), '...',false) then break;
Since ISDone Can't Extract 7zip Splited files. can you make a sequences such as:

If PrecSrep is Enabled: This can be PrecSrep:2

It must be

ARC>PCF>SREP>ARC>7ZIP>ARC

ARC- For Containing all the files
PCF- For making files almost worth less.
SREP- For better compression
ARC- For more compression
ISEXEC 7-ZIP- For splitting the files(In order for them to fit in DVD5's or whatever)
ARC- No compression for each splited file, then Done.

If PrecSrep is Disabled

It must be:

ARC/RAR/7-ZIP - Best Compression
ISEXEC 7ZIP - Splitting the Compressed File
ARC/RAR/7ZIP For Splitted Files.

Done

Just Avoiding Million Files Of Games.....

Like The Hitman Conversion by Fabioddq

Fabioddq 06-12-2012 08:17

Hi yener, i have two doubt:

1. About [LangBox] if put ShowOnly=12, the installer show 10 flag's. If i put ShowOnly=10, the installer show 9 flag's. Is correct?

2. Autorun has support for [MinimizeButton] and [ExitButton] ?

Thanks as always! :D

yener90 06-12-2012 08:50

Quote:

Originally Posted by Fabioddq (Post 411636)
Hi yener, i have two doubt:

1. About [LangBox] if put ShowOnly=12, the installer show 10 flag's. If i put ShowOnly=10, the installer show 9 flag's. Is correct?

i let inno calculate this thing...i made some mistake :D

Quote:

Originally Posted by Fabioddq (Post 411636)
2. Autorun has support for [MinimizeButton] and [ExitButton] ?

Thanks as always! :D

no it doesnt :/
thought its not required...will add it if i find time^^

Fabioddq 06-12-2012 09:07

Quote:

Originally Posted by yener90 (Post 411637)
no it doesnt :/
thought its not required...will add it if i find time^^

You right. Really not required. but add if you feel good! :D

yener90 06-12-2012 09:20

Quote:

Originally Posted by Fabioddq (Post 411638)
You right. Really not required. but add if you feel good! :D

REV0 did something like that :D
he converted Exit button to close button.
currently you can use his idea, until i add it^^
its not a big step. 30 mins job.

yener90 06-12-2012 09:32

Stacked Deck
i really dont like to include more dlls to my installer....

lil help for you:

Code:

InitializeAnimation(MainForm.Handle, ExpandConstant('{tmp}\'), 90, 1);
0 is endless, 1-x times will be played.

Stacked Deck 06-12-2012 15:21

how am i going to deintialize it?
______

Can you add a folders in setup.cab or just outside which setup will extract after completing setup installation where users can insert their updates, saveddata, cracks and dlcs for complete recovery. And user will set their destination directory in setup.ini e.g. updates={appdata}\konami\pro..'. Something like that, not just redo the whole conversion.

Joe Forster/STA 07-12-2012 03:54

C'mon, people! For transparent images: download IrfanView; open the picture; Save as; set Save as type to PNG; enable Save Transparent Color on the right; Save; click on the transparent color or press Escape for no transparent color. And IrfanView is only a few Megabytes.

shanrq 08-12-2012 13:53

thx yener.. CIU its really rich of feature.. you really freely express your design because of png support on background.. but i really confuse/ can't find install button on autorun :D.. i can access setup via uninstall icon.. is it right button?

btw awesome works..

Fabioddq 08-12-2012 14:13

Quote:

Originally Posted by shanrq (Post 411721)
thx yener.. CIU its really rich of feature.. you really freely express your design because of png support on background.. but i really confuse/ can't find install button on autorun :D.. i can access setup via uninstall icon.. is it right button?

btw awesome works..

You have to create a image.bmp, That will serve as a background for your transparent background.
Check this video about this posted by yener:
http://goo.gl/c7vxI

Check too on Setup.cab from CIU, extract and look for files to understand better. GIMP is recommended to create the image.bmp (Autorun.bmp or Installer.bmp)

amin fear 08-12-2012 21:54

Quote:

Originally Posted by shanrq (Post 411721)
i can access setup via uninstall icon.. is it right button?

Yup...install & Uninstall buttons are the same gfx...

look that yener90 typed : Un Install Button , instead of : Uninstall Button

***
Look for this in Setup.ini : UnInstallButton

Cesar82 09-12-2012 00:39

Help me!
I followed the tutorial step by step and the background is not transparent.
The background is black.
I tested with the image Autorun.png of CIU.
I used GIMP 2.8.2 (Download Baixaki).

Fabioddq 09-12-2012 07:33

Quote:

Originally Posted by LuisCésar82 (Post 411738)
Help me!
I followed the tutorial step by step and the background is not transparent.
The background is black.
I tested with the image Autorun.png of CIU.
I used GIMP 2.8.2 (Download Baixaki).

Hi Luis, i used GIMP 2.8.2 too. You have to create a Autorun.bmp based on Autorun.png. The Autorun.png must have transparent background and must have logo and buttons too. Anyway, post your image to see the problem. ;)
Look me project in order: Autorun.bmp/Autorun.png:

https://lh3.googleusercontent.com/--...UI/s1800/1.png

Create Autorun.png without watermark and shadows. :D

kassane 09-12-2012 09:06

Quote:

Originally Posted by yener90 (Post 411575)
here is the video tutorial:
http://goo.gl/c7vxI

yener90, I did exactly as it appears in the video, but when put to change the color to black in the image, the image ends up being all black and not to yield ...

Cesar82 10-12-2012 03:02

All black image
 
kassane as I understand it the video: first you must lock the alpha channel

First click on the layer.
Then click lock alpha channel.

http://img819.imageshack.us/img819/3984/imagevufz.jpg

Cesar82 10-12-2012 06:33

1 Attachment(s)
Question Fabioddq
It did not work using video tutorial.
if possible look at the pictures of the rar file.

It is possible not use paint the save on photoshop?
Has as do the whole process in photoshop?

Fabioddq 10-12-2012 06:44

Quote:

Originally Posted by LuisCésar82 (Post 411803)
Question Fabioddq
It did not work using video tutorial.
if possible look at the pictures of the rar file.

It is possible not use paint the save on photoshop?
Has as do the whole process in photoshop?

I don't see any problem in the images. You must have save in paint because there is compatibility issue in windows. Just open image.bmp with paint and save.

Unfortunately I could not do the same process in Photoshop, and when I got was shit. So I advise you to use the GIMP. ;)

Fabioddq 10-12-2012 07:35

yener, sorry it bothers you again with this :o

but SmallInstaller has support to the MinimizeButton and ExitButton? :p :D

And i have a problem with Video.mp4 during install. The video appeared bent on the left corner of the screen, and to stop the video, the photos were displayed, but the audio of the video kept playing.
Is the same problem with Video.avi

Please, can you explain these features:

[InterfaceSettings]
MoveDirectoryInfo=0
MoveProgressBar=0

[SmallInstaller]
Shadow=0

Thanks as always!

Cesar82 10-12-2012 08:54

Not work here.
You have tested the image on the CIU?

Here OS: Windows XP
Is compatyble with Paint of Windows XP?

Fabioddq 10-12-2012 13:00

Quote:

Originally Posted by LuisCésar82 (Post 411809)
Not work here.
You have tested the image on the CIU?

Here OS: Windows XP
Is compatyble with Paint of Windows XP?

Hmm... I don't know, i use Win7 64 Bit. :)

kassane 13-12-2012 12:47

Yener90 Sorry, but I wonder if you can separate editions of smallinstaller with the installer in setup.ini?
And add resize the textstage; button and progressbar by command
Code:

[smallinstaller]
separately and without interfering with the installer interface?

yener90 16-12-2012 11:20

im currently in istanbul...will help you all if i'm at home.

sarmadi 16-12-2012 17:20

Have a good days In This wonderful city.;)

Cesar82 24-12-2012 06:54

Yener, was removed function edges of pages of the installer in CIU?
There's no way puts back (Example: EnableBordes = 1 Setup.ini)
The logo.png not work here in CIU.

Fabioddq 24-12-2012 07:18

Quote:

Originally Posted by LuisCésar82 (Post 412368)
The logo.png not work here in CIU.

Just merge logo.png with installer*.png, using Photoshop or GIMP ;)

johnnyusa 25-12-2012 07:01

Merry Christmas everyone!

I've tested the new CIU and it's very sweet, thanks yener.

But, the bug i was talking about in your previous release is still here. Fabio exposed that bug also in his previous posts.

Quote:

" had a problem with the CI 8.5.7.4 when I used the internal compression and integration (Setup.cab + Setup.ini), after conversion the autorun opened normally, but after clicking install, the installer has stopped working."
This is the bug i'm talking about. It's still here, in your latest CIU.

I've seen something related. If my installer is around 50mb large, this bug doesnt apply. But if my installer is over 100mb, installer it's taking around 30 seconds to start. Also, if my installer is over 2gb, the installer doesnt work at all, "Not responding".

Looking at my harddrive led activity, it's looking like he's doing some decompression whatsoever, i blame this for the above problems.

All these happens only with Internal Integration with/without Internal Compression.

One more thing, i've encrypted the .cab file, i can't decompress it or copy files from it. That's fine. But, instead, i can copy files to it, even if it's encrypted.. that's bad. Is there any way to disallow copying files into encrypted .cab if you don't know the encryption password?


Thanks.

yener90 25-12-2012 08:31

Update 1.0.0.3:
- small language box has too much bugs, which i realized, while trying to fix errors, therefore disabled it in this release
-> will rebuild it completely again :rolleyes:
- fixed video stop issue
- fixed button colors while glowing

yener90 25-12-2012 08:35

Quote:

Originally Posted by johnnyusa (Post 412404)
Merry Christmas everyone!

I've tested the new CIU and it's very sweet, thanks yener.

But, the bug i was talking about in your previous release is still here. Fabio exposed that bug also in his previous posts.



This is the bug i'm talking about. It's still here, in your latest CIU.

I've seen something related. If my installer is around 50mb large, this bug doesnt apply. But if my installer is over 100mb, installer it's taking around 30 seconds to start. Also, if my installer is over 2gb, the installer doesnt work at all, "Not responding".

Looking at my harddrive led activity, it's looking like he's doing some decompression whatsoever, i blame this for the above problems.

All these happens only with Internal Integration with/without Internal Compression.

i believe the inno setup installer itself cant manage such big files.
dont know if i can fix this.

Quote:

Originally Posted by johnnyusa (Post 412404)
One more thing, i've encrypted the .cab file, i can't decompress it or copy files from it. That's fine. But, instead, i can copy files to it, even if it's encrypted.. that's bad. Is there any way to disallow copying files into encrypted .cab if you don't know the encryption password?


Thanks.

this can be fixable.
i need to integrate it to Setup.cab Cryptor, to not show any files.
currently im busy with my study, dont have much time to integrate anything.

johnnyusa 25-12-2012 08:52

Quote:

i believe the inno setup installer itself cant manage such big files.
If i compile the same project with simple inno setup scripts, it's working, even with projects over 6gb.. so, i believe it's not an inno setup issue.


Quote:

this can be fixable.
i need to integrate it to Setup.cab Cryptor, to not show any files.
currently im busy with my study, dont have much time to integrate anything.
If you'd do that, then i won't need the above "bug" fixed. The only reason i want one of those two "bugs" fixed, it's because i want to protect my work.

Thanks for your fast reply ;)

Fabioddq 25-12-2012 09:26

Quote:

Originally Posted by yener90 (Post 412409)
Update 1.0.0.3:
- small language box has too much bugs, which i realized, while trying to fix errors, therefore disabled it in this release
-> will rebuild it completely again :rolleyes:
- fixed video stop issue
- fixed button colors while glowing

Thanks for the update yener! I will try and post my results! ;)

johnnyusa 25-12-2012 23:48

Well, i've worked last night and i've managed to improve my protection by making setup.cab not showing files by encrypting the filenames inside the archive.

Also, i've managed to modify the script to include some checks related to setup.ini's integrity. For example, if you change the editor's name in settings.ini, the installer won't start, giving you an explicit message.

One more problem i need to solve, that is, removing the password field inside settings.ini and adding this field into the ISS source for improved protection. I've searched the CIU source for something related to that password field, but found nothing so far.

Any input yener?

Thanks.

REV0 04-01-2013 10:24

Quote:

Originally Posted by johnnyusa (Post 412431)

Also, i've managed to modify the script to include some checks related to setup.ini's integrity. For example, if you change the editor's name in settings.ini, the installer won't start, giving you an explicit message.

This one looks a good feature, but it can be bypassed by editing author's name in iss instead, IMO.

vasu001 04-01-2013 21:05

Since u are doing great job providing ur source,so here is a suggestion if u like...

Any possibility of adding pause compilation,resume compilation[after i hibernate my pc] or like the files which are done once should not be done again if process fails and then the compiler leaves those files as they are and jump to another without deleting them[cause everytime the whole process had to be done from beginning]

These suggestions are for CIU.....:D

REV0 05-01-2013 10:42

I tried all possible ways but i cant see the uninstall icon in Programs menu, any suggestions?

CUI V1.003

pakrat2k2 06-01-2013 09:52

Quote:

Originally Posted by REV0 (Post 412745)
I tried all possible ways but i cant see the uninstall icon in Programs menu, any suggestions?

CUI V1.003

Fabio' Batman GOTY topic http://fileforums.com/showthread.php?t=94044
uses CIU V1.?? and the uninstall icon is in programs menu just fine. Maybe see if there is something different in that version compared to yours ??

Fabioddq 06-01-2013 10:41

Here, for me, also doesn't appear. Only appear in start menu and in the game folder.
Tested with CIU 1.0.0.2 and CIU 1.0.0.3.

However, in some people's PC normally appear. LOL


All times are GMT -7. The time now is 13:12.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com