You can't get script in original form. You can however extract file "embedded\CompiledCode.bin" (if present) which is compiled script and try to disassemble it with ROPS Disassembler.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is quite simple.
- Download ROPS disassembler from files section (take latest version)
- Extract CompiledCode.bin from installer with innounp
- Run disassembler on extracted file (e.g. disasm.exe CompiledCode.bin CompiledCode.txt)
- You are done. You have decompiled script in CompiledCode.txt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, I want to update the program. It is a language pack of Photoshop CS4 (x86 & x64). To tell the truth, I wanted to know how the installer was done, but the script (.ISS) is incomplete.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you want to study where files are placed by the installer then you probably don't need script content.
If you want to reconstruct script original text then this is not an easy task. Disassembled code is much less readable. And you have to analyze it on your own, I can't help you with that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Absolutely. But I just was surprised to see that some folders have names of registry keys.
I'm researching and studying a little more, since I'm still using n00b on the subject. ^^
Thanks bro, and you've helped a lot. And I'm sorry for anything =]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No problem at all. I would help with script but I never actually tried to write a Pascal Script code. So you can imagine my knowledge on disassembled code is event lesser. ))
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I only used once to rebuild the installer Vdownloader (I removed all adwares files), it was necessary. Lucky me to have found the code on the internet =X
functionNeedsAddPath(Param: string):boolean;varOrigPath: string;beginifnotRegQueryStringValue(HKEY_LOCAL_MACHINE,'SYSTEM\CurrentControlSet\Control\Session Manager\Environment','Path',OrigPath)thenbeginResult:=True;exit;end;// look for the path with leading and trailing semicolon// Pos() returns 0 if not foundResult:=Pos(';'+Param+';',';'+OrigPath+';')=0;end;[/quote]But if you want to take a look and I audar in the script, the link to the installer that I'm trying to rebuild is this: [code]http://www.datafilehost.com/download-7447fe30.html[/code]Is there a newer version for CS5, but could not extract the installation script (.ISS). It seems much more elaborate, since the installer verifies that the PS is installed before proceeding with the installation. But for now, I want to dedicate only the installer posted above ^^
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How to recover the Pascal Script of the original installation script (.ISS)?
Any installer and try that, I can not get the pascal script
Thanks in advance ^^
You can't get script in original form. You can however extract file "embedded\CompiledCode.bin" (if present) which is compiled script and try to disassemble it with ROPS Disassembler.
Hey, thank you very much for your quick reply =]
Ok, but how I do it? Innounp comes with integrated ROPS disassembler, right? What are the command-line options?
The installer has the file extension .bin (CompiledCode.bin):
Sorry for so many questions, its just that i really want to go understand about that.. and thank you so much for helping! ^^
Disassembler is a separate tool. You can download it from 'other stuff' directory in files section.
Okay, but I don't know what to do next? Can you help me, please?
=]
On which step did you stuck exactly?
To tell the truth, I do not know where to start. =/
Will you teach me? Can you teach me a step-by-step?
It is quite simple.
- Download ROPS disassembler from files section (take latest version)
- Extract CompiledCode.bin from installer with innounp
- Run disassembler on extracted file (e.g. disasm.exe CompiledCode.bin CompiledCode.txt)
- You are done. You have decompiled script in CompiledCode.txt
WOW.. Is very simple same =D
It worked like a charm. I Just do not know what to do with the generated code (I didn't understand the contents):
=]
Why did you wanted to decompile it in the first place?
Well, I want to update the program. It is a language pack of Photoshop CS4 (x86 & x64). To tell the truth, I wanted to know how the installer was done, but the script (.ISS) is incomplete.
If you want to study where files are placed by the installer then you probably don't need script content.
If you want to reconstruct script original text then this is not an easy task. Disassembled code is much less readable. And you have to analyze it on your own, I can't help you with that.
Absolutely. But I just was surprised to see that some folders have names of registry keys.
I'm researching and studying a little more, since I'm still using n00b on the subject. ^^
Thanks bro, and you've helped a lot. And I'm sorry for anything =]
No problem at all. I would help with script but I never actually tried to write a Pascal Script code. So you can imagine my knowledge on disassembled code is event lesser. ))
I only used once to rebuild the installer Vdownloader (I removed all adwares files), it was necessary. Lucky me to have found the code on the internet =X