/build/static/layout/Breadcrumb_cap_w.png

Insert Registrykey

Hi all,

i want to include a Registrykey in a silent mod have
anybody a idea how can i do this.

thx
xemot

0 Comments   [ + ] Show comments

Answers (9)

Posted by: xemot 19 years ago
Senior Yellow Belt
0
when i click a .reg file twice then the PC want 2 entry's from me.
I want to make a script what includes .reg files in the registry
without user action.
Posted by: cdupuis 19 years ago
Third Degree Green Belt
0
Add the .reg file to your MSI, have the MSI copy the file to (for example) c:\reg.

Create a custom action that launches a .bat file calling the .reg file with the /S switch for silent mode.

batch file:

c:\reg\entry.reg /s

when the batch file runs it will add the reg keys. There are other ways of doing this, but this is by far the easiest (but not the cleanest).
Posted by: xemot 19 years ago
Senior Yellow Belt
0
i have start the reg file with /s over a batch file and i get also the message
"Are you sure you want to add ..." and " ...successful entered..."
What can i also do?
Posted by: fetgor 19 years ago
Senior Purple Belt
0
If i were you I should implement the keys in the msi package instead of having them in a reg file, cause they will still be installed on the client during an uninstallation, if not adding another custom action to run during uninstallation, so why not insert them in the msi package?
Posted by: FunnyName 19 years ago
Senior Yellow Belt
0
The correct syntax for the command-line is:

Regedit /i/s %regfile%

Isn't it easier to import the key in to the MSI file?
Posted by: cdupuis 19 years ago
Third Degree Green Belt
0
Yes and no, it depends on your experience with MSI. If you understand how to use tools for editing the MSI or creating a transform file, then it is easy. I do, I don't assume everyone else does, so when someone asks how, I was just trying to give other options.
Posted by: FunnyName 19 years ago
Senior Yellow Belt
0
Yes and no, it depends on your experience with MSI. If you understand how to use tools for editing the MSI or creating a transform file, then it is easy. I do, I don't assume everyone else does, so when someone asks how, I was just trying to give other options.

My answer (and question) was not in response to your comment, but more to the topic starter. I assume that if anyone posts on this forum, he/she has basic knowledge concerning MSI manipulation, hence the response ..
Posted by: cdupuis 19 years ago
Third Degree Green Belt
0
There are the odd newbies who are just starting out, I remember when I was starting out, I found so much information and resources on this topic that it was information overload. Dumbing it down sometimes helps them take in the info better.
Posted by: craig16229 19 years ago
Third Degree Brown Belt
0
xemot,

Can you give us some details on what you need to accomplish?

If it is a matter of making a registry change on a group of machines, doing it through a login script is an efficient way to get it done.

If it is a matter of including a registry key in a package or a silent install, then we definitely need more info in order to make recommendations.

Craig --<>.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ