[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS :: View topic - Self installing exe for maps
Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Self installing exe for maps
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=1394
Page 1 of 2

Author:  Superfuzz [ Tue Apr 26, 2005 2:22 am ]
Post subject:  Self installing exe for maps

Not sure where this belongs, so sorry if it is in the wrong place.

Ok I am trying to make a self extracting/installing exe for destribution of maps. I want the installer to automatically detect the correct BF installtion directory. the windows regisrty key that holds this info is

HKEY_LOCAL_MACHINE\Software\EA Games\Battlefield 1942\GAMEDIR

How can I query the registry and make an install exe that uses the proper BF path no matter which system it's being ran on?

Author:  Looney [ Tue Apr 26, 2005 3:46 am ]
Post subject: 

u might have already tried this but just in case u havent

http://toolazy2p.com/modules.php?name=F ... 98b91a4d9d

Author:  Superfuzz [ Tue Apr 26, 2005 4:01 am ]
Post subject: 

I have similar programs that do that. I can set a defualt path, but that is not always the right place to install to. The above link tells you how to make a SFX archive for one specific path (the default), but if some one installs BF to another foler or dirve (like me) then the default path is no good. That is where the regkey comes in. That has my (or any path for that matter) to the BF installation. Like when you installed DC and DCF it automatically deteced the right folder to install to. I would like to do that with my map(s).

Author:  Looney [ Tue Apr 26, 2005 4:18 am ]
Post subject: 

o then i have no idea

Author:  Superfuzz [ Tue Apr 26, 2005 4:25 am ]
Post subject: 

that's maybe some one will,

if not being able to give the default BF path is better than nothing, cause if you changed you BF path then you will probably realize it and make the proper change anyway. Its just nice not to have to. :wink:

Author:  cc-vortex [ Tue Apr 26, 2005 4:53 am ]
Post subject: 

You could just add a "Browse to game folder" to the install script.
*shrug*

Author:  Superfuzz [ Tue Apr 26, 2005 4:55 am ]
Post subject: 

ya I have that, but a lot of people dont know where ther bf folder is (usualy the default in that case though) but I would like automatically use thier folder. Anyway I'll keep looking.

Author:  silversound [ Tue Apr 26, 2005 5:25 am ]
Post subject: 

Most people who move their drive letter upon installation of BF are the types to know where to install applications. Everyone else will have it in the default folder.

I understand why you would want this if it is not too hard to figure out, but I would not worry to much about it. Simply use an installer that allows the user to browse.

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/