http://bugs.winehq.org/show_bug.cgi?id=33421
Bug #: 33421 Summary: Cypress PSoCCreator Installer fails with "You have insufficient privileges to run CyInstaller..." Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: terry@maximatcher.com Classification: Unclassified
wine-1.5.28-114-g60faef8
PSoCCreatorSetup_2.2_cp5.exe
wine runs the extractor, starts the PSoCCreator InstallShield Wizard, then throws the error window with "You have insufficient privileges to run CyInstaller. Please contact you(sic) administrator. CyInstaller will now exit"
http://bugs.winehq.org/show_bug.cgi?id=33421
Florian Hars fh+winehq@hars.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fh+winehq@hars.de
--- Comment #1 from Florian Hars fh+winehq@hars.de --- Still happens with wine-1.6.2 and PSoCCreatorSetup_3.0_sp1.exe
Last few lines of output before the error message:
fixme:mscoree:get_runtime_info unsupported startup flags 6 fixme:msi:ITERATE_CreateShortcuts poorly handled shortcut format, advertised shortcut fixme:mstask:MSTASK_IPersistFile_Save (0x1844dc, (nil), 1): stub fixme:mstask:MSTASK_IPersistFile_Save (0x1844dc, (nil), 1): stub fixme:mstask:MSTASK_ITask_SetWorkingDirectory (0x1844d8, L"C:\Program Files (x86)\Cypress\Cypress Update Manager\"): stub fixme:mstask:MSTASK_IPersistFile_Save (0x1844dc, (nil), 1): stub fixme:mstask:MSTASK_ITask_SetFlags (0x1844d8, 0x00002000): stub fixme:mstask:MSTASK_IPersistFile_Save (0x1844dc, (nil), 1): stub fixme:mstask:MSTASK_IPersistFile_Save (0x1844dc, (nil), 1): stub fixme:ntdll:NtCreateJobObject stub: 0x33eb3c 1f001f L"cyliveupdatejob" fixme:ntdll:NtSetInformationJobObject stub: 0xdead 2 0x33eb88 48
http://bugs.winehq.org/show_bug.cgi?id=33421
--- Comment #2 from Florian Hars florian@hars.de --- I get slightly further in wine 1.7.19 ( 1:1.7.19-0ubuntu2~trusty2 from the PPA):
fixme:ntdll:NtSetInformationJobObject stub: 0xdead 2 0x33eb88 48 fixme:wincodecs:PngDecoder_Block_GetCount stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x16660c,0x164178): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x16660c,0x165f58): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x16660c,0x166058): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x16660c,0x166140): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x167d0c,0x1666a0): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1687dc,0x166b70): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1687dc,0x1666a0): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1687dc,0x168350): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1687dc,0x169b58): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1687dc,0x169c40): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x16af04,0x169e78): stub libgluezilla not found. To have webbrowser support, you need libgluezilla installed libgluezilla not found. To have webbrowser support, you need libgluezilla installed fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x18b134,0x18b918): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x18b14c,0x18ba28): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x18b134,0x18bb28): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x18b134,0x18bc28): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x18b134,0x18c210): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x18b134,0x18c2f8): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x18b134,0x18c3f8): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x197fac,0x198768): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x197fac,0x195428): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x197fac,0x198cb0): stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x197fac,0x198db0): stub
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at System.Windows.Forms.WebBrowser.Refresh (WebBrowserRefreshOption opt) [0x00000] in <filename unknown>:0 at System.Windows.Forms.WebBrowser.Refresh () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.set_Enabled (Boolean value) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Enabled (bool) at System.Windows.Forms.Form.ShowDialog (IWin32Window owner) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.ShowDialog () [0x00000] in <filename unknown>:0 at System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox/MessageBoxForm:RunDialog () at System.Windows.Forms.MessageBox.Show (System.String text, System.String caption, MessageBoxButtons buttons) [0x00000] in <filename unknown>:0 at Cypress.CyInstaller.Gui.CyInstallerWizard.DownloadCatalog (System.Object state) [0x00000] in <filename unknown>:0
Then I get an "Please wait. The Installer is processing installation information" dialog box that does never terminate.
Installing the packages containing libgluezilla doesn't change one iota.
https://bugs.winehq.org/show_bug.cgi?id=33421
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer Status|UNCONFIRMED |NEW URL| |http://dlm.cypress.com.edge | |suite.net/akdlm/downloadman | |ager/software/PSoCCreatorSe | |tup_3.0_sp1.exe Component|-unknown |mscoree Version|unspecified |1.5.28 Ever confirmed|0 |1
--- Comment #3 from Austin English austinenglish@gmail.com --- The installer needs .Net SP2 (winetricks dotnet20sp2). After that, installs fine.
wine-1.7.20-33-g3ccaad8
https://bugs.winehq.org/show_bug.cgi?id=33421
--- Comment #4 from Austin English austinenglish@gmail.com --- austin@aw25 ~ $ sha1sum PSoCCreatorSetup_3.0_sp1.exe 78f98295f2290f2c2c7a132124feee6de360bdc3 PSoCCreatorSetup_3.0_sp1.exe austin@aw25 ~ $ du -h PSoCCreatorSetup_3.0_sp1.exe 588M PSoCCreatorSetup_3.0_sp1.exe
https://bugs.winehq.org/show_bug.cgi?id=33421
winetaste@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetaste@gmx.net
--- Comment #5 from winetaste@gmx.net --- Wine 4.8 (win32): Can go through installer (license agreement texts are missing), starts installing and breaks after a while (see log). Uninstalling and ending with "The wizard was interrupted before PSoC Creator could be completely installed."
No "System.Windows.Forms" in the Unhandled Exception like in comment 2.
(with dotnet20sp2 it installs fine)
https://bugs.winehq.org/show_bug.cgi?id=33421
--- Comment #6 from winetaste@gmx.net --- Created attachment 64418 --> https://bugs.winehq.org/attachment.cgi?id=64418 log wine 4.8
https://bugs.winehq.org/show_bug.cgi?id=33421
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL|http://dlm.cypress.com.edge |https://web.archive.org/web |suite.net/akdlm/downloadman |/20140720145244/http://dlm. |ager/software/PSoCCreatorSe |cypress.com.edgesuite.net/a |tup_3.0_sp1.exe |kdlm/downloadmanager/softwa | |re/PSoCCreatorSetup_3.0_sp1 | |.exe Summary|Cypress PSoCCreator |Cypress PSoC Creator 3.0 |Installer fails with "You |installer fails with |have insufficient |Wine-Mono |privileges to run |('System.SystemException: |CyInstaller..." |Error running | |C:\windows\mono\mono\mini\m | |ono.exe: File not found.' | |at | |'Microsoft.CSharp.CSharpCod | |eGenerator.FromFileBatch')
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
please don't recycle the same bug report with different problems over and over again. This is considered bad practice.
Current problem:
--- snip --- $ wine ./PSoCCreatorSetup_3.0_sp1.exe ... Unhandled Exception: System.SystemException: Error running C:\windows\mono\mono\mini\mono.exe: File not found.
at Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x0018b] in <33db299526d44bd89f34cc214308fe17>:0 at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] sources) [0x00094] in <33db299526d44bd89f34cc214308fe17>:0 at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] sources) [0x0000f] in <33db299526d44bd89f34cc214308fe17>:0 at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource (System.CodeDom.Compiler.CompilerParameters options, System.String[] sources) [0x00006] in <33db299526d44bd89f34cc214308fe17>:0 at System.Xml.Serialization.Compiler.Compile (System.Reflection.Assembly parent, System.String ns, System.Xml.Serialization.XmlSerializerCompilerParameters xmlParameters, System.Security.Policy.Evidence evidence) [0x00144] in <c49273ddac0b4977979af5f9b8ba33ec>:0 at System.Xml.Serialization.TempAssembly.GenerateAssembly (System.Xml.Serialization.XmlMapping[] xmlMappings, System.Type[] types, System.String defaultNamespace, System.Security.Policy.Evidence evidence, System.Xml.Serialization.XmlSerializerCompilerParameters parameters, System.Reflection.Assembly assembly, System.Collections.Hashtable assemblies) [0x004c2] in <c49273ddac0b4977979af5f9b8ba33ec>:0 at System.Xml.Serialization.TempAssembly..ctor (System.Xml.Serialization.XmlMapping[] xmlMappings, System.Type[] types, System.String defaultNamespace, System.String location, System.Security.Policy.Evidence evidence) [0x0006a] in <c49273ddac0b4977979af5f9b8ba33ec>:0 at System.Xml.Serialization.XmlSerializer.GetSerializersFromCache (System.Xml.Serialization.XmlMapping[] mappings, System.Type type) [0x00111] in <c49273ddac0b4977979af5f9b8ba33ec>:0 at System.Xml.Serialization.XmlSerializer.FromMappings (System.Xml.Serialization.XmlMapping[] mappings, System.Type type) [0x000a2] in <c49273ddac0b4977979af5f9b8ba33ec>:0 at System.Web.Services.Protocols.SoapClientType..ctor (System.Type type) [0x000e1] in <4d3d87f945434560b4008d961355847f>:0 at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor () [0x0004f] in <4d3d87f945434560b4008d961355847f>:0 at SoftwareTrackerService..ctor () [0x00000] in <73b271e0c5764aea9c991ce62d621d81>:0 at (wrapper remoting-invoke-with-check) SoftwareTrackerService..ctor() at Cypress.CyInstaller.InstallationTracker.ProductTracker.SendInstallStart (Cypress.CyInstaller.InstallationTracker.CyCustomerDataBackpack backpack, System.String productRegistrationGuid, System.String productBeingUpgraded, System.String productBeingInstalled) [0x00000] in <73b271e0c5764aea9c991ce62d621d81>:0 at Cypress.CyInstaller.Core.CyInstallerMgr.PerformInstall (System.Collections.Generic.Dictionary`2[TKey,TValue] task) [0x000ae] in <ff827dd073534681b617380484dbd9a6>:0 at Cypress.CyInstaller.Core.CyInstallerMgr.InstallOp (System.Object state) [0x0006d] in <ff827dd073534681b617380484dbd9a6>:0
... --- snip ---
Apparently the installer wants to compile an assembly on the fly using CSharp compiler. Mono uses path separator '\' to distinguish between Windows and *nix platforms. Wine-Mono doesn't provide 'mono.exe' wrapper for Windows platform.
https://github.com/madewokherd/wine-mono/tree/wine-mono-4.8.3
https://github.com/mono/mono/blob/2450c67/mcs/class/System/Microsoft.CSharp/...
--- snip --- ... private CompilerResults FromFileBatch (CompilerParameters options, string[] fileNames) { if (options == null) throw new ArgumentNullException (nameof(options));
if (fileNames == null) throw new ArgumentNullException (nameof(fileNames));
CompilerResults results=new CompilerResults(options.TempFiles); Process mcs=new Process();
// FIXME: these lines had better be platform independent. if (Path.DirectorySeparatorChar == '\') { mcs.StartInfo.FileName = MonoToolsLocator.Mono; mcs.StartInfo.Arguments = """ + MonoToolsLocator.McsCSharpCompiler + "" "; } else { mcs.StartInfo.FileName = MonoToolsLocator.McsCSharpCompiler; }
mcs.StartInfo.Arguments += BuildArgs (options, fileNames, _provOptions); ... --- snip ---
https://github.com/mono/mono/blob/c5b88ec4f323f2bdb7c7d0a595ece28dae66579c/m...
Since this specific problem doesn't seem to have been reported yet, recycling the issue *one last time* to make this bug report still somewhat useful.
$ sha1sum PSoCCreatorSetup_3.0_sp1.exe du 78f98295f2290f2c2c7a132124feee6de360bdc3 PSoCCreatorSetup_3.0_sp1.exe
$ du -sh PSoCCreatorSetup_3.0_sp1.exe 588M PSoCCreatorSetup_3.0_sp1.exe
$ wine --version wine-4.8
Regards
https://bugs.winehq.org/show_bug.cgi?id=33421
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Cypress PSoC Creator 3.0 |Cypress PSoC Creator 3.0 |installer fails with |installer fails with |Wine-Mono |Wine-Mono |('System.SystemException: |('System.SystemException: |Error running |Error running |C:\windows\mono\mono\mini\m |C:\windows\mono\mono\mini\m |ono.exe: File not found.' |ono.exe: File not found.') |at | |'Microsoft.CSharp.CSharpCod | |eGenerator.FromFileBatch') |
https://bugs.winehq.org/show_bug.cgi?id=33421
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=33421
--- Comment #8 from winetaste@gmx.net --- Sorry, I didn't mean to recycle this :( I just tested it and wrote, what I had noticed.
https://bugs.winehq.org/show_bug.cgi?id=33421
--- Comment #9 from Vincent Povirk madewokherd@gmail.com --- Should be an easy fix. We just need it to locate and run mcs.exe directly instead of looking for mono.exe, similar to what our csc.exe wrapper currently does.
https://bugs.winehq.org/show_bug.cgi?id=33421
--- Comment #10 from Vincent Povirk madewokherd@gmail.com --- Should be fixed in Wine Mono 4.9.0.
https://bugs.winehq.org/show_bug.cgi?id=33421
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |faa7564d375a6d4672da0bfe35f | |367199188e114 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #11 from Gijs Vermeulen gijsvrm@gmail.com --- This works with wine-6.11 and wine-mono 6.2.0.
Marking FIXED.
It shows an error window when the installer wants to do this:
C:\Program Files (x86)\Cypress\Programmer>rem convert args to /regserver C:\Program Files (x86)\Cypress\Programmer>cd C:\Program Files (x86)\Cypress\Programmer\ C:\Program Files (x86)\Cypress\Programmer>"RegMp3Service.exe" /regserver 3.20.1 /s
but it's non-fatal and the installer finishes successfully, nevertheless I'll report this bug separately.
https://bugs.winehq.org/show_bug.cgi?id=33421
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.12.