File Associations w/ Inno Setup
File Associations w/ Inno Setup
File Associations w/ Inno Setup
File Associations w/ Inno Setup
File Associations w/ Inno Setup
File Associations w/ Inno Setup File Associations w/ Inno Setup File Associations w/ Inno Setup File Associations w/ Inno Setup File Associations w/ Inno Setup File Associations w/ Inno Setup File Associations w/ Inno Setup File Associations w/ Inno Setup
File Associations w/ Inno Setup File Associations w/ Inno Setup
File Associations w/ Inno Setup
Go Back  Xtreme Visual Basic Talk > > > File Associations w/ Inno Setup


Reply
 
Thread Tools Display Modes
  #1  
Old 04-30-2010, 04:17 PM
Xishem Xishem is offline
Freshman
 
Join Date: Nov 2009
Posts: 31
Default File Associations w/ Inno Setup


I'm creating a setup program for my application with Inno Setup, and everything has been going smoothly, except I can't seem to get file associations to work correctly from Inno.

Code:
[Registry]
Root: HKCR; Subkey: ".ord"; ValueType: string; ValueName: ""; ValueData: "OrdFile"; Flags: uninsdeletevalue
Root: HKCR; Subkey: "OrdFile"; ValueType: string; ValueName: ""; ValueData: "Order File"; Flags: uninsdeletekey
Root: HKCR; Subkey: "OrdFile\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\Special Orders Application.exe,1"
Root: HKCR; Subkey: "OrdFile\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\Special Orders Application.exe"" ""%1"""
That's my code under the registry header, and I have set "ChangesAssociations" to yes under the [Setup] header, but to no avail. I have the .ord files associated with notepad at the moment, and when I run the setup file, the program seems to install and run fine, but file associations are not changed.

Can anyone contribute any insight?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
File Associations w/ Inno Setup
File Associations w/ Inno Setup
File Associations w/ Inno Setup File Associations w/ Inno Setup
File Associations w/ Inno Setup
File Associations w/ Inno Setup
File Associations w/ Inno Setup File Associations w/ Inno Setup File Associations w/ Inno Setup File Associations w/ Inno Setup File Associations w/ Inno Setup File Associations w/ Inno Setup File Associations w/ Inno Setup
File Associations w/ Inno Setup
File Associations w/ Inno Setup
 
File Associations w/ Inno Setup
File Associations w/ Inno Setup
 
-->