User Group re runtime solution installation questions

S

Steve

Does anyone know which user's group I should pose the following
question to?

How do I set a dword type of registry key when deploying a MS Access
2007 runtime based solution? At http://msdn.microsoft.com/en-us/library/bb501030.aspx
MS walks me through the wizard settings for creating a solution and
includes a section on creating additional registry keys. It shows
various fields for creating registry keys including a column for the
'Type' of registry key. However, when I run the package solution
there is no column for type, just for root, key, name and value.

(I am trying to set sandbox mode to 2, and add a Security key to
DisableHyperlinkWarning (=1) during installation)

Thanks,
Steve K.
 
A

Albert D. Kallal

You dont actualy "set" the type, it based on how you enter the data:

eg:

ROOT:Local Machine
Key: SOFTWARE\Microsoft\Jet\4.0\Engines
Name:SandBoxMode
Value:#00000002

ROOT:Local Machine
Key: Software\Microsoft\Office\11.0\Access\Security
Name:Level
Value:#00000001

Note how the "#" before the number represnets REG_DWORD

The data types are outlined here:

http://msdn2.microsoft.com/en-us/library/aa371168.aspx

we see:

Prefix #x
The value is interpreted and stored as a hexadecimal value
(REG_BINARY).

Prefix #%
The value is interpreted and stored as an expandable string
(REG_EXPAND_SZ).

Prefix #
The value is interpreted and stored as an integer (REG_DWORD)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top