|
-
Sep 8th, 2007, 04:24 PM
#1
Thread Starter
Addicted Member
[2005] Setup project Q
Hello
I am using vb2005 to make a setup project. My Q is:
How can I make a setup proj that automatically associates some file-types (such as mp3, wav, mpg, etc.) with my application?
Thank you
Last edited by javad2000; Sep 8th, 2007 at 08:10 PM.
-
Sep 8th, 2007, 08:20 PM
#2
Re: [2005] Setup project Q
Select your Setup project in the Solution Explorer and press the File Types Editor button.
-
Sep 8th, 2007, 11:09 PM
#3
Thread Starter
Addicted Member
Re: [2005] Setup project Q
Thank you jmc
I found it.
-
Sep 9th, 2007, 08:33 AM
#4
Thread Starter
Addicted Member
Re: [2005] Setup project Q
Hello
I have another Q for now:
What if I want to let the user choose wether or not to associate the file-types with my app?
and also:
What if I want to let him choose the file-types that will be associated with my app?
Is it an easy technic or too complicated for a beginner?
Thank you
-
Sep 9th, 2007, 08:45 AM
#5
Re: [2005] Setup project Q
I've never tried so I'm not sure. VS Setup projects provide some options but they are not super-flexible. The file associations you create in the editor may have a condition you can set on them, otherwise you'd have to use a custom action. That way you can offer any options you like, but you'd also have to edit the registry yourself to create the associations. That's not such a big deal though.
-
Sep 18th, 2007, 10:58 PM
#6
Thread Starter
Addicted Member
Re: [2005] Setup project Q
Hello and Thanx again
I have another Q now:
VB setup projects have this condition by default:
.net framework must be installed on the system!
Now, I want to add this condition also:
Real Player must be installed on the system.
How is it possible?
Merci
-
Sep 18th, 2007, 11:24 PM
#7
Re: [2005] Setup project Q
Add a Launch Condition to your Setup project. Go to the MSDN library and read about Launch Conditions, and setup projects in general too.
-
Sep 20th, 2007, 06:05 AM
#8
Thread Starter
Addicted Member
Re: [2005] Setup project Q
 Originally Posted by jmcilhinney
Add a Launch Condition to your Setup project. Go to the MSDN library and read about Launch Conditions, and setup projects in general too.
Hello and Thank you
I had done this before, and retried it again. Read the MSDN instructions for Launch Conditions, but couldn't find anything about:
Setting a program (such as RealPlayer) as a prerequisite.
Is it possible at all or not?
-
Sep 20th, 2007, 09:04 AM
#9
Re: [2005] Setup project Q
Of course it's possible. There's not going to be any predefined Launch Condition that says RealPlayer must be installed. You can add a Launch Condition for a file or a registry entry, amongst other things. Find a file or registry entry that indicates that RealPlayer is installed and that's it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|