FileForums

FileForums (https://fileforums.com/index.php)
-   PC Games - CD/DVD Conversions (https://fileforums.com/forumdisplay.php?f=39)
-   -   I Am Alive Installer (Inno setup) (https://fileforums.com/showthread.php?t=93308)

NamelessOne 10-09-2012 13:01

I Am Alive *CIU 1.0.0.6*
 
5 Attachment(s)
This is not a conversion just a custom (improved, if I may say so) installer because the original Ubisoft's is pretty cra... Well, you know what I mean :D

EDIT:
I've updated script to CIU 1.0.0.6.

Based on CIU 1.0.0.6 by yener90 (Much obliged for this, man ;))
.bat file and compression method by Peterf1999 and Fabioddq (also, many thanks to these guys ;))
Art: online and ingame
Music: Game main theme
Icon: cKL-Design
Tested on: Win7 Home Premium 64bit and Win7 Ultimate 32bit
Final size (redist folder included):
Code:

2 GB's
1. Install game and update to 1.01 version
2. Extract content archive somewhere on your computer, NOT in game folder.
3. Move support folder from installation folder to your extracted IAA folder along with the Autorun.exe and Setup.exe
4. Start compress.bat, enter game installation path and wait to compile.
5. Make ISO and test before you burn it ;)

Attachment 7727
Attachment 7729
Attachment 7728

senseman 10-09-2012 14:35

thanks man...Ubisoft installer is really ~censored :D

Fabioddq 10-09-2012 20:48

Nice conversion namelessOne! I wanted to create an installer, now I don't need anymore! :D

I think you can implement the reg entries for other languages​​, otherwise the game will always be in English no matter which language you install. I'll put as could be if you want to upgrade.
In highlighted (red) the new reg entries for other languages ​​and also for the launcher:

Code:

Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive"; ValueName: UninstallString; ValueData: {uninstallexe}; ValueType: string; Flags: UninsDeleteKey;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive"; ValueType: string; ValueName: Language; ValueData: English; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive"; ValueType: string; ValueName: Language; ValueData: French; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: fre;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive"; ValueType: string; ValueName: Language; ValueData: German; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: ger;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive"; ValueType: string; ValueName: Language; ValueData: Italian; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: ita;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive"; ValueType: string; ValueName: Language; ValueData: Spanish; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: esp;

Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive\GameUpdate"; ValueType: string; ValueName: execPath; ValueData: {app}\src\System\IAmAlive_game.exe; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive\GameUpdate"; ValueType: string; ValueName: installRootDir; ValueData: {app}; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive\GameUpdate"; ValueType: string; ValueName: InstallDir; ValueData: {app}\src\System; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive\GameUpdate"; ValueType: string; ValueName: language; ValueData: us; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive\GameUpdate"; ValueType: string; ValueName: language; ValueData: fr; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: fre;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive\GameUpdate"; ValueType: string; ValueName: language; ValueData: de; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: ger;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive\GameUpdate"; ValueType: string; ValueName: language; ValueData: it; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: ita;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive\GameUpdate"; ValueType: string; ValueName: language; ValueData: es; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: esp;

Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\IAmAlive\GameUpdate"; ValueType: string; ValueName: info; ValueData: 970ce8e57f8740d18ecc59f85052bb61; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\Launcher"; ValueType: string; ValueName: Version; ValueData: 0432 ; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\Launcher"; ValueType: string; ValueName: InstallDir; ValueData: {app}; Flags: uninsdeletevalue uninsdeletekeyifempty

I tested these new reg entries and works great for other languages. :D
if you want to use the eula.rtf files, they are in the support\Res\License.

Thanks for the conversion! :D

NamelessOne 11-09-2012 11:20

Thanks for the info, Fabiodq. I completely forgot about other languages :o If I put them in script will the game recognize them if someone choose some language other than English during setup?

Fabioddq 11-09-2012 11:27

Quote:

Originally Posted by NamelessOne (Post 406348)
Thanks for the info, Fabiodq. I completely forgot about other languages :o If I put them in script will the game recognize them if someone choose some language other than English during setup?

yes, the game will be the language chosen by the user. My test:

I installed the game in english. After conversion i installed in spanish and the game was in spanish. ;)

NamelessOne 11-09-2012 11:34

Thanks once again, Fabiodq. I've added updated script in the first post :)

sarmadi 12-09-2012 15:04

I,Really,did not undrestand.
Where should I put the new files of conversion???

Fabioddq 12-09-2012 15:10

Quote:

Originally Posted by sarmadi (Post 406393)
I,Really,did not undrestand.
Where should I put the new files of conversion???

Delete the word "Updated" leave only InstallerScript.iss and just replace the old InstallerScript.iss ;)

sarmadi 12-09-2012 22:39

I didn't find any converted bin file.it happened in 5 seconds.

Fabioddq 12-09-2012 22:48

Quote:

Originally Posted by sarmadi (Post 406405)
I didn't find any converted bin file.it happened in 5 seconds.

Delete ";" in the front of #define ProgramFiles "C:\Games\I Am Alive"

and make sure if you indicate the correct path.

sarmadi 12-09-2012 22:56

Thanks.It works now.

NamelessOne 14-09-2012 08:32

I've added updated setup files :D

javieracdc 15-09-2012 09:00

I have this error:

http://i49.tinypic.com/1z6a7w0.jpg

Fabioddq 15-09-2012 09:15

Quote:

Originally Posted by javieracdc (Post 406528)

If you desire Setup.cab + Setup.ini integration do it:
Extract Setup.cab in a blank Setup folder and Compile LangScript.iss and InstallerScript.iss;

if you not desire this integration:
Put ; in the front #define Internal in InstallerScript.iss and LangScript.iss

Tibi68 15-09-2012 14:08

The installer works perfect from folder but don't work from ISO or burned dvd. I have Win 7, 32bits.
I have this error:
runtime error (at 307:190):
Access is denied.
Any help, please? Sorry for my english.

NamelessOne 16-09-2012 01:53

Quote:

Originally Posted by Tibi68 (Post 406536)
The installer works perfect from folder but don't work from ISO or burned dvd. I have Win 7, 32bits.
I have this error:
runtime error (at 307:190):
Access is denied.
Any help, please? Sorry for my english.

To be honest, this is the first time I hear about this. I've tested it on my Win7 Home Premium 64bit and on Win7 Ultimate 32bit, and it worked fine, in ISO format and from folder.

Kamyk95 16-09-2012 05:45

Make ISO with which files? I bet that I don't need ALL the files like "InstallerScript.iss" or "Conver_AutorunToDLL.bat"...

NamelessOne 16-09-2012 07:36

Quote:

Originally Posted by Kamyk95 (Post 406549)
Make ISO with which files? I bet that I don't need ALL the files like "InstallerScript.iss" or "Conver_AutorunToDLL.bat"...

You only need Setup-*.bin files, setup.ini, Setup.cab and Setup.dll. That is if you haven't merged them with setup with #define Internal command. In that case, you only need Setup-*.bin files and Setup.dll.

Kamyk95 16-09-2012 11:34

Quote:

Originally Posted by NamelessOne (Post 406553)
You only need Setup-*.bin files, setup.ini, Setup.cab and Setup.dll. That is if you haven't merged them with setup with #define Internal command. In that case, you only need Setup-*.bin files and Setup.dll.

OK, thanks. That's what I wanted to know. Man, the Inno Installer is WAAAAAAY better than Ubisoft's.

Fox22743 18-09-2012 03:44

Do i have to include the "Support" folder in the iso. Please let me know. I don't want to put extra files for nothing.

Also there is no setup.dll file. Can't find it anywhere. Somebody please help

fireball70 18-09-2012 06:20

Quote:

Originally Posted by Tibi68 (Post 406536)
The installer works perfect from folder but don't work from ISO or burned dvd. I have Win 7, 32bits.
I have this error:
runtime error (at 307:190):
Access is denied.
Any help, please? Sorry for my english.

Same problem here.
Setup.exe can be run from folder, but after make iso or burn to dvd, Setup.exe couldn't be run. It said same error like that. Don't know what missing.
Never happen this error before for other convertion :(

yener90 18-09-2012 06:31

im analyzing this error.

EDIT: no error here O.O

your conversion works good.
only little problem: gdf path is wrong.

its should be:
GDFBinary=src\System\iaa_gameexplorer.dll
;)

Fox22743 18-09-2012 08:38

Ok. I read through the setup.ini and I see that the support folder has to be included. But still where is the setup.dll file. Keep getting this error "setup could not find neccessary files"

EDIT
------
Since I was not receiving any help here, I decided to use the setup.dll file from the "borderlands 2" REV0 conversion. It seems to be working sort of. Will give feedback as to what is happening exactly.

EDIT 2
-------
Tested now and it's working. Only problem is that it shows the wrong icon for like a second in the task bar.

NamelessOne 18-09-2012 11:45

After you compile Installer script, compile LangScript and then run Convert_AutorunToDLL to get setup.dll. And no, Support folder is not necessarily needed for game installation. Just delete entire [LauncherSettings] part from setup.ini if you don't want it.

@yener
Thanks for your remark. I overlooked it although I've noticed that dll file. My bad :D

Fox22743 18-09-2012 12:22

My bad on the whole setup.dll file. Was having a really rough day and did not look properly at what was written. Customers that owe me money refusing to pay and such. They still threatening to take me to the court and that.

My biggest apologies for all that hassle.

Forgive me and thanks a million for the conversion.

Edit
-----
Just some changes I made to your installer. Not neccessary, but looks a bit better i think.

1) Deleted "setup.ico", made a copy of "IAmAlive_game.ico" and renamed it to "setup.ico".
2) In "setup.ini", changed "ProgressBarLabelColor" and "SetupFontColor" values from "$ffffff" to "$0000ff". Basically I made the font red so that it would be easier to read.

Like I said just some changes I made for myself.

khokhan 18-10-2012 23:30

Quote:

Originally Posted by Fabioddq (Post 406529)
If you desire Setup.cab + Setup.ini integration do it:
Extract Setup.cab in a blank Setup folder and Compile LangScript.iss and InstallerScript.iss;

if you not desire this integration:
Put ; in the front #define Internal in InstallerScript.iss and LangScript.iss

his mean: right click "setup.cab" -> Extract to Setup/ (With Winrar or Winzip installed in your OS) -> then Run again "LangScript.iss"

p/s: Thanks Fabioddq... conversation work OK..

prudislav 21-12-2012 13:41

have problems with updating to v1.01
it sais Failed to Complete instalation :-(
not sure what cause this - ptobably some registry things

Fabioddq 21-12-2012 13:58

Quote:

Originally Posted by prudislav (Post 412264)
have problems with updating to v1.01
it sais Failed to Complete instalation :-(
not sure what cause this - ptobably some registry things

Where you get this patch 1.01? Link please... :D

prudislav 21-12-2012 14:03

Quote:

Originally Posted by Fabioddq (Post 412265)
Where you get this patch 1.01? Link please... :D

IAmAlive_1.01.exe
changelog:
Code:

ug Fixes:
- XBox wireless controller support.
- AZERTY layout keyboard and key remapping has been fixed.
- Bloom effect has been tuned to avoid over bright areas.
- Validation System:
- Removed warning/error message about wrongly unsupported detected video hardware.
- the window is now resizable to prevent issues with player not being able to see the OK/Next buttons.
- Validation System will only be launched once, the first time the game is launched.
- To force the Validation System to run again, you'll need to edit the UserSettings.ini file and set "RunValidation=True"

Known issues:
- Using long path name for installation might result in a crash when launching the game, so keep installation path as short as possible (<50).
- If Wireless pad still doesn't work for you, you will have to delete your profile(profile.sav) and savegame(game.sav) BUT you will LOOSE your game progression doing so!!!

but cant get it to patch on this istaller (and the ubi one is horrible)

Fabioddq 21-12-2012 19:36

Ubisoft always sucks with updates. I advise you always keep the original installers by Ubisoft for future updates.

jackstuff 21-12-2012 21:33

Quote:

Originally Posted by Fabioddq (Post 412278)
Ubisoft always sucks with updates. I advise you always keep the original installers by Ubisoft for future updates.

This happens because of registry, i damm sure that a correct one of registry is needed for installing the future updates

prudislav 21-12-2012 23:54

so we need to find that problematic registry key.
This time original installer is something really stupit - it extrcat itself 3 times to system disk anad takes my computer hostage ;-)

pakrat2k2 22-12-2012 01:18

installed original game > NO crack installed. took reg shot...
installed v1.01 update installed fine, again took reg shot.

only difference is an 'info' line

reg file before 1.01 update
Code:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ubisoft\IAmAlive]
"Language"="English"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ubisoft\IAmAlive\GameUpdate]
"execPath"="C:\\Program Files (x86)\\Ubisoft\\I Am Alive\\src\\SYSTEM\\IAmAlive_game.exe"
"installRootDir"="C:\\Program Files (x86)\\Ubisoft\\I Am Alive\\"
"InstallDir"="C:\\Program Files (x86)\\Ubisoft\\I Am Alive\\src\\SYSTEM"
"language"="us"
"info"="970ce8e57f8740d18ecc59f85052bb61"

after v1.01 update

Code:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ubisoft\IAmAlive]
"Language"="English"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ubisoft\IAmAlive\GameUpdate]
"execPath"="C:\\Program Files (x86)\\Ubisoft\\I Am Alive\\src\\SYSTEM\\IAmAlive_game.exe"
"installRootDir"="C:\\Program Files (x86)\\Ubisoft\\I Am Alive\\"
"InstallDir"="C:\\Program Files (x86)\\Ubisoft\\I Am Alive\\src\\SYSTEM"
"language"="us"
"info"="a1e6f2494ac64cae9177ee36b8ae9b9e"


prudislav 22-12-2012 02:08

I just cant install update on this conversion - dont know what the problem is - reg. entries seems to be fine. Maybe some Uninstall one like with FC3 and AC3
I have Uplay version of this game but it still uses that horrible installer so thats why i want better one

Fabioddq 22-12-2012 06:52

Try update to 1.01 from original game and make the conversion again.

prudislav 22-12-2012 07:15

it solves nothing :-(
but its probably my only choice since even more skilled people doesnt khow

Fabioddq 22-12-2012 08:46

Yep, here update normally with original installer. I will try search for missing reg entries. But I think are the only entries posted by pakrat. ;)

pakrat2k2 22-12-2012 09:12

went thru namelessone's reg entries in ISS script ONLY lines that are there that i dont see are the 2 Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Launcher"; ones...

remove those 2 entries from your registry and see if update will then install.

prudislav 22-12-2012 10:21

still: Error 1628: Failed to complete installation
EDIT: ok seems like that problem is not with conversion but with the patch itself

pakrat2k2 22-12-2012 15:42

Quote:

Originally Posted by prudislav (Post 412311)
still: Error 1628: Failed to complete installation
EDIT: ok seems like that problem is not with conversion but with the patch itself

no i installed the game, then updated it from ubisoft ( static3.... link )
Code:

http://static3.cdn.ubi.com/i_am_alive/IAmAlive_1.01.exe
it updated without issue.

prudislav, tried using launcher.exe to update game directly?
unblock it from firewall if was blocked with game's exe too..


All times are GMT -7. The time now is 07:18.

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