I want to set the windows registry and ARP in user-scope.(only user) thus I set the "installationScope" variable to 'user'.

Then, if the user is in 'administrators group', ARP created with system scope. Can I control ARP scope? (user/system)

Please advice me. Thank you.


Platform : windows xp 32bit 2003 64bit

Installbuilder versin : 7.0.5

@USER Acoount : UserA @group : Administrators @Installer setting (installationScope): user ->[ After installation ]-> @Start menu shortcut : User scope @Environment variable : User scope @Windows ARP : System scope


@USER Acoount : UserB @group : Users @Installer setting (installationScope): user ->[ After installation ]-> @Start menu shortcut : User scope @Environment variable : User scope @Windows ARP : user scope

asked 18 Mar '12, 22:17

BlueCloud's gravatar image

BlueCloud
1445
accept rate: 0%


It is not currently possible to configure this behavior. InstallBuilder only registers the application in HKEY_LOCAL_MACHINE. We will add your suggestion to allow configuring it to our bug tracking system.

As a workaround, you can set <createWindowsARPEntry> to 0 and disable creating the ARP entries automatically. You can then create appropriate entries manually by doing:

<project>
  <!-- ... -->
  <postInstallationActionList>
    <registrySet>
      <key>HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\${project.vendor} ${project.fullName} ${project.version}</key>
      <name>${project.fullName}</name>
      <type>REG_SZ</type>
      <value>DisplayName</value>
    </registrySet>
    <registrySet>
      <key>HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\${project.vendor} ${project.fullName} ${project.version}</key>
      <name>${installdir}</name>
      <type>REG_SZ</type>
      <value>InstallLocation</value>
    </registrySet>
    <!-- other values for ARP -->
  </postInstallationActionList>
  <postUninstallerCreationActionList>
    <registryDelete>
      <key>HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\${project.vendor} ${project.fullName} ${project.version}</key>
      <name>DisplayName</name>
    </registryDelete>
    <registryDelete>
      <key>HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\${project.vendor} ${project.fullName} ${project.version}</key>
      <name>InstallLocation</name>
    </registryDelete>
    <!-- other values for ARP -->
  </postUninstallerCreationActionList>
  <createWindowsARPEntry>0</createWindowsARPEntry>
</project>
link

answered 19 Mar '12, 06:47

wojciechka's gravatar image

wojciechka ♦♦
7.8k61122
accept rate: 26%

Thank you.

can I use <project.windowsarpregistryprefix> variable??

ex) set <project.windowsarpregistryprefix> to 'empty'

link

answered 19 Mar '12, 07:05

BlueCloud's gravatar image

BlueCloud
1445
accept rate: 0%

To disable the ARP creation, you should use <createWindowsARPEntry as setting the ARP prefix to empty string may casue InstallBuilder to create key entries in other location.

(19 Mar '12, 07:44) wojciechka ♦♦

'createWindowsARPEntry' variable released with 7.2.2. (My version is 7.0.5) so, I can not use that variable. T_T.

Please help me.

(19 Mar '12, 20:42) BlueCloud
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:

×4

Asked: 18 Mar '12, 22:17

Seen: 1,527 times

Last updated: 19 Mar '12, 21:11