/build/static/layout/Breadcrumb_cap_w.png

Adding registry entry when installing software

I would like to add a registry entry when installing an MSI. My last company had that built into the WISE server so when I compiled ther MSI it was part of the template. It had the following

HKLM\Software\{Comapny Name}\Software

Within that, using my favorite example of Visio, it created a Visio key, then added the following under Visio 

  • Date installed
  • who installed it
  • location of MSI (either UNC name or drive leter)

At my new company they don't have that but would like that. If anyone can assist it would be most appreciated and thanks in advance...


0 Comments   [ + ] Show comments

Answers (3)

Posted by: ekgcorp 10 years ago
10th Degree Black Belt
0

Get the keys setup like you want on a pc, then export them and add them to a Template as suggested above.

Then just replace name of software from your export to [ProductName] and it will place the name of that product in registry. Who installed it value could be grabbed my [USERNAME]

To make is simpler for ya, just save the following as a .reg file, then import it into your template.

 

REGEDIT4

 

[HKEY_LOCAL_MACHINE\SOFTWARE\[ProductName]]

@="[ProductName]"

"InstalledSource"="[SourceDir]"

"Time"="[Date] [Time]"

"UserName"="[USERNAME]"

 

 

 

hope this helps.. :-)

Posted by: rvprasad 10 years ago
Brown Belt
0

 

If you are using Wise packaging studio, you can navigate to Install Expert-->Registry tab.

There you right click on HKLM and add key as you wish.

Posted by: anonymous_9363 10 years ago
Red Belt
0

WPS can use templates for exactly this purpose. Hit F1 and search for 'template'. It's trivially simple.

 
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