#
0aa2c1fc |
|
20-Feb-2014 |
Stephan Aßmus <superstippi@gmx.de> |
PackageInstaller: Fixed more problems with working directories I've encountered three different ways of specifying the working directory for install scripts: Relative to target folder, relative to install folder and absolute. At least those three now work...
|
#
3f5014ec |
|
16-Feb-2014 |
Stephan Aßmus <superstippi@gmx.de> |
PackageInstaller: Run install scripts in the correct directory * From debugging with the Gobe and Moho installer, scripts define which folder to run them from. The PackageInstaller is supposed to run the script in that working directory. The parser seems to have the correct folder in "installPath" when adding the script as PackageItem, but that code is rather horrible. I've changed it so PackageScript items also set the path, use InitPath() to obtain the final working directory and set it before running the script. * Both Moho and Gobe create the Deskbar link from that script, the folder is rewritten in the script via ReplaceAll(). * Correctly running the script makes a bug visible: Dynamically added files in the install location by these scripts are not removed when uninstalling the package. When re-installing a package, it is first uninstalled and this currently gives an error for both Moho and Gobe, since they create some links in these scripts which never worked before. To install again, the install folder needs to be deleted manually. * Some cleanup along the way... sorry.
|
#
a1b7cb62 |
|
12-Feb-2014 |
Stephan Aßmus <superstippi@gmx.de> |
PackageInstaller: Another round of cleanup.
|
#
091440e0 |
|
05-May-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Jorma Karvonen: Localization of the PackageInstaller. Thanks a lot! Contains small coding style corrections by myself. Closes ticket #5907. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36618 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9ff2343b |
|
01-Apr-2010 |
Jérôme Duval <korli@users.berlios.de> |
Applied patch by sil2100 that enables handling of script files (bug #3762) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36020 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fc11b80c |
|
06-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Applied patch by sil2100 that basically adds a "Yes to all" button, see ticket #4059. I fixed a few style violations, though. Thanks! * Automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32161 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
78c00a4a |
|
11-Apr-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Applied patch by sil2001 that fixes bug #3666 (handling of existing symlinks). * Refactored PkgItem classes, and pulled out a PackageItem base class. Renamed other classes to Package*. * The ItemExists() method should really get a "Apply this choice to all files" kind of option... * Style cleanups. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30125 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
44f919da |
|
12-Oct-2007 |
Ryan Leavengood <leavengood@gmail.com> |
Adding Łukasz Zemczak's package installer to our tree. This was his Google Summer of Code project. Thanks for your work Łukasz and I hope we can see more work from you. Still to do: - Create an icon. - Add pkg files to the MIME database with PackageInstaller as the default handler. The rdef here has the MIME type name for the pkg format should anyone else choose to add it :) - Support for running scripts included with packages. - Testing various different packages. - Fixing problems in the Haiku GUI layout system which affect the code used for various parts of the installer GUI (please bear with the commented out code for now.) - Adding this to the image. Tomorrow I will add Łukasz's InstalledPackages utility which can be used to view installed packages and uninstall them. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22525 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0aa2c1fca32969f649714d2bf93bfc6ef91926a0 |
|
20-Feb-2014 |
Stephan Aßmus <superstippi@gmx.de> |
PackageInstaller: Fixed more problems with working directories I've encountered three different ways of specifying the working directory for install scripts: Relative to target folder, relative to install folder and absolute. At least those three now work...
|
#
3f5014ec86d210bd1d63f14c7640d1c68b7d8684 |
|
16-Feb-2014 |
Stephan Aßmus <superstippi@gmx.de> |
PackageInstaller: Run install scripts in the correct directory * From debugging with the Gobe and Moho installer, scripts define which folder to run them from. The PackageInstaller is supposed to run the script in that working directory. The parser seems to have the correct folder in "installPath" when adding the script as PackageItem, but that code is rather horrible. I've changed it so PackageScript items also set the path, use InitPath() to obtain the final working directory and set it before running the script. * Both Moho and Gobe create the Deskbar link from that script, the folder is rewritten in the script via ReplaceAll(). * Correctly running the script makes a bug visible: Dynamically added files in the install location by these scripts are not removed when uninstalling the package. When re-installing a package, it is first uninstalled and this currently gives an error for both Moho and Gobe, since they create some links in these scripts which never worked before. To install again, the install folder needs to be deleted manually. * Some cleanup along the way... sorry.
|
#
a1b7cb6256be90106645da0c2d0b78e6cbb96777 |
|
12-Feb-2014 |
Stephan Aßmus <superstippi@gmx.de> |
PackageInstaller: Another round of cleanup.
|
#
091440e0048f51f8708bece1a8aebeae3d1f2d36 |
|
05-May-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Jorma Karvonen: Localization of the PackageInstaller. Thanks a lot! Contains small coding style corrections by myself. Closes ticket #5907. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36618 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9ff2343b35fc95500601a2cb77719dd591e7f423 |
|
01-Apr-2010 |
Jérôme Duval <korli@users.berlios.de> |
Applied patch by sil2100 that enables handling of script files (bug #3762) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36020 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fc11b80c6c3a2d9f1a52014ab1341a9923d74e8f |
|
06-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Applied patch by sil2100 that basically adds a "Yes to all" button, see ticket #4059. I fixed a few style violations, though. Thanks! * Automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32161 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
78c00a4a53afcaeeebb337e5601dd8c1f70308e6 |
|
11-Apr-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Applied patch by sil2001 that fixes bug #3666 (handling of existing symlinks). * Refactored PkgItem classes, and pulled out a PackageItem base class. Renamed other classes to Package*. * The ItemExists() method should really get a "Apply this choice to all files" kind of option... * Style cleanups. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30125 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
44f919da9afa25ffd54e29c6f64cfba20e41f34f |
|
12-Oct-2007 |
Ryan Leavengood <leavengood@gmail.com> |
Adding Łukasz Zemczak's package installer to our tree. This was his Google Summer of Code project. Thanks for your work Łukasz and I hope we can see more work from you. Still to do: - Create an icon. - Add pkg files to the MIME database with PackageInstaller as the default handler. The rdef here has the MIME type name for the pkg format should anyone else choose to add it :) - Support for running scripts included with packages. - Testing various different packages. - Fixing problems in the Haiku GUI layout system which affect the code used for various parts of the installer GUI (please bear with the commented out code for now.) - Adding this to the image. Tomorrow I will add Łukasz's InstalledPackages utility which can be used to view installed packages and uninstall them. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22525 a95241bf-73f2-0310-859d-f6bbb57e9c96
|