Reading the Install Directory from Registry Keys

This forum has been archived and is no longer active.

The new forum is located at:

https://sourceforge.net/apps/phpbb/installjammer/

You may continue to view and search the topics in this forum, but no new posts can be created.

Re: Reading the Install Directory from Registry Keys

Postby damon » Tue Nov 23, 2010 5:36 pm

Ahh, right. I forgot I added that. 0-]
To file an issue, please visit:

http://tracker.installjammer.com/
damon
Site Admin
 
Posts: 4404
Joined: Sat Sep 15, 2007 2:46 pm

Re: Reading the Install Directory from Registry Keys

Postby JohnnyMcFly » Mon Dec 13, 2010 9:49 pm

Yeah but another problem happened.

I made a simple mistake and right clicked on a DLL and selected 'Add to program folder' now it installs DLL files to the start menu. I cannot figure out how to get it to stop...So, how do I tell it to stop?
It would be great if there was a 'Don't Add to program folder'.
haha
Thanks
JohnnyMcFly
 
Posts: 17
Joined: Mon Nov 22, 2010 4:55 am

Re: Reading the Install Directory from Registry Keys

Postby JohnnyMcFly » Mon Dec 13, 2010 10:01 pm

haha Nevermind I just got it
KM
JohnnyMcFly
 
Posts: 17
Joined: Mon Nov 22, 2010 4:55 am

Re: Reading the Install Directory from Registry Keys

Postby damon » Tue Dec 14, 2010 11:04 am

Heh. The Add to Program Folder just creates a new action in the Install Actions group, as I'm sure you've found. Just delete the new action, and the shortcut goes away. 0-]
To file an issue, please visit:

http://tracker.installjammer.com/
damon
Site Admin
 
Posts: 4404
Joined: Sat Sep 15, 2007 2:46 pm

Re: Reading the Install Directory from Registry Keys

Postby wazer » Wed Aug 31, 2011 8:40 am

Hello im very new to jammer, but im quiet good and quick learner with development tools.

Im in the same position as the person who made this topic.

So here i ask where is the correct place to put this script in. i know i have to add "Execute script" to one of those places, so far i have tryed at select destination* and at startup actions. But both gives me errors.

my registry i want to read is this location.
Code: Select all
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1EAC1D02-C6AC-4FA6-9A44-96258C37C812}_is1]
"InstallLocation"="E:\\Games\\World_of_Tanks\\"


So i changed another admins post to this. Is this correct?.

Code: Select all
set key {HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1EAC1D02-C6AC-4FA6-9A44-96258C37C812}_is1}
set val "InstallLocation"
if {![catch {registry get $key $val} path]} {
    ::InstallAPI::SetVirtualText -virtualtext InstallDir -value $path/
}


Thanks for making this free tool for dudes like me :).

Regards wazer.
wazer
 
Posts: 1
Joined: Wed Aug 31, 2011 8:33 am

Previous

Return to Help

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron