I created an installer that installs my project to the user's home folder on Windows and Linux so that non-admin/non-root users can install the package. On windows, however, if a poweruser or user tries to install the package, installbuilder tries to invoke/update the Windows Installer. Is there a way to tell installbuilder not to update the Windows Installer?

Additional note: I set project.windowsSoftwareRegistryPrefix to empty. It stopped installbuilder from creating the registry entry for

HKEY_LOCAL_MACHINE\SOFTWARE\${project.vendor}\${product_fullname}

but it still created the entry for

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${project.windowsARPRegistryPrefix}

The User's Guide says, "Setting <installationtype> to normal and <createuninstaller> to 0 will avoid creating or updating any key." However, I want to create the uninstall.exe application, but not register the Uninstall entry in the registry. Is this possible?

asked 30 Jun '12, 21:45

tahoar's gravatar image

tahoar
201313236
accept rate: 42%


On windows, however, if a poweruser or user tries to install the package, installbuilder tries to invoke/update the Windows Installer. Is there a way to tell installbuilder not to update the Windows Installer?

Sorry, I'm not sure I understand the issue. Are you setting checkForUpdates=1? Could you provide us with more details about the issue?

To avoid creating the ARP keys you can set the below in your project:

<project>
    ...
    <createWindowsARPEntry>0</createWindowsARPEntry>
    ...
</project>
link

answered 02 Jul '12, 05:07

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

No, I'm not using checkForUpdates=1. This is for an initial installation. I want do disable all writes to the windows registry that require administrator rights because I want powerusers/users to be able to install my project to their home folder. I want installbuilder to create the uninstaller.exe program, but NOT add any entries to the HKEY_LOCAL_MACHINE registry tree (including entries for Add/Remove Programs). I set project.createWindowsARPEntry = 0 during runtime and it work. Thank you.

(03 Jul '12, 22:26) tahoar
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×176
×155

Asked: 30 Jun '12, 21:45

Seen: 1,034 times

Last updated: 03 Jul '12, 22:26