Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Importing serial in EA Games

Featured Replies

I have 3 games that I want to install silently.

These games are:

- Battlefield Vietnam

- Command and Conquer Generals

- Command and Conquer Generals Zero Hour

All these games are made by Electronic Arts (EA) and use install-shield to install.

Let's take Battlefield Vietnam as an example.

- I copy the content of the CD to my harddrive

- I created an ISS file

This way the installation works fine.

The only problem that I have, is that the Setup asks me for my serial code.

This is done by a program called Battlefield Vietnam_code.exe

If you enter your serial, it will perfectly install silent.

If you Taskkil this program your installation will stop.

If you delete this file and then run the installation, it will give you an error.

I also tried to insert my serial code by using a Reg file, but it still asks for my serial key.

Is there anyway to work around this program, or can i somehow implant my serial key?

(Bellow you will find an image of my problem)

post-70-1099241740_thumb.jpg


You could try making a 0-byte file with the same name, and using a reg entry to enter the serial number. Worth a shot anyway.

If this window pops up during the silent install. You could use Autoit to run the execution, then have it wait for this window title to appear. Then use Autoit to controlsend the serial to the input fields. That's if you like learning Autoit alittle, for a mere several lines of code to do this.

  • Author

Thanks for your Reaction guys :thumbup .

First I tried the 0-byte file but it doesn't work. The problem is, that the file Opens another file (not visible) that is crucial for the installation. So I got all sorts of errors. :no:

Than I gave Autoit a try. For a beginner (such as myself :D ) this application looks very diffecult. So I started messing around with the example files, and started to read the help file.

With this I created a very basic script.

WinActivate ( "Battlefield Vietnam")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("{ENTER}")

All this basicly does Is implating my serial and press enter.

When I have some more time, I will make a complete script for the whole installation.

Now I created a batch that looks like this

ECHO OFF
ECHO Installeren Battlefield Vietnam
start %systemdrive%\battlefield\setup.exe /S
Sleep 7
start %systemdrive%\battlefield\battlefield.exe
Sleep 180
taskkill /IM "Battlefield Vietnam_eReg.exe" /F
start /wait %systemdrive%\battlefield\PunkBuster2\setup.exe /S
start /wait %systemdrive%\battlefield\"battlefield Vietnam 1_2"\Disk1\setup.exe /S

In this batch "Battlefield.exe" is my Autoit script.

Thanks for the advise, I'll definitely learn some more about Autoit and I will use it in the future. :thumbup

Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("x")
Send("{ENTER}")

u can make that all 1 line

Send(x, x, x, x, x, {ENTER})

that should work

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.