Creating RUN key in registry

Having trouble running Advanced Installer? Got a bug to report? Post it all here.

Creating RUN key in registry

Postby Logicwrath » Thu Dec 17, 2009 4:19 pm

I do not understand why I am having so much trouble with such a simple task. All I want to do is create a new string entry in the Run section of the registry pointing to a single .exe file. In Advanced Installer I click on "Registry" and then expand "HKEY_LOCAL_MACHINE\Software". From there I create new keys Microsoft, then Windows, Then Current Version, then Run. I highlight the Run key and choose New Value and assign it [#filename]. The key is never created.

When I chose Run and Log I get the following output around the time it's trying to create the key:

Code: Select all
Action 10:05:45: ProcessComponents. Updating component registration
MSI (s) (B0:8C) [10:05:45:545]: Executing op: ProgressTotal(Total=2,Type=1,ByteEquivalent=24000)
MSI (s) (B0:8C) [10:05:45:570]: Executing op: ComponentRegister(ComponentId={40755EE8-E64F-4923-BD05-D80A58AC7940},KeyPath=02:\Software\Microsoft\Windows\Current Version\Run\vTray,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
1: {7B29B122-858B-4F61-801A-F196C449D42E} 2: {40755EE8-E64F-4923-BD05-D80A58AC7940} 3: 02:\Software\Microsoft\Windows\Current Version\Run\vTray
MSI (s) (B0:8C) [10:05:45:630]: Executing op: ComponentRegister(ComponentId={0CFEAE2A-A926-446C-B48B-74A3D35BD79A},KeyPath=C:\Program Files (x86)\Vistitude Computer Solutions, Inc\Trinity vTray\vTray.exe,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
1: {7B29B122-858B-4F61-801A-F196C449D42E} 2: {0CFEAE2A-A926-446C-B48B-74A3D35BD79A} 3: C:\Program Files (x86)\Vistitude Computer Solutions, Inc\Trinity vTray\vTray.exe
MSI (s) (B0:8C) [10:05:45:712]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\Vistitude Computer Solutions, Inc\Trinity vTray\vTray.exe' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).
MSI (s) (B0:8C) [10:05:45:744]: Executing op: ActionStart(Name=RemoveODBC,Description=Removing ODBC components,)


From the above block I noticed this:

Code: Select all
MSI (s) (B0:8C) [10:05:45:712]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\Vistitude Computer Solutions, Inc\Trinity vTray\vTray.exe' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).


This is all pretty frustrating for what seems like such a trivial task. I am running Windows 7 x64.

I also wanted to add that this key is not making it to the HK_LM\Software\Wow6432Node\Microsoft\Windows\Current Version\Run key either.
Logicwrath
 
Posts: 2
Joined: Thu Dec 17, 2009 4:10 pm

Re: Creating RUN key in registry

Postby Logicwrath » Thu Dec 17, 2009 4:36 pm

I found my problem. There is no space in Current Version. It is CurrentVersion. Oops.
Logicwrath
 
Posts: 2
Joined: Thu Dec 17, 2009 4:10 pm


Return to Common Problems

Who is online

Users browsing this forum: Bing [Bot], Eusebiu, Google [Bot], Nicolae and 6 guests