Install compile/decompiler ? [Archive] - SpeedGuide.net Broadband Community

View Full Version : Install compile/decompiler ?


mountainman
07-28-04, 12:36 PM
Does anyone know of a program that you can install a program and then change some files and then recompile it back into an install file?

We have some software at work that we touched up some of the bitmaps that comprise the GUI. We'd like to be able to change out the bitmaps and then recompile it back into its original install form.

If NOT, perhaps someone can help me out with writing a simple batch file that will replace one folder called "IMAGE" with another folder called "IMAGE"?

Thanks for all help.

-B

Norm
07-28-04, 12:47 PM
I would assume editing or recompiling a copyrighted program is an illegal practice, unless of course permission is granted by the author.
eg: Even though a lot of people edit thier Windows startup logo by editting explorer.exe in a hex edittor, it is illegal if you read Microsofts legal agreement.


Give me the path to the first "image" dir, and the second "image" dir, and I'll make you up a batch file.

I don't think replacing files on your PC is an illegal practiice.

The Dude
07-28-04, 04:38 PM
I have used the resource hacker (http://www.users.on.net/johnson/resourcehacker/) to change the boot screen for my windows 2k install. I use it swap the image file that is embedded in the ntoskrnl.exe file. This sounds similar to what you want to do. After reading Norms post I guess I will have to stop doing it because it's illegal. ;)

TonyT
07-28-04, 06:23 PM
Lazy man's way to do it:

It can prolly be done using Winzip to create a self-extracting executable w/ a predefined path for extraction.

mountainman
07-29-04, 02:04 PM
Thanks for the ideas, guys.

I guess a batch file would probably be easiest because I can put it on the front page of a certain CD Menu I have and have it be the 2nd click after the install of software.

We have permission to change images (colors from red to blue), but they don't want to take the time to do it for us.

Anyway, here is the file path of the images:

Folder to be replaced: C:\DVR\Image
Replacement folder: Z:\DVR\Image

Thanks for the help!!

:)

-b

Norm
07-29-04, 02:27 PM
Copy this line to notepad, save it, then rename the file to whatever.cmd

xcopy /s /e /h /y /q "Z:\DVR\Image" "C:\DVR\Image"

I'm assuming you are only using this one one PC, or that every PC you intend to use it on has a Z: drive. If not, and you want to put it on cd we can rewrite it to work from any CD from your menu app button.
xcopy /s /e /h /y /q "DVR\Image" "C:\DVR\Image"

Before using this please make a backup of your Image dir for safety sake.

Need any clarification, let me know.

mountainman
07-29-04, 04:04 PM
Works like a charm like usual, Norm.

Thanks for your help, bro.

:)

Norm
07-29-04, 04:37 PM
Glad it worked :thumb:

YARDofSTUF
07-29-04, 06:53 PM
Batch files, a lost art :D

Norm
07-29-04, 07:40 PM
Batch files, a lost art :DWatch it bub!!

I'll call yer dad and convince him that you should clean up that yard :D

cyberskye
07-29-04, 09:03 PM
Batch files, a lost art :D
In the windows world, perhaps. In *nix, you script everything.

Norm
07-29-04, 11:04 PM
In the windows world, perhaps. In *nix, you script everything.In 'my' windows world I like to script anything that I do often. I like to have repetitive things down to 'one click' or thrown into a schedule.
Plus it's the fun of automating something.

Scripts can do so much for so little effort.

I should have taken up *nix years ago. Don't really want to put the time and effort in now, but I sure wish I had earlier.

TonyT
07-30-04, 07:20 AM
I should have taken up *nix years ago. Don't really want to put the time and effort in now, but I sure wish I had earlier.
I guarantee you that if you set up Debian on a test box, that within one month you would be quite expert at linux, based on your experience.

Set up a local server w/ apache and ftp as well and you would soon be as (or more) qualified than the majority of sysadmons working at your isp and most hosting companies!

It's well worth getting to know linux.