startmenu

Inno Setup - How to change the icon of the shortcut of uninstaller without separate icon file?

这一生的挚爱 提交于 2021-02-07 10:30:13
问题 Is it possible to change the icon of the uninstaller shortcut in the Start menu without storing a separate icon file (to the app folder)? I see this: Using Resource Hacker for changing the icon after the build, but I cannot implement it. My code: [Icons] Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe} 回答1: An icon of a Windows shell shortcut can be set by an external icon file (what you do not want) or by the file the shortcut points to. So you have to modify the

Inno Setup - How to change the icon of the shortcut of uninstaller without separate icon file?

℡╲_俬逩灬. 提交于 2021-02-07 10:29:59
问题 Is it possible to change the icon of the uninstaller shortcut in the Start menu without storing a separate icon file (to the app folder)? I see this: Using Resource Hacker for changing the icon after the build, but I cannot implement it. My code: [Icons] Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe} 回答1: An icon of a Windows shell shortcut can be set by an external icon file (what you do not want) or by the file the shortcut points to. So you have to modify the

How to create a shortcut in startmenu using setuptools windows installer

喜你入骨 提交于 2020-12-29 06:37:14
问题 I want to create a start menu or Desktop shortcut for my Python windows installer package. I am trying to follow https://docs.python.org/3.4/distutils/builtdist.html#the-postinstallation-script Here is my script; import sys from os.path import dirname, join, expanduser pyw_executable = sys.executable.replace('python.exe','pythonw.exe') script_file = join(dirname(pyw_executable), 'Scripts', 'tklsystem-script.py') w_dir = expanduser(join('~','lsf_files')) print(sys.argv) if sys.argv[1] == '

Inno Setup Start menu uninstall shortcut is not shown on Windows 10

让人想犯罪 __ 提交于 2019-12-30 09:51:35
问题 I've got an issue that seems to be specific to Windows 10 with the Start menu uninstall shortcut I create in my setup. The shortcut is simply not shown. However, others shortcuts I create are shown as well... Here is the value for DefaultGroupName : DefaultGroupName={#MyAppPublisher}\MyCompany\MySoftwareName Here are my entries for shortcuts in [Icons] section: [Icons] Name: "{group}\{#MyAppName} {#MyAppVersion}"; Filename: "{app}\MyExeName.exe"; WorkingDir: "{app}" Name: "{commondesktop}\{

Hide Windows start orb in python (3.2)

*爱你&永不变心* 提交于 2019-12-25 01:44:40
问题 I am creating a program that will replace the windows start menu in Python. I have managed to find a way to hide the taskbar as shown below but i can't find a way to hide the start orb(Windows button). import ctypes from ctypes import wintypes FindWindow = ctypes.windll.user32.FindWindowA FindWindow.restype = wintypes.HWND FindWindow.argtypes = [ wintypes.LPCSTR, #lpClassName wintypes.LPCSTR, #lpWindowName ] SetWindowPos = ctypes.windll.user32.SetWindowPos SetWindowPos.restype = wintypes.BOOL

Creating Windows 8 Start screen groups and tiles (not only for exes) with Inno Setup

左心房为你撑大大i 提交于 2019-12-24 03:08:14
问题 We are using Inno Setup to build installers for our ActiveX grid control. With the release of Win8, two new questions arose: Is it possible to create our own new group of tiles on the Start screen (with a specified name) to place our shortcuts/tiles to it using InnoSetup? Now, only the tiles for the exe's we install are created on the Start screen. Is it possible to add tiles for other file types - say, CHM help file or PDF documents - to this screen? 回答1: The named grouping under "All appa"

C++: How do I create a Shortcut in the Start Menu on Windows

∥☆過路亽.° 提交于 2019-12-22 09:48:19
问题 I would like to know how to obtain the path to the start menu folder on Windows and then create a shortcut to a path that might contain non-ASCII characters. 回答1: Here is the solution. It uses Qt but it's also possible without. Then just use std::wstring instead of QString . For concatenating the paths and filenames you will then have to use string operations instead of using QDir . #include <shlobj.h> bool createStartMenuEntry(QString targetPath) { targetPath = QDir::toNativeSeparators

Custom Windows 7 Start Menu Search Provider

不羁的心 提交于 2019-12-21 20:23:14
问题 I'd like to write custom providers for start menu searching, but I can't seem to find where to begin. Things I'd like to be able to do when I type in the search box on the start menu Type "thomas" and see "IM Thomas" (if a Pidgin/whatever-IM-client-with-API contact exists with the name match) Type "=1+2*3" and see "7", or "=2 gallons in ounces" and see "256" Anything else I can think up where I have a store of custom data results that could be launched from the start menu. This would be

Get path to all users' start menu on Windows

三世轮回 提交于 2019-12-12 03:17:48
问题 I am looking for a way to retrieve the path to the all users start menu directory in C++. I am only able to get the one of the current user (using Qt): QString startMenuPath = QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation).at(0); However, Qt does not allow to retrieve the one for all users. As far as I know there also is no environment variable containing that path, that I could read. 回答1: To get a known folder, use SHGetFolderPath, and pass a KNOWNFOLDERID or CSIDL

%SystemDrive%\ProgramData\Microsoft\Windows\Caches getting created when executing vb script

£可爱£侵袭症+ 提交于 2019-12-12 01:47:15
问题 I need to create some shortcuts in StartMenu Group on Windows 7 in this location C:\ProgramData\Microsoft\Windows\Start Menu\Programs. I first create shortcuts on the desktop and then copy them to the location C:\ProgramData\Microsoft\Windows\Start Menu\Programs\. The shortcuts work properly from here but strange thing I see is that a folder structure is created from where I run my program, after I execute my script, the folder structure looks like this %SystemDrive%\ProgramData\Microsoft