ClickOnce Application Installer Launches Internet Explorer

Questions about Wine on Linux
Locked
jvandrew
Level 1
Level 1
Posts: 9
Joined: Sat Nov 03, 2018 1:25 pm

ClickOnce Application Installer Launches Internet Explorer

Post by jvandrew »

I'm trying to install a ClickOnce Application, but every time I do, instead of launching, the installer launches Wine Internet Explorer with the URL of the .application file. If I download the .application file and try to launch it directly, it likewise doesn't start.

I have .Net 4.6.2 installed and I did not allow wine-mono to install (hit cancel when the wine-prefix was created).

Output when I try to run the .exe installer:

Code: Select all

0009:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x41029f, 0x45a070, 0x45a088) stub.
0009:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x40fce8, 43) stub
0009:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0009:fixme:advapi:LsaOpenPolicy ((null),0x32e68c,0x00000001,0x32e680) stub
0009:fixme:advapi:GetWindowsAccountDomainSid (0x32e5f4 0x150d04 0x32e5f0): semi-stub
0009:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
0009:fixme:advapi:LsaClose (0xcafe) stub
0009:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
002d:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
002d:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
002d:fixme:urlmon:create_object Could not find object for MIME L"application/x-ms-application"
002d:fixme:ieframe:handle_navigation_error Navigate to error page
002d:err:ole:CoReleaseMarshalData StdMarshal ReleaseMarshalData failed with error 0x8001011d
Output when I try to run the .application file:

Code: Select all

0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.
jvandrew
Level 1
Level 1
Posts: 9
Joined: Sat Nov 03, 2018 1:25 pm

Re: ClickOnce Application Installer Launches Internet Explor

Post by jvandrew »

Sorry if I was unclear: the output in my previous post is what I get when I run "wine start file.application."

The program does not run and I get the second set of console output.
jvandrew
Level 1
Level 1
Posts: 9
Joined: Sat Nov 03, 2018 1:25 pm

Re: ClickOnce Application Installer Launches Internet Explor

Post by jvandrew »

Sorry if I was unclear; the output listed was what I get when I do run "wine start application.file". Here is that output again:

Code: Select all

0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.
It does not run.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: ClickOnce Application Installer Launches Internet Explor

Post by dimesio »

Did you cd to the directory containing the .application file before trying to run it?

Also, you didn't mention what Wine version you're using. If it's not the latest development release, please try that.
jvandrew
Level 1
Level 1
Posts: 9
Joined: Sat Nov 03, 2018 1:25 pm

Re: ClickOnce Application Installer Launches Internet Explor

Post by jvandrew »

dimesio wrote:Did you cd to the directory containing the .application file before trying to run it?

Also, you didn't mention what Wine version you're using. If it's not the latest development release, please try that.
I am running the commands from the directory where the .application file is located. I'm running Wine 3.19 (latest release).
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: ClickOnce Application Installer Launches Internet Explor

Post by dimesio »

What application is this, and does it have a legal, free download?
jvandrew
Level 1
Level 1
Posts: 9
Joined: Sat Nov 03, 2018 1:25 pm

Re: ClickOnce Application Installer Launches Internet Explor

Post by jvandrew »

dimesio wrote:What application is this, and does it have a legal, free download?
The program is called SignatureFlow. It can be legally downloaded from the vendor here https://portal.safesend.com/SignatureFl ... /setup.exe
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: ClickOnce Application Installer Launches Internet Explor

Post by dimesio »

I downloaded the file you linked to and installed it doing the following:

1. Create a 32 bit wineprefix.
2. Install winetricks dotnet461 to that wineprefix.
3. Install setup.exe to that wineprefix.

The app opens a window to register your account at the end of the installation. Registering for a trial account worked, and the app opened. I didn't test much, but everything I clicked on seemed to function without any obvious problems.

The problem I ran into was after closing the app and trying to find it to run it again. It seems the installer doesn't really install anything but a "SignatureFlow.appref.ms" file on your desktop that is a link to https://portal.safesend.com/SignatureFl ... pplication, and as you say, clicking it just opens a browser with a download window.

So I downloaded the .application file, saved it to the wineprefix's Program Files directory, and ran it with wine start /unix /path/to/file, and the app opened and seemed to run fine. I also found that the installed app can be started by re-running setup.exe, which detects that it is already "installed" and just opens the app.
jvandrew
Level 1
Level 1
Posts: 9
Joined: Sat Nov 03, 2018 1:25 pm

Re: ClickOnce Application Installer Launches Internet Explor

Post by jvandrew »

1. Create a 32 bit wineprefix.
2. Install winetricks dotnet461 to that wineprefix.
3. Install setup.exe to that wineprefix.
I did step 1 successfully. I could not do step 2, as installing .NET 4.6.1 using winetricks failed. [The installers launched but would give the error that "installation failed" when I clicked next to install. I therefore simply uninstalled wine-mono and installed .NET 4.6.1 using the official Microsoft installer, which was successful.

However, when I run setup.exe (or the related .application file), I get the same errors referenced in my original post. I can't figure out why my results would be different from yours, unless winetricks does something additional beyond removing wine-mono and installing .NET 4.6.1.

Thanks again for all the help.
jvandrew
Level 1
Level 1
Posts: 9
Joined: Sat Nov 03, 2018 1:25 pm

Re: ClickOnce Application Installer Launches Internet Explor

Post by jvandrew »

One piece of additional info, I tried configured for Windows 7, and then tried 10, same results.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: ClickOnce Application Installer Launches Internet Explor

Post by dimesio »

Winetricks dotnet461 installs the necessary prerequisites (dotnet452, dotnet46) and works around bugs in Wine. Simply running the installer from Microsoft may report success, but it doesn't work.

Did you create a fresh wineprefix for this? You need to; dotnet will not install in an unclean wineprefix. Also, if you're not using the latest version of winetricks, upgrade.
jvandrew
Level 1
Level 1
Posts: 9
Joined: Sat Nov 03, 2018 1:25 pm

Re: ClickOnce Application Installer Launches Internet Explor

Post by jvandrew »

I've been using clean prefixes each time.

I figured out why winetricks dotnet461 wouldn't install; it requires you to allow wine-mono to be created when the prefix is first created. So I got it installed.

However, when I run setup.exe, it downloads the desktop file but doesn't launch the app. Same deal with successive runs of setup.exe. I get this console output:

Code: Select all

<pre>0097:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x41029f, 0x45a070, 0x45a088) stub.
0097:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x40fce8, 43) stub
0097:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0097:fixme:advapi:LsaOpenPolicy ((null),0x32e68c,0x00000001,0x32e680) stub
0097:fixme:advapi:GetWindowsAccountDomainSid (0x32e5f4 0x152104 0x32e5f0): semi-stub
0097:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
0097:fixme:advapi:LsaClose (0xcafe) stub
0097:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
0097:fixme:ntdll:EtwEventRegister ({319dc449-ada5-50f7-428e-957db6791668}, 0x10021a79, 0x1006ed50, 0x1006ed68) stub.
0097:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x100042e1, 28) stub
0097:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
</pre>
Double clicking the desktop file does nothing.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: ClickOnce Application Installer Launches Internet Explor

Post by dimesio »

My console output when I start it using setup.exe looks exactly the same as yours. The only thing I can think of at this point is that maybe you're not waiting long enough, because it is somewhat slow to load. On my system, a launcher window appears briefly, then there is about a 10 second delay where nothing seems to be happening, then the app's main window finally appears. That's the same whether I use setup.exe or the .application file to start it.

As for the desktop file, it is useless on my system, too; double-clicking it gets me a KDE window asking what application I want to use to open the file.
jvandrew
Level 1
Level 1
Posts: 9
Joined: Sat Nov 03, 2018 1:25 pm

Re: ClickOnce Application Installer Launches Internet Explor

Post by jvandrew »

If I let it sit, I get more console output, but unfortunately a window never appears:

https://pastebin.com/34xsjtmA

I thought it might be an Xfce thing since you're using KDE, but interestingly, I tried it in the Crossover trial, and so long as I use Crossover to install .NET before installing the program, it works fine in Crossover.

Anyway, I really appreciate all the time you put in.
Locked