Error in installer.sh after apps detection
c2b2pss opened this issue · comments
c2b2pss commented
Everything runs fine except that at the end of the installer process, it detects and configures apps and then I get 3 lines of errors:
Configuring Access... Finished.
Configuring Excel... Finished.
Configuring OneNote... Finished.
Configuring Outlook... Finished.
Configuring PowerPoint... Finished.
Configuring Publisher... Finished.
Configuring Word... Finished.
/home/user/.local/share/winapps/detected: line 4: You: command not found
/home/user/.local/share/winapps/detected: line 5: At: command not found
/home/user/.local/share/winapps/detected: line 6: syntax error near unexpected token `('
/home/user/.local/share/winapps/detected: line 6: `+ $Name = (Get-Item $Exe).VersionInfo.FileDescription.Trim() -r ...'
Here is copy of the file "detected" in /home/user/.local/share/winapps/detected
LINES RIGHT AT BEGINNING:
NAMES=()
ICONS=()
EXES=()
You cannot call a method on a null-valued expression.
At \\tsclient\home\.local\share\winapps\ExtractPrograms.ps1:215 char:9
+ $Name = (Get-Item $Exe).VersionInfo.FileDescription.Trim() -r ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
NAMES+=("")
EXES+=("C:\Program Files\cassowary\cassowary.exe")
ICONS+=("AAABAAEAICAQ1QAAAADoAgAAFgAAACgAAAAgAAAAQAAAAAEABAAAAAAAgAIAAAAAAAAAAA>
NAMES+=("Epson Scan 2 Launcher")
EXES+=("C:\Program Files (x86)\epson\Epson Scan 2\Core\es2launcher.exe")
ICONS+=("AAABAAEAICAQ1QAAAADoAgAAFgAAACgAAAAgAAAAQAAAAAEABAAAAAAAgAIAAAAAAAAAAA>
NAMES+=("Epson Scan 2 Utility")
EXES+=("C:\Program Files (x86)\epson\Epson Scan 2\Core\es2utility.exe")
ICONS+=("AAABAAEAICAQZQAAAADoAgAAFgAAACgAAAAgAAAAQAAAAAEABAAAAAAAgAIAAAAAAAAAAA>
NAMES+=("Microsoft Excel")