https://bugs.winehq.org/show_bug.cgi?id=39906
Bug ID: 39906 Summary: ODB++ Viewer fails to install due to improper bat file handling (quoting or delimiting problem) Product: Wine Version: 1.8 Hardware: x86 URL: http://www.odb-sa.com/resources/odb-viewer/ OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: jhansonxi@gmail.com Distribution: Ubuntu
Xubutnu 14.04 x86_64, AMD Phenom 9550, GeForce GTX 750Ti with Nvidia 340.96 driver. Wine 1.8 (git) Mentor Graphics ODB++ Viewer 9.6 (32 or 64-bit)
During installation it attempts to execute several *.bat files but they fail. According to install log (…/drive_c/MentorGraphics/Install/LOGS/):
Can't recognize 'C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96\install\a_UpdateFiles.bat" -target "C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96\MGC_HOME.ixn -vco ixn' as an internal or external command, or batch script.
Can't recognize 'C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96\install\a_post_install.bat" -target "C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96\MGC_HOME.ixn -vco ixn' as an internal or external command, or batch script.
Can't recognize 'C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96\install\a_vcredist_install.bat" -target "C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96\MGC_HOME.ixn -vco ixn' as an internal or external command, or batch script.
Can't recognize 'C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96\install\z_AddMenuEntry.bat" -target "C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96\MGC_HOME.ixn -vco ixn' as an internal or external command, or batch script.
Can't recognize 'C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96\install\z_CreateDesktopShortcut.bat" -target "C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\Valor\ODB++_Viewer\odbviewer_96\MGC_HOME.ixn -vco ixn' as an internal or external command, or batch script.
Steps to reproduce: 1. Register (free) and download viewer. Will receive a registration key and a "odbviewer.signature" file. 2. Extract the 280MB+ zip which contains both 32-bit and 64-bit installers. 3. Place the "odbviewer.signature" file in the same directory as the chosen installer then execute the installer. Enter registration key when prompted. 4. Respond to dialogs as needed. 5. During post-install script phase several error dialogs are displayed about script failures.
Installer completes regardless but application aborts with an unhandled exception.