How to force creating a Windows XP prefix and it's proper folder structure?

Questions about Wine on Linux
Locked
Rencer
Newbie
Newbie
Posts: 1
Joined: Sat Apr 22, 2017 9:56 am

How to force creating a Windows XP prefix and it's proper folder structure?

Post by Rencer »

For a really old software, I need a PROPER Windows XP wine-prefix.

Once I had a proper Windows XP prefix, that I created very-very long time ago, and I used that to install any older programs that worked only with Windows XP.
Sadly that HDD, which contained this wine-prefix no longer works, and I was stupid enough to not backup it. So, obviously I just tried to create a new XP-prefix.

But now, even if I try to use the oldest wine version that I have (1.7.13) it is creating by default a Windows 10 prefix, and I think because of the different folder stucture, that is why the software that I try to run not working.
Take a look at this site, you can see every Windows version has totally different folder structures!
https://social.technet.microsoft.com/wi ... vista.aspx

The program that I try to run, is a very old and unique VHS-database program.
Last time I installed and used it, it was under a real Windows XP, decades ago, but I no longer have any drive with Windows on it.
This software is written by a guy from my city, back in the 90's. He released updates to it until the last VHS-rental shop where it is used was closed. He written and sold his own softwares, nowadays you can call him an indie developer-releaser. It was used in my city and in the some surrounding villages at VHS-rental shops. He was a friend of mine so I got a copy of this software, and I used it to manage my VHS-collection. I need to use this software so I can open my database.
The software used somekind of a copy-protection and the database also encoded; I can't acess it without this software.

My question is that how I can force wine to create a proper Windows XP with it's proper folder structure, and blocking it to creating any other folders that are not XP folders. (See the link again, to understand what I really need.)

Thanks.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: How to force creating a Windows XP prefix and it's proper folder structure?

Post by jkfloris »

Wine has no real option for this. However, you can change the system.reg file to match the desired directory names. For example change C:\\users to C:\\Documents and Settings.
After you've made all the changes, let Wine create the new folders with: wineboot -u

I haven't really tested this properly, so use at your own risk.
qwertymnb
Level 5
Level 5
Posts: 273
Joined: Sun Jan 17, 2016 4:36 pm

Re: How to force creating a Windows XP prefix and it's proper folder structure?

Post by qwertymnb »

Hi,

Maybe it would be best to just try run it in a (very) old wine version. Those versions created afaik the proper XP layout.
Not sure though where to find these old versions. Might have to go back to 2006 (!)
'git log' shows for example:

commit c99880d9558bd8b7db1d183de3c9eacd500a8784
Author: Vitaliy Margolen <[email protected]>
Date: Wed Jan 4 14:48:59 2006 +0100

shell32: Create Local AppData for user profile.
Move history and internet tmp files to Local Settings.

Succes!
Locked