cyclops
Posts: 2
Joined: Thu Mar 30, 2006 2:41 am

What's the matter with me? : Reg key input

[img]http://photos1.blogger.com/blogger/5823 ... /error.jpg
[/img]

Hi, I'm newbee in S.Korea.
I'm very happy working with this tool but i got some prob.

It's log is show by above pic.. what'w my prob and solution?
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi,

The problem is that you cannot create a key directly under HKEY_LOCAL_MACHINE or HKEY_USERS if you don't have administrator privileges.

This is why you get that error during the install process. Try to create it manually and you will see that you are not allowed.

Best regards,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com
cyclops
Posts: 2
Joined: Thu Mar 30, 2006 2:41 am

Thx but i can't fully understand.

How can i make manual?
How can i gain the admin property?

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DOCUMENT type="Advanced Installer" version="3.8.1" modules="freeware" RootPath="." Language="en">
  <COMPONENT cid="caphyon.advinst.msicomp.MsiPropsComponent">
    <ROW Property="ALLUSERS" Value="1"/>
    <ROW Property="ARPCOMMENTS" Value="This installer database contains the logic and data required to install CPK-2006." ValueLocId="*"/>
    <ROW Property="ARPCONTACT" Value="support@coupden.com"/>
    <ROW Property="ARPHELPLINK" Value="http://coupden.com"/>
    <ROW Property="ARPHELPTELEPHONE" Value="+82-02-3142-6191"/>
    <ROW Property="ARPNOMODIFY" Value="1"/>
    <ROW Property="ARPURLINFOABOUT" Value="http://coupden.com"/>
    <ROW Property="ARPURLUPDATEINFO" Value="http://coupden.com"/>
    <ROW Property="BannerBitmap" Value="default_banner.bmp"/>
    <ROW Property="DialogBitmap" Value="default_dialog.bmp"/>
    <ROW Property="LIMITUI" Value="1"/>
    <ROW Property="Manufacturer" Value="Coupden Co., Ltd" ValueLocId="*"/>
    <ROW Property="ProductCode" Value="1033:{8C4D9CA4-1814-40CD-9B1A-6CDB49257377} "/>
    <ROW Property="ProductLanguage" Value="1033"/>
    <ROW Property="ProductName" Value="Coupden" ValueLocId="*"/>
    <ROW Property="ProductVersion" Value="1.0.0"/>
    <ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND"/>
    <ROW Property="UpgradeCode" Value="{83865935-5B65-4CED-91C5-0C78C2BFBB1C}"/>
    <ROW Property="WindowsFamily9X" Value="Windows 9x/ME"/>
    <ROW Property="WindowsTypeNT" Value="Windows 2000"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiDirsComponent">
    <ROW Directory="APPDIR" Directory_Parent="TARGETDIR" DefaultDir="APPDIR" IsPseudoRoot="1"/>
    <ROW Directory="New_Folder_DIR" Directory_Parent="ProgramFilesFolder" DefaultDir="Coupden"/>
    <ROW Directory="ProgramFilesFolder" Directory_Parent="TARGETDIR" DefaultDir="Progra~1|ProgramFilesFolder" IsPseudoRoot="1"/>
    <ROW Directory="StartupFolder" Directory_Parent="TARGETDIR" DefaultDir="Startu~1|StartupFolder" IsPseudoRoot="1"/>
    <ROW Directory="TARGETDIR" DefaultDir="SourceDir"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiCompsComponent">
    <ROW Component="CPK2006REMAP.reg" ComponentId="{4F66CF17-C211-4B20-B845-EE0BDE967A76}" Directory_="New_Folder_DIR" Attributes="0" KeyPath="CPK2006REMAP.reg" FullKeyPath="ProgramFilesFolder\Coupden"/>
    <ROW Component="Control" ComponentId="{59B5FCB8-8F90-49E0-A373-3A89F47CDE10}" Directory_="APPDIR" Attributes="0" FullKeyPath="HK_LM\Control\*"/>
    <ROW Component="Keyboard_Layout" ComponentId="{09909F86-DACC-46CC-9B1A-867C3641D96B}" Directory_="APPDIR" Attributes="0" FullKeyPath="HK_LM\Control\Keyboard Layout"/>
    <ROW Component="Scancode_Map_1" ComponentId="{3C7FEA05-A2C3-45AA-8E0E-3739BF5EE921}" Directory_="APPDIR" Attributes="4" KeyPath="Scancode_Map_1" FullKeyPath="HK_LM\Keyboard Layout\Scancode Map"/>
    <ROW Component="coupden_test.exe" ComponentId="{62AEFFFA-A21C-4255-BE4D-514CAA406228}" Directory_="New_Folder_DIR" Attributes="0" KeyPath="coupden_test.exe" FullKeyPath="ProgramFilesFolder\Coupden\CPK2006.exe"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiFeatsComponent">
    <ROW Feature="MainFeature" Title="MainFeature" Description="Description" Display="1" Level="1" Directory_="APPDIR" Attributes="0" Components="coupden_test.exe Control Keyboard_Layout Scancode_Map_1 CPK2006REMAP.reg"/>
    <ATTRIBUTE name="CurrentFeature" value="MainFeature"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiFilesComponent">
    <ROW File="CPK2006REMAP.reg" Component_="CPK2006REMAP.reg" FileName="CPK200~1.reg|CPK2006REMAP.reg" Attributes="0" SourcePath="..\CPK2006REMAP.reg" SelfReg="false" Sequence="2"/>
    <ROW File="coupden_test.exe" Component_="coupden_test.exe" FileName="CPK2006.exe" Attributes="0" SourcePath="..\CPK2006.exe" SelfReg="false" Sequence="1"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.DictionaryComponent">
    <ROW Path="<ui.ail>"/>
    <ROW Path="<ui_en.ail>"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.FragmentComponent">
    <ROW Fragment="FolderDlg.aip" Path="<FolderDlg.aip>"/>
    <ROW Fragment="UI.aip" Path="<UI.aip>"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiBinaryComponent">
    <ROW Name="default_banner.bmp" SourcePath="<default-banner.bmp>"/>
    <ROW Name="default_dialog.bmp" SourcePath="<default-dialog.bmp>"/>
    <ROW Name="launcher.dll" SourcePath="<launcher.dll>"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiControlEventComponent">
    <ROW Dialog_="FolderDlg" Control_="Back" Event="NewDialog" Argument="WelcomeDlg" Condition="AI_INSTALL" Ordering="1"/>
    <ROW Dialog_="WelcomeDlg" Control_="Next" Event="NewDialog" Argument="FolderDlg" Condition="AI_INSTALL" Ordering="1"/>
    <ROW Dialog_="VerifyReadyDlg" Control_="Back" Event="NewDialog" Argument="FolderDlg" Condition="AI_INSTALL" Ordering="1"/>
    <ROW Dialog_="FolderDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_INSTALL" Ordering="3"/>
    <ROW Dialog_="MaintenanceTypeDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceWelcomeDlg" Condition="AI_MAINT" Ordering="1"/>
    <ROW Dialog_="MaintenanceWelcomeDlg" Control_="Next" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT" Ordering="2"/>
    <ROW Dialog_="VerifyReadyDlg" Control_="Back" Event="NewDialog" Argument="PatchWelcomeDlg" Condition="AI_PATCH" Ordering="1"/>
    <ROW Dialog_="PatchWelcomeDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_PATCH" Ordering="2"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiCustActComponent">
    <ROW Action="AI_DOWNGRADE" Type="19" Target="4010"/>
    <ROW Action="AI_PREPARE_UPGRADE" Type="1" Source="launcher.dll" Target="PrepareUpgrade"/>
    <ROW Action="AI_RESTORE_LOCATION" Type="1" Source="launcher.dll" Target="RestoreLocation"/>
    <ROW Action="AI_STORE_LOCATION" Type="51" Source="ARPINSTALLLOCATION" Target="[APPDIR]"/>
    <ROW Action="SET_APPDIR" Type="307" Source="APPDIR" Target="[ProgramFilesFolder][ProductName]"/>
    <ROW Action="SET_SHORTCUTDIR" Type="307" Source="SHORTCUTDIR" Target="[ProgramMenuFolder][ProductName]"/>
    <ROW Action="SET_TARGETDIR_TO_APPDIR" Type="51" Source="TARGETDIR" Target="[APPDIR]"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiInstExSeqComponent">
    <ROW Action="AI_DOWNGRADE" Condition="AI_NEWERPRODUCTFOUND AND (UILevel <> 5)" Sequence="210"/>
    <ROW Action="AI_RESTORE_LOCATION" Condition="APPDIR=""" Sequence="740"/>
    <ROW Action="AI_STORE_LOCATION" Condition="Not Installed" Sequence="1545"/>
    <ROW Action="AI_PREPARE_UPGRADE" Condition="AI_UPGRADE="No" AND (Not Installed)" Sequence="1300"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiInstallUISequenceComponent">
    <ROW Action="AI_RESTORE_LOCATION" Condition="APPDIR=""" Sequence="740"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiLaunchConditionsComponent">
    <ROW Condition="Version9X OR  (VersionNT >= 500 )" Description="[ProductName] can not be installed on systems earlier than [WindowsTypeNT]"/>
    <ROW Condition="VersionNT" Description="[ProductName] can not be installed on [WindowsFamily9X]"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiMediaComponent">
    <ATTRIBUTE name="Compress" value="1"/>
    <ATTRIBUTE name="FirstMediaSize" value="0"/>
    <ATTRIBUTE name="FirstMediaSizeUnit" value="0"/>
    <ATTRIBUTE name="InstallationType" value="0"/>
    <ATTRIBUTE name="MediaSize" value="0"/>
    <ATTRIBUTE name="MediaSizeUnit" value="0"/>
    <ATTRIBUTE name="Package" value="1"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiRegsComponent">
    <ROW Registry="Scancode_Map_1" Root="2" Key="Keyboard Layout" Name="Scancode Map" Value="#x[#CPK2006REMAP.reg]0000000000000000050000001d003a001de05de053e01de05ce0460000000000" Component_="Scancode_Map_1"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiShortsComponent">
    <ROW Shortcut="Shortcut_to_CPK2006" Directory_="StartupFolder" Name="Shortc~1|Shortcut to CPK2006" Component_="coupden_test.exe" Target="[#coupden_test.exe]" Hotkey="0" IconIndex="0" ShowCmd="7" WkDir="New_Folder_DIR"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiUpgradeComponent">
    <ROW UpgradeCode="UpgradeCode" VersionMax="ProductVersion" Attributes="1025"/>
    <ROW UpgradeCode="UpgradeCode" VersionMin="ProductVersion" Attributes="2"/>
  </COMPONENT>
</DOCUMENT>

ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi,

What I meant was that even if you try to create that key from the Windows registry editor you would still not be allowed if you don't have administrator privileges. There is no manual workaround.

However you are allowed to add keys under subkeys of HKEY_LOCAL_MACHINE or HKEY_USERS. You could create you key there.

Sorry for any misunderstanding.

All the best,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”