Skip to content

vbscript in MSI fails #6095

@TravisEz13

Description

@TravisEz13

Steps to reproduce

build and run MSI from master branch

Expected behavior

msi should install without error

Actual behavior

image

Log Excerpt

Action 18:10:37: SaveShortcutPath.
Action start 18:10:37: SaveShortcutPath.
Action ended 18:10:37: SaveShortcutPath. Return value 1.
Action 18:10:37: FixShortcutWorkingDirectory.
Action start 18:10:37: FixShortcutWorkingDirectory.
DEBUG: Error 2851: The data for the icon WixUI_Ico_Info is not valid
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2851. The arguments are: WixUI_Ico_Info, ,
Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action FixShortcutWorkingDirectory script error -2147024891, WshShortcut.Save: Unable to save shortcut "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PowerShell\PowerShell 6.0.1-c876ae3.lnk". Line 8, Column 9,
MSI (s) (8C:24) [18:10:39:239]: Product: PowerShell-6.0.1-c876ae3-x64 -- Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action FixShortcutWorkingDirectory script error -2147024891, WshShortcut.Save: Unable to save shortcut "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PowerShell\PowerShell 6.0.1-c876ae3.lnk". Line 8, Column 9,

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.0.1
PSEdition                      Core
GitCommitId                    v6.0.1-164-g7dc54b240297ce5d79ac3a567de781d6a3e7df23
OS                             Microsoft Windows 10.0.16299
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions