henrikstengaard / hstwb-installer

A set of scripts to automate installation of Amiga OS, Kickstart roms and packages to new or existing Amiga HDF files
https://hstwb.firstrealize.com
MIT License
100 stars 7 forks source link

pre made HDFs? #17

Closed PlatypusWithCheese closed 6 years ago

PlatypusWithCheese commented 6 years ago

not really an issue but i cant get the msi installer to to anything useful it just errors at me. could someone make image/hdf files like the ones on the hstwb webpage but for the newer releases? because the old ones don't work with cloanto WB 3.1 disks.

henrikstengaard commented 6 years ago

I will make new hdf self install images during the next couple of days with latest beta version.

Since you experience errors with msi installer, then I will start making a portable version as well that doesn't require installation

PlatypusWithCheese commented 6 years ago

im getting these errors with the new thing

------------------
Install UAE Config
------------------
Author: Henrik Noerfjand Stengaard
Date: 2017-11-12

Patch hard drives to use the following directories:
IMAGEDIR        : 'C:\Users\Public\Documents\Amiga Files\WinUAE\4gb_hstwb_1.2.0
-beta3'
WORKBENCHDIR    : 'C:\Users\Public\Documents\Amiga Files\WinUAE\4gb_hstwb_1.2.0
-beta3\Workbench'
KICKSTARTDIR    : 'C:\Users\Public\Documents\Amiga Files\WinUAE\4gb_hstwb_1.2.0
-beta3\Kickstart'
OS39DIR         : 'C:\Users\Public\Documents\Amiga Files\WinUAE\4gb_hstwb_1.2.0
-beta3\OS39'
USERPACKAGESDIR : 'C:\Users\Public\Documents\Amiga Files\WinUAE\4gb_hstwb_1.2.0
-beta3\UserPackages'

Installing Workbench 3.1 adf and Kickstart rom files from Cloanto Amiga Forever
 data directory 'C:\Users\Public\Documents\Amiga Forever Files\'
- Workbench 3.1 adf files from 'C:\Users\Public\Documents\Amiga Forever Files\S
hared\adf'...
Get-ChildItem : A parameter cannot be found that matches parameter name 'File'.
At C:\Users\Public\Documents\Amiga Files\WinUAE\4gb_hstwb_1.2.0-beta3\install_u
ae_config.ps1:137 char:71
+     $workbenchFiles += Get-ChildItem $workbenchDir -Filter *.adf -File <<<<
    + CategoryInfo          : InvalidArgument: (:) [Get-ChildItem], ParameterB
   indingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Comm
   ands.GetChildItemCommand

- Kickstart rom files from 'C:\Users\Public\Documents\Amiga Forever Files\Share
d\rom'...
Done
Get-ChildItem : A parameter cannot be found that matches parameter name 'File'.
At C:\Users\Public\Documents\Amiga Files\WinUAE\4gb_hstwb_1.2.0-beta3\install_u
ae_config.ps1:44 char:71
+     $kickstartFiles += Get-ChildItem $kickstartDir -Filter *.rom -File <<<<
    + CategoryInfo          : InvalidArgument: (:) [Get-ChildItem], ParameterB
   indingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Comm
   ands.GetChildItemCommand

WinUAE configuration file 'C:\Users\Public\Documents\Amiga Files\WinUAE\4gb_hst
wb_1.2.0-beta3\hstwb-installer.uae'
- Patching hard drive directories, kickstart rom file and Amiga OS 3.9 iso file
...
- Installing in WinUAE configuration directory 'C:\Users\Public\Documents\Amiga
 Files\WinUAE\Configurations'...
Done

FS-UAE configuration file 'C:\Users\Public\Documents\Amiga Files\WinUAE\4gb_hst
wb_1.2.0-beta3\hstwb-installer.fs-uae'
- Patching hard drive directories, kickstart rom file, Amiga OS 3.9 iso file an
d add Workbench adf files as swappable floppies...
Get-ChildItem : A parameter cannot be found that matches parameter name 'File'.
At C:\Users\Public\Documents\Amiga Files\WinUAE\4gb_hstwb_1.2.0-beta3\install_u
ae_config.ps1:458 char:75
+         $adfFiles += Get-ChildItem -Path $workbenchDir -Filter *.adf -File <<
<<
    + CategoryInfo          : InvalidArgument: (:) [Get-ChildItem], ParameterB
   indingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Comm
   ands.GetChildItemCommand

- Installing in FS-UAE configuration directory 'C:\Users\USER\Documents\FS-UAE
\Configurations'...
Done
Press any key to continue . . .
henrikstengaard commented 6 years ago

Thanks for reporting.

I assume you might be using Windows 7 as it comes with powershell v2.0. I had changed the install_uae_config.ps1 script to use a -File argument, which requires powershell v3.0.

I have replaced it with a powershell v2.0 compatible version and attached a new version, which you can download, extract and overwrite in your directory 'C:\Users\Public\Documents\Amiga Files\WinUAE\4gb_hstwb_1.2.0-beta3'. install_uae_config.zip

Please try again with the updated version.