Application not listed in "uninstall a program" in control panel

Answered

Comments

3 comments

  • Avatar
    wojciechka

    This is controlled by the <createWindowsARPEntry> setting in the project and is enabled by default.

    Perhaps the project you are creating has it disabled and this is the reason for not creating it. Please check if the setting exists, and add if it is not in the XML - for example:

    <project> ... <createWindowsARPEntry>1</createWindowsARPEntry> </project>

    If this happens with the setting enabled, please send a full project XML and platform information to bitrock.com">support@bitrock.com in order to investigate the issue further.

  • Avatar
    Ramya

    The value for <requestedexecutionlevel> should be "highestAvailable" rather than "asInvoker".

  • Avatar
    wojciechka

    In order to register the non-elevated installation on Windows in HKEY_CURRENT_USER, the following can be used:

    <project> <createWindowsARPEntry>0</createWindowsARPEntry> <installationScope>user</installationScope> <postInstallationActionList> <actionGroup> <actionList> <registrySet> <key>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\${project.vendor} ${project.fullName} ${project.version}</key> <name>DisplayName</name> <type>REG_SZ</type> <value>${project.fullName}</value> </registrySet> <registrySet> <key>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\${project.vendor} ${project.fullName} ${project.version}</key> <name>DisplayVersion</name> <type>REG_SZ</type> <value>${project.version}</value> </registrySet> <registrySet> <key>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\${project.vendor} ${project.fullName} ${project.version}</key> <name>Publisher</name> <type>REG_SZ</type> <value>${project.vendor}</value> </registrySet> <registrySet> <key>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\${project.vendor} ${project.fullName} ${project.version}</key> <name>UninstallString</name> <type>REG_SZ</type> <value>${installdir}\uninstall.exe</value> </registrySet> <registrySet> <key>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\${project.vendor} ${project.fullName} ${project.version}</key> <name>NoModify</name> <type>REG_DWORD</type> <value>1</value> </registrySet> <registrySet> <key>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\${project.vendor} ${project.fullName} ${project.version}</key> <name>NoRepair</name> <type>REG_DWORD</type> <value>1</value> </registrySet> </actionList> </actionGroup> </postInstallationActionList> <postUninstallationActionList> <actionGroup> <actionList> <registryDelete> <key>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\${project.vendor} ${project.fullName} ${project.version}</key> <name></name> </registryDelete> </actionList> </actionGroup> </postUninstallationActionList> ... </project>

    It creates and removes records that will cause the program to show up in list of installed applications.

Please sign in to leave a comment.