This takes a while, so you probably want to add a POL_SetupWindow_WaitBefore before it. Next, here's what you need to extract it, assuming your current directory is $POL_System_TmpDir and you've made the directory "nik" inside: Please install the p7zip-full package.')" || POL_Debug_Fatal "$(eval_gettext 'The command 7z, which is required for installation, is unavailable. Here's what I'd do to check if 7z is installed. That means you can use the 7z command to extract it, and 7z is much more likely to be available than file-roller, and would potentially require less dependencies to be installed. The installer is a 7zip self-extracting archive. Cool! Now onto other things:įirst and foremost, you probably don't need to deal with even running the installer. I had previously misread your post and didn't realize you had gotten it working with GIMP. Here it's working, but still has the GoogleUpdate.exe issue. The website below has install instruction for both the filters as standalone in playonlinux and a working script to call them from GIMP! If someone can test I will be very happy. Once this is done, file-roller get's called, extract the files, things get copyied to the right folder, shortcuts are created and things works! The software loading time are big, but once they are loaded they work without major problems. Kill `ps -x | grep GoogleUpdate.exe | head -n1 | sed 's/. Kill `ps -x | grep services.exe | head -n1 | sed 's/. The following command appears to do the job wel: When it happens, I have to go to the terminal and manually kill some stuff. Right now the script is stuck in " Please wait while Google Nik Collection is installed", which I think is when I called POL_Wine_WaitBefore, but POL_Wine start /unix "$INSTALLER" is getting called. I couldn't extract the exe with any other, I don't know which would be the playonlinux way to ask for the installation of file-roller if it doesn't exist. I was able to extract the files using file-roller, which is the default Archive Manager for Ubuntu 14.04 (and I think all ubuntus). Other than that, syntax and all looks good. The POL_SetupWindow_wait will immediately be replaced by POL_Wine_WaitBefore or POL_Wine_WaitExit, depending on how you go about it. PlayOnLinux stores the architecture used in a configuration file for each Wineprefix, and if you don't set it it could be set to amd64. You should use POL_System_SetArch "x86" instead of export WINEARCH="win32". Your comments at the top should have the Wine version that you are actually using. I'm not really sure what /usr/bin/env playonlinux-bash does, since all the functions are normal bash functions imported in the source command farther down. I always use #!/bin/bash at the beginning of my scripts. Looks like it's a bug in the POL website. POL_Wine wineboot -k # Kill all processes POL_Wine_WaitBefore "$TITLE" # Display generic wait message that doesn't block the script from continuing POL_Wine start /unix "$INSTALLER" # start /unix is not usually recommended but neccessary in this case It might be easier to simply do something like this: The only problem with the way you're doing it is possibly (I don't actually know if this happens) running into problems with wineserver not closing or something. To kill ALL processes in a virtual drive, you incorperate into your scriptīut that's not really useful without being able to check to make sure you're not killing the installer too. Have you actually run your script yet?Īs for killing GoogleUpdate.exe, I have to say I don't know an answer. However, according to the previous article you linked to, it should work so long as the directories are already created. I don't know what kind of file the installer is, although that's what many are. For example,Ĭabextract -d "$GOOGLE_PATH" "$INSTALLER"īut that only works on MS cabinet files. You might be able to use the cabextract program.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |