https://bugs.winehq.org/show_bug.cgi?id=37311
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer Status|UNCONFIRMED |NEW URL| |http://s3.mentor.com/pads-f | |ree-viewer/pads-pcb-viewer. | |zip CC| |focht@gmx.net Summary|Mentor PADS viewer cannot |Mentor Graphics PADS VX.0 |install |Viewer fails to install Ever confirmed|0 |1
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
I registered with disposable email address to get activation code. There are various sites existing exactly for this purpose.
Install went pretty far only to fail on quote/parsing in post-install batch file step. Probably further than initial bug report was about.
Anyway, trace log:
--- snip --- ... 006d:Call KERNEL32.CreateProcessW(00000000,192e4020 L""C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn" -vco ixn",00000000,00000000,00000001,08000400,192e4538,00000000,17f0e130,17f0e120) ret=6d4c8d9b ... 0093:Call KERNEL32.__wine_kernel_init() ret=7bc6c64b 006d:Ret KERNEL32.CreateProcessW() retval=00000001 ret=6d4c8d9b ... 0093:trace:cmd:wmain Full commandline 'L"C:\windows\system32\cmd.exe /c "C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn" -vco "...' ... 0093:trace:cmd:wmain Command line parm: 'L"C:\windows\system32\cmd.exe /c "C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn" -vco "...' 0093:trace:cmd:wmain Command line parm: 'L"/c "C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn" -vco ixn"' ... 0093:trace:cmd:wmain /c command line: 'L""C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn" -vco ixn"' ... 0093:trace:cmd:wmain Set L"=C:" to L"C:\MentorGraphics\Install" ... 0093:trace:cmd:WCMD_process_commands Executing command: 'L"C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn -vco ixn"' ... 0093:trace:cmd:WCMD_execute command on entry:L"C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn -vco ixn" (0x33b3b0) ... 0093:trace:cmd:WCMD_execute Command: 'L"C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn -vco ixn"' ... 0093:trace:cmd:WCMD_execute param1: L":\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat"", param2: L"-target" 0093:trace:cmd:WCMD_run_program Running 'L"C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn -vco ixn"' (0) ... 0093:trace:cmd:WCMD_run_program Searching in 'L"C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat -target C:\MentorGraphics\PADSVX.0Viewer -msicmd C:\MentorGraphics\Install\bin\msi_cmd.exe -mgchome C:\MentorGraphics\PADSVX.0Viewer\"' for 'L"MGC_HOME.ixn"' ... 0093:Call KERNEL32.FindFirstFileW(00332708 L"C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat -target C:\MentorGraphics\PADSVX.0Viewer -msicmd C:\MentorGraphics\Install\bin\msi_cmd.exe -mgchome C:\MentorGraphics\PADSVX.0Viewer\\MGC_HOME.ixn.*",00332910) ret=7ecb791c 0093:Ret KERNEL32.FindFirstFileW() retval=ffffffff ret=7ecb791c ... 0093:Call KERNEL32.WideCharToMultiByte(000001b5,00000000,001403f8 L"Can't recognize 'C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn -vco ixn' as an internal o"...,0000013f,00140680,0000ffff,7ecbdfe8,0033260c) ret=7ecb539b --- snip ---
Debugger:
--- snip --- Wine-dbg>bt Backtrace:
=>0 0x7b872636 CreateProcessW(app_name=0x0(nil), cmd_line=""C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn" -vco ixn", process_attr=(nil), thread_attr=(nil), inherit=0x1, flags=0x8000400, env=0x191de748, cur_dir=0x0(nil), startup_info=0x18b3e230, info=0x18b3e220) [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/process.c:2471] in kernel32 (0x18b3e1e4)
1 0x6d4c8d9b in java (+0x8d9a) (0x18b3e2fc) 2 0x02f8aa54 (0x0091f4cd) ...
Wine-dbg>bt Backtrace:
=>0 0x7b872636 CreateProcessW(app_name="C:\windows\system32\cmd.exe", cmd_line="C:\windows\system32\cmd.exe /c "C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn" -vco ixn", process_attr=(nil), thread_attr=(nil), inherit=0x1, flags=0x8000400, env=0x191de748, cur_dir=0x0(nil), startup_info=0x18b3e230, info=0x18b3e220) [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/process.c:2471] in kernel32 (0x18b3da28)
1 0x7b871596 create_cmd_process+0x11b(filename="C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat", cmd_line=""C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn" -vco ixn", env=0x191de748, cur_dir=0x0(nil), psa=(nil), tsa=(nil), inherit=0x1, flags=0x8000400, startup=0x18b3e230, info=0x18b3e220) [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/process.c:2191] in kernel32 (0x18b3dc88)
2 0x7b872192 create_process_impl+0x84d(app_name=0x0(nil), cmd_line=""C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn" -vco ixn", process_attr=(nil), thread_attr=(nil), inherit=0x1, flags=0x8000400, env=0x191de748, cur_dir=0x0(nil), startup_info=0x18b3e230, info=0x18b3e220) [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/process.c:2389] in kernel32 (0x18b3e1a8)
3 0x7b872686 CreateProcessW+0x4f(app_name=0x0(nil), cmd_line=""C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn" -vco ixn", process_attr=(nil), thread_attr=(nil), inherit=0x1, flags=0x8000400, env=0x191de748, cur_dir=0x0(nil), startup_info=0x18b3e230, info=0x18b3e220) [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/process.c:2472] in kernel32 (0x18b3e1e4)
4 0x6d4c8d9b in java (+0x8d9a) (0x18b3e2fc) 5 0x02f8aa54 (0x0091f4cd) --- snip ---
Installer log file:
--- snip --- ... Running Script:( Post Install )
C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat -target C:\MentorGraphics\PADSVX.0Viewer -msicmd C:\MentorGraphics\Install\bin\msi_cmd.exe -mgchome C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn -vco ixn ***START of MIP ENV block***
MG_INSTALL_PID=nexus5_8 LC_ALL=en_US MG_INSTALL_MODE=interactive MG_INSTALL_SOURCE=Z:\home\focht\Downloads\PADSVX.0_Viewer_mib.exe MG_INSTALL_TARGET=C:\MentorGraphics\PADSVX.0Viewer MG_INSTALL_MSI_COMMANDER=C:\MentorGraphics\Install\bin\msi_cmd.exe MG_INSTALL_MGC_HOME=C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn MG_INSTALL_VCO=ixn MG_INSTALL_PID=nexus5_8 MG_INSTALL_TYPE=all MG_INSTALL_LEAVE_USER_FILES= MG_INSTALL_ADL_PATH= MG_INSTALL_DOCACCESS_PATH= MG_INSTALL_PRD_ROOT=PADSVX.0Viewer MG_INSTALL_ADL_SUB_DIR= MG_INSTALL_ISDOCTARGET= MG_INSTALL_SELECTED_PRODUCTS=PADS Layout Viewer@PADS Logic Viewer MG_INSTALL_PRODUCT_DELIMITER=@ MG_INSTALL_SCRIPT_SILENT= MG_INSTALL_SCRIPT_EXTRA=
***END of MIP ENV block***
**** BEGIN SCRIPT TRANSCRIPT ****
Can't recognize 'C:\MentorGraphics\PADSVX.0Viewer\SDD_HOME\Programs\padsviewer_post_install_script.bat" -target "C:\MentorGraphics\PADSVX.0Viewer" -msicmd "C:\MentorGraphics\Install\bin\msi_cmd.exe" -mgchome "C:\MentorGraphics\PADSVX.0Viewer\MGC_HOME.ixn -vco ixn' as an internal or external command, or batch script. --- snip ---
$ sha1sum pads-pcb-viewer.zip 9283b06839499b4e3914a6eae014b1b14bfc2637 pads-pcb-viewer.zip
$ du -sh pads-pcb-viewer.zip 130M pads-pcb-viewer.zip
$ wine --version wine-1.7.52-190-gd548639
Regards