Making the "Uninstall" command do the right thing for a Windows 8 application - windows-8

In the Windows 8 Start screen, I noticed that there is an Uninstall icon that appears at the bottom if you right-click on an app. For the apps that I developed, if I click on the Uninstall icon, it opens the "Programs and Features" dialog. Ideally it should instead directly launch my uninstaller. Does anyone know how to do that? Is there some registry key I need to set to associate Start Menu shortcuts with uninstallers?
I use various technologies to make my apps (e.g. Qt, C#, Visual Studio setup projects, NSIS). On Windows 7 and below, my installers put shortcuts in the Start Menu. On Windows 8, those shortcuts are displayed as a little square in the Start screen. So that shortcut is the object I am right-clicking on. Is there some way to add uninstall data to the shortcut file itself?

Tiles for desktop applications do not automatically uninstall like tiles for store applications. Choosing 'Uninstall' for a desktop applications tile launches the Add / Remove programs experience as you pointed out. This is by design.

Related

VB.NET server not "launchable" after computer reboot

I'm trying to learn how to code a server in VB.Net. I'm coding on Visual Studio.
My server works, my clients interact with it.
The thing is that if I reboot my computer, I have to make a new projet and copy/paste my code in order for my server to work.
If I don't do this my clients don't see my server.
I have no idea of why. If anyone have an idea I'll be very thankful.
Simon
Find your exe file in your project folders and create a windows shortcut to it
On Windows 7 and earlier versions of Windows, the Start menu contained a “Startup” folder to make this easy. On these versions of Windows, you can simply open your Start menu, locate a shortcut to an application you want to start automatically, right-click it, and select Copy. Next, locate the Startup folder under All Apps in the Start menu, right-click it, and select Paste to paste a copy of that shortcut.
From this site:
This folder is no longer as easily accessible on Windows 8, 8.1, and 10, but it’s still accessible. To access it, press Windows Key + R, type “shell:startup” into the Run dialog, and press Enter. Yes, you’ll need to use the folder — you can’t simply add shortcuts from the Task Manager’s Startup pane.
Shortcuts you add to the “shell:startup” folder will only launch when you log in with your user account. If you’d like a shortcut to launch itself whenever any user logs in, type “shell:common startup” into the Run dialog instead.

How to Customize Windows Explorer Toolbar

I am trying to customize (add my own menus to the) Windows Explorer toolbar. From web I came to know that it is possible to that by editing the registry. So I changed the owner of
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{5c4f28b5-f869-4e84-8e60-f11db97c5cc7}\TasksItemsSelected\]
and set permissions as full control to me. Adding keys to the above registry didn’t work for me in windows 7 and 8 as well.
I installed the tools “ CustomExplorerToolbar.exe" and “ExplorerToolbarEditor.exe” that worked in windows 7 but not in windows 8. Also using that tool I can only add existing menus but not create new one.
So I did the technique as described below,
I created a shell in commandstore.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\command1]
And called that in,
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{5c4f28b5-f869-4e84-8e60-f11db97c5cc7}\TasksItemsSelected\]
#=”command1”
The above method worked for me in windows 7, But it is not working in windows 8. Is there any method to implement that?
Thanks in advance.

wpf project to pixelsense application

I'm trying to write a Microsoft surface application for Samsung sur40 pixelsense machine. I have found some sample projects online and run them on the MS Visual C# 2010, but I want to convert these projects into applications so that I can put them into Samsung sur40 and run them in its surface mode. Do you know how I can actually achieve this?
In order to write these type of applications, I am using the following OS, programs and tools.
Embedded Windows 7 Professional 64-bit
Microsoft Visual C# 2010 Express Edition
.NET Framework 4.0
Windows Presentation Foundation (WPF) 4.0
Microsoft XNA® Framework 4.0
Windows PowerShell and DMTF DASH support, and enhanced administrator tools
MS Surface 2.0 SDK(an Input Simulator allows me to develop and test projects on Windows 7 PCs)
Everything is working properly and I can test the sample projects on my PC. I just want to make a Visual Studio project to run in the Samsung sur40 machine. Please help me if it is possible? If you need further explanations to answer my question, please let me know and I try to expand the problem. Thank you in advance.
Menual install !
you can't see the folder "c:\ProgramData"
because the folder's option hide~
so..
C:\ProgramData\Microsoft\Surface\v2.0\Programs --> copy and paste!! and find!!
you create a shortcut of the ApplicationName.XML in your project for MS Surface applicaion
copy shortcut file and paste --> "C:\ProgramData\Microsoft\Surface\v2.0\Programs"
and following this steps :
In Windows mode, click Start, click All Programs, click Microsoft Surface 2.0, and then click Surface Configuration Editor
In the left pane, click Application Launcher.
In the Application Launcher pane, in the Launcher title box, type the title text you want to appear above Launcher.
The title text will be placed just above the Launcher menu and is left-justified. You cannot change the font, font size, font color, justification, or location of the text.
Click OK to save your setting and close Surface Configuration Editor, or click Apply to save your setting and continue configuring Surface. Restart Surface Shell for your settings to take effect.
click : http://technet.microsoft.com/en-us/library/gg680380.aspx

Which shortcuts create for deployment of the non-metro applications on Windows 8?

If you make deployment of your non-metro (old style) application you have basically two options:
put the shortcut to the main executable file in the start menu
(default and recommended by the guidelines for the Windows Logo)
put the shortcut to the main executable file on the desktop (optional).
There is no start menu in the Windows 8 RTM. How do I create a program's shortcut for the non-metro applications in the Windows 8?
For non-Store apps, if you specify the Start menu for an icon, it is added to the new Windows 8 Start Page. If you specify an app for the desktop, it will be added to the desktop.

Desktop shortcut doesn't show up in the Windows 8 Metro UI

I've installed a few of our applications on Windows 8 and I could confirm the shortcut in the Metro UI was created in here:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs
The problem is:
When I installed the applications in Audit mode, the shortcuts (the tile) in the Metro UI didn't show up for all the users created in the OOBE mode.
However, when I installed the applications in OOBE mode, the shortcuts always show up.
Does anyone know why?