|
|
#1 |
|
Member
Join Date: May 2008
Location: Ukraine
Posts: 64
|
Hello everyone!
It happened so that I start my posts from the question "Is it possible or not?" to solve my problem. As well as now actually. I have a simple media player and I want to associate media file types with it. I found VLC player installer script here and without further ado have placed some parts to my one. Unfortunately, my player becomes default for those file types only for which previously there wasn't defined any player or application. This means that if e.g. avi file was previously player with WMP by default after installing my player and associating avi with it WMP remains default program for this file type. But if I try to open avi file via context menu and "Open with ..." there my player is first in the list. Unfortunately, this doesn't help much. As I noticed during the installation of VLC the same problems occurs. So main question here: is it possible at all to associate application and file types via installer? P.S. To prevent possible suggestions of "try to ... " need to say that I'm known and already tried "RequestExecutionLevel admin", "UserInfo plug-in", "UAC plug-in" "run as administrator" with no luck or without confidence that problem is in admin privileges. Thank you for attention, reading and possible help. |
|
|
|
|
|
#2 |
|
Member
Join Date: May 2008
Location: Ukraine
Posts: 64
|
Ok, I hope absence of answers doesn't mean my problem is unsolvable, but those who know salvation haven't seen this post yet
Probably anybody knows how to change: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.avi\UserChoice] "Progid"="WMP11.AssocFile.AVI" with, e.g. "Progid1"="WMP11.AssocFile.AVI" i.e. simply change "Progid" with "Progid1" I was unable to do this under administrator account. |
|
|
|
|
|
#5 | |
|
Major Dude
Join Date: May 2003
Posts: 676
|
AFAIR you need to go back to user level if you want to set at user level - see:
Quote:
Greets, Brummelchen |
|
|
|
|
|
|
#6 | |
|
Member
Join Date: May 2008
Location: Ukraine
Posts: 64
|
Quote:
|
|
|
|
|
|
|
#7 | |
|
Major Dude
Join Date: May 2003
Posts: 676
|
do it like vlc did
Quote:
|
|
|
|
|
|
|
#8 |
|
Member
Join Date: May 2008
Location: Ukraine
Posts: 64
|
|
|
|
|
|
|
#9 | |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,775
|
Quote:
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
|
#10 |
|
Major Dude
Join Date: May 2003
Posts: 676
|
na, dont bother me with your dullness, i tried to help
first - did you install vlc with your script or with the official setup? i guess your script is outdated and buggy wether i've seen it or not. second - you cant fix it your way - not possible third - you need to reconnect WMP to all its files then you need to clear up that vlc crap connections fourth - delete this tree HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts you will loose some connections - just reconnect later reinstall vlc with official setup you can do that in sandboxie to grab the knowledge behind how it works. sandboxie forum offers tools for that otherwise install it normally much faster to repair something you dont get ATM HTH |
|
|
|
|
|
#11 | |||||
|
Member
Join Date: May 2008
Location: Ukraine
Posts: 64
|
Thank you, Anders. Will read more carefully.
Brummelchen, words "don't reply" were not directed personally to you, so please don't be rude. Quote:
Quote:
I'm beginning to think so to, too sad Quote:
Quote:
Quote:
No comments Not really, since unfortunately your post is not connected with my NSIS problem. Anyway, thank you Brummelchen for your time and attention. |
|||||
|
|
|
|
|
#12 |
|
Member
Join Date: May 2008
Location: Ukraine
Posts: 64
|
Anders, thank you very much for the link which helped me to understand more deep file association in the Windows 7 (and Vista)
Brummelchen, you were right regarding the code: my problem was exactly in the registry key, so thank you for pointing me there. At the moment I'm writing and testing clear version if installer, so when I finish I'll explain were I was wrong. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|