English 中文(简体)
启动儿童进程和窗口7
原标题:Launching a Child Process and the windows 7 taskbar

我们有使用劳埃特人进行自我更新的申请。 从服务器上下载新应用书和数字电子数据,然后单独进行。

直到视窗7任务区抵达......为止,这都是非常好的工作。

Problem is in Windows 7, if the user pins the Launcher.exe to the task bar (by right-clicking the shortcut to Launcher.exe) then this happens... When you start the program the "pinned" taskbar icon momentarily gets focus while the launcher is running but then a totally separate new icon appears when App.exe is running. If the user then decides to right click the icon from the running App.exe and pin that to the taskbar, they bypass the application update part of the process.

Things we ve tried to far... We have looked into making the Launcher.exe load the App.exe assembly and run it inside the Launcher.exe process but this has a few other issues… Launcher.exe is .NET 2 I don’t think it will be able to load a .NET 4 set of assemblies when in the future we upgrade the App.exe to .net 4 or .net 5 etc…

我们目前正在利用应用User ModelIDs来调查这一问题,但这对我们来说是一个新领域。

任何想法? ......所有感激之情都得到赔偿。

最佳回答

ApplicationUserModel 身份证是我们最终使用的,简单的解决办法是真实的,运作良好。

问题回答

Squirrel。 视窗有一些关于如何执行的信息:https://github.com/Squirrel/Squirrelewor/pull/247

我没有发现C#的任何良好资源,发现的唯一样本是C/C++和Squirrel。 3个电话中只有1个在C#中执行。

C++ sample:
https://blogs.msdn.microsoft.com/oldnewthing/20110601-00/?p=10523/





相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签