Wine and Paint Shop Pro 8 - Need Help
Hey all...well I'm trying to install Paint Shop Pro 8 with Wine. It uses an InstallShield installer, so I did a bunch of forum searching about that and found a few things.
I installed WINE-20030911 from source, using wineinstall. I then imported the included winedefault.reg file from the source directory using regedit. Hearing it should help with InstallShield, I installed DCOM98.exe successfully, using "wine -dll ole32=n dcom98.exe" to overcome the "newer version already installed" problem. I was wondering, this is funny but...what is DCOM98? Anyway, I also commented out the various AppDefaults sections that affect InstallShield installers as Frank suggested in a different thread. No change in the behavior of my installer. I made sure that "Version" = "win98" was uncommented. I also downloaded and imported with regedit a winedefault.reg suggested by someone for better compatibility with game installers, thinking it might help. No difference. Here is the console output: ******************************************** [matthurne@localhost fake_windows]$ wine D:/psp/setup.exe fixme:process:CreateProcessA (D:\psp\instmsia.exe,...): NORMAL_PRIORITY_CLASS ignored fixme:win32:PE_CreateModule Security directory ignored fixme:process:CreateProcessA (F:\IXP010.TMP\msiinst.exe,...): NORMAL_PRIORITY_CLASS ignored fixme:advapi:SetThreadToken ((nil), (nil)): stub (NT impl. only) fixme:ntdll:NtQueryInformationToken (0x44,1,0x407922dc,80,0x4079232c): stub fixme:advapi:SetThreadToken ((nil), 0x40): stub (NT impl. only) fixme:process:CreateProcessA (MsiExec.exe,...): NORMAL_PRIORITY_CLASS ignored fixme:process:CreateProcessA (MsiExec.exe,...): STARTF_FORCEONFEEDBACK ignored fixme:process:CreateProcessA (MsiExec.exe,...): NORMAL_PRIORITY_CLASS ignored fixme:process:CreateProcessA (MsiExec.exe,...): STARTF_FORCEONFEEDBACK ignored U++ 2@ 2@XMB@ ¿:Y®@@*y@:¿:@#8*y@+À:¿:@▒ ******************************************** I find the gibberish in the last line pretty interested. Everything hangs from there and I just close the console window. The InstallShield window goes through "Checking Operating System Version" and then goes to "Configuring Windows Installer" where it hangs. So I'm guessing it detects wine as win98 just fine. You can see my config file at: http://cs.messiah.edu/~matthurne/wine/config I doubt this will matter, but I'm running Mandrake 9.1 on a 1.4gHz AthlonXP...512MB RAM, all that good stuff. I did wine --debugmsg +loaddll D:/psp/setup.exe as well, and you can see the console output at: http://cs.messiah.edu/~matthurne/wine/pspdebugdll.txt The next thing I plan on doing is messing with the way the listed dll's are loaded and getting native versions from a win98 cd with cabextract, but its late so I won't do that tonight. I hope I've given you all the information I can, hopefully enough to get some good help! Respectfully, Matt |
|
Update
Sorry, its not supported or even listed on WineHQ, just up to PSP7 is listed. That's the whole point though, I'm trying to get it to work so I can use it and so I can tell other people how! I've made a lot of progress...
Ok well no replies on any of the forums I've posted this yet...not encouraging but that's ok. I've made SIGNIFICANT progress... I copied the files "msi.dll" and "msiexec.exe" from a Windows 9x machine, and told Wine to use them. Paint Shop Pro installed!!! The Installer always hangs as soon as it finishes (I've run it twice), but all the files *appear* to be in place. I couldn't be happier about that. The problem now lies in running the installed program. Hehe. Here's what happens...when I run: [matthurne@localhost fake_windows]$ wine Program\ Files/Jasc\ Software\ Inc/Paint\ Shop\ Pro\ 8/Paint\ Shop\ Pro.exe fixme:ole:CoRegisterMessageFilter stub fixme:file:DEVICE_Open Unknown/unsupported VxD SICE. Try setting Windows version to 'nt40' or 'win31'. fixme:console:SetConsoleCtrlHandler (0x7800f03e,1) - no error checking or testing yet ReadStyleSheet: unknown token "\widctlpar" ReadStyleSheet: unknown token "\adjustright" ReadStyleSheet: unknown token "\cgrid" ReadStyleSheet: unknown token "\outlinelevel0" ReadStyleSheet: unknown token "\adjustright" ReadStyleSheet: unknown token "\adjustright" fixme:ole:CoRegisterMessageFilter stub A nice Windows-ugly box comes up saying: "The End User License Agreement file license.rtf could not be found and displayed. You may need to reinstall the product." You can view this cute, gratifying and yet frustrating window here: http://cs.messiah.edu/~matthurne/wine/psplicenseerr.jpg Problem is, if I go into the Paint Shop Pro program folder in my fake windows directory, the file license.rtf is present and non-empty. I considered that maybe it was a permissions issue, so I set full permissions for all users. It didn't help. I have also updated the config file at http://cs.messiah.edu/~matthurne/wine/config to reflect what I have now. Any ideas would be great. I'm going to do a loaddll debug and see if I can get somewhere that way. |
SUCCESS!
Great news, I got it working! There's a lot more to explain, but for now, check out my screenshot:
http://cs.messiah.edu/~matthurne/wine/psp8_wine.jpg I'm going to wipe wine clean and try the whole process over until I can figure out exactly how I got things working, to share with everyone else. Then I'll add it to WineHQ's app database. |
HOW-TO
Ok folks, here is how I got Paint Shop Pro 8 working in Linux using Wine. I messed with it a LOT after
the first time I successfully installed it, because honestly, the first time it worked I didn't know why. :-) So this is the result of a lot of trial and error. I set things up starting from installing Wine all the way through running Paint Shop Pro, so hopefully it is generic enough that I didn't miss anything and it will work for you. Note that I did this using a REAL Paint Shop Pro 8 CD. I don't know how to install the ESD version with Wine...I haven't tried. I'm sure its feasible... 1) Install Wine-20030911 from source: tar zxvf Wine.tar.gz cd wine-20030911 ./tools/wineinstall 2) Setup the config file: Uncomment the following lines: "Windows" = "win98" Add the following under [DllOverrides]: "msi" = "native" "msiexec.exe" = "native" Add the following to "Path" in the [wine] section: c:\\windows\\Installer\\InstMsi0 ***Of course you will need to set up your drive's, etc, on your own...*** 3) Apply the default registry file that came with Wine regedit Registry->Import Registry File...->(select winedefault.reg file from wine source directory) Registry->Exit 4) Make standard Windows fonts available to Wine (usually just by copying *.ttf fonts from a Windows install to your fake Windows drive's c:\Windows\Font\ folder...). If you don't do this, Paint Shop Pro will be really difficult to use because it will substitute some really messed up fonts in. You can always save this step for later if you don't believe me...if you install the fonts after PSP it will work out fine. 4) Install cabextract - http://www.kyz.uklinux.net/cabextract.php 5) Install Internet Explorer 6 (I used the files on the PSP8 CD for this, but you could also do it the hard way and run the web installer, and use that to download the CAB files): -You need to extract the needed files from the following CAB files: IE_S1.CAB IE_S2.CAB IE_S3.CAB IE_S4.CAB IE_S5.CABto figure it out...thanks to the fact that I don't have a job and I IE_S6.CAB IEDOM.CAB SCR56EN.CAB (If you use the PSP8 CD, this file is missing. See the SCR56EN.exe section below) -To do this, start by running the following command from inside the directory the CAB files are located in: cabextract IE_S1.CAB IE_S2.CAB IE_S3.CAB IE_S4.CAB IE_S5.CAB IE_S6.CAB -The following files should have been extracted: IE_1.CAB IE_2.CAB IE_3.CAB IE_4.CAB IE_5.CAB IE_6.CAB -It is safe to delete the IE_S*.CAB files now -Next, run the following command: cabextract IE_1.CAB IE_2.CAB IE_3.CAB IE_4.CAB IE_5.CAB IE_6.CAB IEDOM.CAB (add SCR56EN.CAB if you have it) -It is safe to delete the remaining CAB files -Rename sch128c.dll to schannel.dll -Create the directory "Internet Explorer" in "Program Files" -Copy/Move IEXPLORE.EXE to /Program Files/Internet Explorer/ -Copy/Move all the remaining files to /Windows/System/ -Replace system.reg in ~/.wine with this one: http://frankscorner.org/files/systemreg6.tgz -Add the following lines to your Wine config file: [AppDefaults\\iexplore.exe\\DllOverrides] "urlmon" = "native" "comctl32" = "builtin" "wininet" = "native" "shdocvw" = "native" "shlwapi" = "native" "crypt32" = "native" 6) If you didn't have SCR56EN.CAB for whatever reason, you can install it by downloading the following file: http://download.microsoft.com/downl...-US/scr56en.exe -Install this using Wine: wine scr56en.exe 7) Go ahead and test Internet Explorer by running /Program Files/Internet Explorer/IEXPLORE.EXE with Wine. I personally wasn't able to get to any websites with it even though it was supposed to be working, but it doesn't matter. PSP just requires that it be installed... 8) Setup InstallShield: wine D:/psp/instmsia.exe 9) Run the Paint Shop Pro installer: wine D:/psp/setup.exe The installer will more than likely hang up as soon as the progress bar reaches the end when copying files. Don't worry! Its "normal". 10) Kill the install program somehow, I use KDE so I hit Ctrl-Alt-Esc and then click on the window with the skull and crossbones. You want to close it some other way? Sure, just close it. 11) You need to kill the Wineserver before we can finish. Issue the following command: killall wineserver 12) Now, run the installer again... wine D:/psp/setup.exe This time, it will seem to be less responsive and just over all slow. Just wait it out...it should finish. 13) Run Paint Shop Pro! wine Paint\ Shop\ Pro.exe If a window comes up saying that the End User License Agreement, licence.rtf, couldn't be loaded, the installer must not have finished. Try again, though if you ran it twice it should've worked. I hope you've found this useful. I've already noticed a few important things that don't work correctly in the program, specifically with floating selections and such. Hopefully either I or one of you will figure out a workaround for things like that. Enjoy! Screenshot: http://cs.messiah.edu/~matthurne/wine/psp8_wine.jpg |
I didn't follow your guide above b/c its too complicated and I'm just 16. I don't understand anything from there. So, Paint shop pro 8 installs and runs but tools don't work - I get the message: "Unhandled exception: code = 200, what = unable to create the file." I've found something about it: http://www.codeweavers.com/compatibi..._id=163;tips=1
Quote:
JSC10024_[username] folder got deleted and I still got the error! Do you know how to fix this? I used wine 0.9.49.. Looking forward for another solution, SugarBlush |
All times are GMT -5. The time now is 08:02 PM. |