Post by Hakk Mann on Oct 4, 2015 17:01:07 GMT
Here is one way to create a tool that allows you to use P3DV2 installers to install into P3DV3. You'll have to work with the registry editor, so if that scares you, leave this one alone.
The basic idea is to create a couple batch files, one that makes your Windows registry entries for P3D V3 look like they're for V2 (migrate mode), and one to point things back to V3 (run mode). The assumption here is that you have a 64-bit Windows OS and P3D V3 installed on the computer.
First, run the registry editor by running regedit (start menu, type regedit in the box).
1. Now browse to \\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Lockheed Martin
Click on and highlight "Lockheed Martin", and right click on it. Select "Export"
Browse to a folder where you want to keep these files, and name it "P3DRun" and click on save. This will save a file named P3DRun.reg in the folder you selected. Double clicking or otherwise running this .reg file will restore your original registry settings you saved in this step.
2. If you don't have a Prepar3D v2 key listed along with the Prepar3D v3 key under the Lockheed Martin hive, you'll need to add one as follows. If it's already there skip to step 3.
Right-click on "Lockheed Martin" and select New, then select Key. You'll see a new key named "New Key #1"
Now Right-click on that new key, select Rename, and name it "Prepar3D v2" omit the quotes and get this EXACTLY right paying attention to upper and lowercase and the space before V2
Right-click on the key you just created, select New, then select String Value
Right-click on "New Value #1" in the window, select Rename, and name the key "License" again, omit the quotes and type it in exactly as capitalized. License is not the same as license
Right click on the key again, select Modify, and type in the correct value for your version of P3D, either "Professional" or "Academic" omitting the quotes. A month to month dev license is also "Professional"
Now right-click on the Prepar3D v2 key once more, select New, select string value and rename this key "SetupPath" like in the step above. Note the capitalization. There is no blank between Setup and Path
Right-click on the SetupPath key, select Modify, and type in the full path to your V3 root path, i.e. D:\Prepar3D V3\ make sure to include the \ at the end of the string.
Skip to step 4
3. If the Prepar3D v2 key was already there (you have V2 and V3 both installed), then right-click on the SetupPath key, select Modify, and type in the full path to your V3 installation
4. Now export the entire modified Lockheed Martin hive just like you did in step 1, only name it P3DMigrate this time
5. Now browse to \\HKEY_CURRENT_USER\Software\Lockheed Martin and export/save the existing Lockheed Martin hive as you did in step 1, only name it P3DRun2
6. If you don't have a Prepar3D v2 key listed along with the Prepar3D v3 key under the Lockheed Martin hive, you'll need to add one as follows. If it's already there skip to step 7
Create a new key under Lockheed Martin named Prepar3D v2 just as you did in step 2. Similar to step 2, you'll need to create three string keys, and one dword key
Right-click on the Prepar3D v2 key you just created, select New, then select String Value
Right-click on "New Value #1" in the window, select Rename, and name the key "AppPath"
Right-click on the AppPath key, select Modify, and type in the full path to your V3 root path, i.e. D:\Prepar3D V3\ make sure to include the \ at the end of the string.
Right-click on the Prepar3D v2 key, select New, then select String Value
Right-click on "New Value #1" in the window, select Rename, and name the key "AppPath"
Right-click on the AppPath key, select Modify, and type in the full path to your V3 root path, i.e. D:\Prepar3D V3\ make sure to include the \ at the end of the string.
Now right-click on the Prepar3D v2 key once more, select New, select string value and rename this key "SetupPath" like in the step above. Note the capitalization. There is no blank between Setup and Path
Right-click on the SetupPath key, select Modify, and type in the full path to your V3 root path, i.e. D:\Prepar3D V3\ make sure to include the \ at the end of the string.
Now right-click on the Prepar3D v2 key once more, select New, select string value and rename this key "SimConnect_Port_IPv4" like in the step above. Note the capitalization.
Right-click on the SimConnect_Port_IPv4 key, select Modify, and type in the single digit 0 make sure it's a zero not an "O" as in oscar
Now right-click on the Prepar3D v2 key once more, select New, select string value and rename this key "SimConnect_Port_IPv6" like in the step above. Note the capitalization.
Right-click on the SimConnect_Port_IPv6 key, select Modify, and type in the single digit 0 make sure it's a zero not an "O" as in oscar
Now right-click on the Prepar3D v2 key once more, select New, select DWORD value and rename this key "Installed"
Right-click on the Installed key, select Modify, and type in the single digit 1 make sure it's a one not an "l" as in light
skip to step 8
7. If the Prepar3D v2 key was already there, then you need to modify the AppPath and SetupPath keys to show the full path to your V3 root folder, i.e. D:\Prepar3D V3\ make sure to include the \ at the end
8. Now export the entire modified Lockheed Martin hive just like you did in step 1, only name it P3DMigrate2 this time
So now we've created four .reg files named P3DRun.reg, P3DRun2.reg, P3DMigrate.reg, and P3DMigrate2.reg
Now we're going to create a pair of batch files to automate switching between Run and Migrate modes. We'll assume you put the .reg files into folder C:\P3DMigrate
This first batch file points V3 (and V2 if you have it installed) to their correct folders, and restores the paths to the config file directory in C:\ProgramData
(note--if your boot drive is something other than C:, then you'll need to modify the paths accordingly)
If you only have V3 installed, use notepad or other plain text editor to create a text file with the following 3 lines:
reg import "C:\P3DMigrate\P3DRun.reg"
reg import "C:\P3DMigrate\P3DRun2.reg
rename "C:\ProgramData\Lockheed Martin\Prepar3D v2" "Prepar3D v3"
If you have both V2 and V3 installed, the file should read like this:
IF NOT EXIST "C:\ProgramData\Lockheed Martin\Prepar3D v2 Locked\" GOTO :SKIPIT
reg import "C:\P3DMigrate\P3DRun.reg"
reg import "C:\P3DMigrate\P3DRun2.reg"
rename "C:\ProgramData\Lockheed Martin\Prepar3D v2" "Prepar3D v3"
rename "C:\ProgramData\Lockheed Martin\Prepar3D v2 Locked" "Prepar3D v2"
:SKIPIT
save this as P3DRun.bat on your desktop
This second batch file points your V2 registry settings (or a dummy registry setting if V2 isn't installed) and changes the name of the P3D v3 config file directory to look like V2 is installed
If you only have V3 installed, use notepad or other plain text editor to create a text file with the following 3 lines:
reg import "C:\P3DMigrate\P3DMigrate.reg"
reg import "C:\P3DMigrate\P3DMigrate2.reg"
rename "C:\ProgramData\Lockheed Martin\Prepar3D v3" "Prepar3D v2"
If you have both V2 and V3 installed, the file should read like this:
IF EXIST "C:\ProgramData\Lockheed Martin\Prepar3D v2 Locked\" GOTO :SKIPIT
reg import "C:\P3DMigrate\P3DMigrate.reg"
reg import "C:\P3DMigrate\P3DMigrate2.reg"
rename "C:\ProgramData\Lockheed Martin\Prepar3D v2" "Prepar3D v2 Locked"
rename "C:\ProgramData\Lockheed Martin\Prepar3D v3" "Prepar3D v2"
:SKIPIT
save this as P3DMigrate.bat on your desktop
With all of this completed, use these programs as follows:
double-clicking on the P3DMigrate.bat icon will configure your PC to redirect P3D V2 automated installers to V3 instead
double-clicking on the P3DRun.bat icon will configure your PC to normal ops
This P3D V3 migration tool worked for me to install ORBX FTX Global, Aerosoft P3D2 ready sceneries, UTX USA v2, UTX Europe V2, etc.
The basic idea is to create a couple batch files, one that makes your Windows registry entries for P3D V3 look like they're for V2 (migrate mode), and one to point things back to V3 (run mode). The assumption here is that you have a 64-bit Windows OS and P3D V3 installed on the computer.
First, run the registry editor by running regedit (start menu, type regedit in the box).
1. Now browse to \\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Lockheed Martin
Click on and highlight "Lockheed Martin", and right click on it. Select "Export"
Browse to a folder where you want to keep these files, and name it "P3DRun" and click on save. This will save a file named P3DRun.reg in the folder you selected. Double clicking or otherwise running this .reg file will restore your original registry settings you saved in this step.
2. If you don't have a Prepar3D v2 key listed along with the Prepar3D v3 key under the Lockheed Martin hive, you'll need to add one as follows. If it's already there skip to step 3.
Right-click on "Lockheed Martin" and select New, then select Key. You'll see a new key named "New Key #1"
Now Right-click on that new key, select Rename, and name it "Prepar3D v2" omit the quotes and get this EXACTLY right paying attention to upper and lowercase and the space before V2
Right-click on the key you just created, select New, then select String Value
Right-click on "New Value #1" in the window, select Rename, and name the key "License" again, omit the quotes and type it in exactly as capitalized. License is not the same as license
Right click on the key again, select Modify, and type in the correct value for your version of P3D, either "Professional" or "Academic" omitting the quotes. A month to month dev license is also "Professional"
Now right-click on the Prepar3D v2 key once more, select New, select string value and rename this key "SetupPath" like in the step above. Note the capitalization. There is no blank between Setup and Path
Right-click on the SetupPath key, select Modify, and type in the full path to your V3 root path, i.e. D:\Prepar3D V3\ make sure to include the \ at the end of the string.
Skip to step 4
3. If the Prepar3D v2 key was already there (you have V2 and V3 both installed), then right-click on the SetupPath key, select Modify, and type in the full path to your V3 installation
4. Now export the entire modified Lockheed Martin hive just like you did in step 1, only name it P3DMigrate this time
5. Now browse to \\HKEY_CURRENT_USER\Software\Lockheed Martin and export/save the existing Lockheed Martin hive as you did in step 1, only name it P3DRun2
6. If you don't have a Prepar3D v2 key listed along with the Prepar3D v3 key under the Lockheed Martin hive, you'll need to add one as follows. If it's already there skip to step 7
Create a new key under Lockheed Martin named Prepar3D v2 just as you did in step 2. Similar to step 2, you'll need to create three string keys, and one dword key
Right-click on the Prepar3D v2 key you just created, select New, then select String Value
Right-click on "New Value #1" in the window, select Rename, and name the key "AppPath"
Right-click on the AppPath key, select Modify, and type in the full path to your V3 root path, i.e. D:\Prepar3D V3\ make sure to include the \ at the end of the string.
Right-click on the Prepar3D v2 key, select New, then select String Value
Right-click on "New Value #1" in the window, select Rename, and name the key "AppPath"
Right-click on the AppPath key, select Modify, and type in the full path to your V3 root path, i.e. D:\Prepar3D V3\ make sure to include the \ at the end of the string.
Now right-click on the Prepar3D v2 key once more, select New, select string value and rename this key "SetupPath" like in the step above. Note the capitalization. There is no blank between Setup and Path
Right-click on the SetupPath key, select Modify, and type in the full path to your V3 root path, i.e. D:\Prepar3D V3\ make sure to include the \ at the end of the string.
Now right-click on the Prepar3D v2 key once more, select New, select string value and rename this key "SimConnect_Port_IPv4" like in the step above. Note the capitalization.
Right-click on the SimConnect_Port_IPv4 key, select Modify, and type in the single digit 0 make sure it's a zero not an "O" as in oscar
Now right-click on the Prepar3D v2 key once more, select New, select string value and rename this key "SimConnect_Port_IPv6" like in the step above. Note the capitalization.
Right-click on the SimConnect_Port_IPv6 key, select Modify, and type in the single digit 0 make sure it's a zero not an "O" as in oscar
Now right-click on the Prepar3D v2 key once more, select New, select DWORD value and rename this key "Installed"
Right-click on the Installed key, select Modify, and type in the single digit 1 make sure it's a one not an "l" as in light
skip to step 8
7. If the Prepar3D v2 key was already there, then you need to modify the AppPath and SetupPath keys to show the full path to your V3 root folder, i.e. D:\Prepar3D V3\ make sure to include the \ at the end
8. Now export the entire modified Lockheed Martin hive just like you did in step 1, only name it P3DMigrate2 this time
So now we've created four .reg files named P3DRun.reg, P3DRun2.reg, P3DMigrate.reg, and P3DMigrate2.reg
Now we're going to create a pair of batch files to automate switching between Run and Migrate modes. We'll assume you put the .reg files into folder C:\P3DMigrate
This first batch file points V3 (and V2 if you have it installed) to their correct folders, and restores the paths to the config file directory in C:\ProgramData
(note--if your boot drive is something other than C:, then you'll need to modify the paths accordingly)
If you only have V3 installed, use notepad or other plain text editor to create a text file with the following 3 lines:
reg import "C:\P3DMigrate\P3DRun.reg"
reg import "C:\P3DMigrate\P3DRun2.reg
rename "C:\ProgramData\Lockheed Martin\Prepar3D v2" "Prepar3D v3"
If you have both V2 and V3 installed, the file should read like this:
IF NOT EXIST "C:\ProgramData\Lockheed Martin\Prepar3D v2 Locked\" GOTO :SKIPIT
reg import "C:\P3DMigrate\P3DRun.reg"
reg import "C:\P3DMigrate\P3DRun2.reg"
rename "C:\ProgramData\Lockheed Martin\Prepar3D v2" "Prepar3D v3"
rename "C:\ProgramData\Lockheed Martin\Prepar3D v2 Locked" "Prepar3D v2"
:SKIPIT
save this as P3DRun.bat on your desktop
This second batch file points your V2 registry settings (or a dummy registry setting if V2 isn't installed) and changes the name of the P3D v3 config file directory to look like V2 is installed
If you only have V3 installed, use notepad or other plain text editor to create a text file with the following 3 lines:
reg import "C:\P3DMigrate\P3DMigrate.reg"
reg import "C:\P3DMigrate\P3DMigrate2.reg"
rename "C:\ProgramData\Lockheed Martin\Prepar3D v3" "Prepar3D v2"
If you have both V2 and V3 installed, the file should read like this:
IF EXIST "C:\ProgramData\Lockheed Martin\Prepar3D v2 Locked\" GOTO :SKIPIT
reg import "C:\P3DMigrate\P3DMigrate.reg"
reg import "C:\P3DMigrate\P3DMigrate2.reg"
rename "C:\ProgramData\Lockheed Martin\Prepar3D v2" "Prepar3D v2 Locked"
rename "C:\ProgramData\Lockheed Martin\Prepar3D v3" "Prepar3D v2"
:SKIPIT
save this as P3DMigrate.bat on your desktop
With all of this completed, use these programs as follows:
double-clicking on the P3DMigrate.bat icon will configure your PC to redirect P3D V2 automated installers to V3 instead
double-clicking on the P3DRun.bat icon will configure your PC to normal ops
This P3D V3 migration tool worked for me to install ORBX FTX Global, Aerosoft P3D2 ready sceneries, UTX USA v2, UTX Europe V2, etc.