#define MyAppName "CSV-OpenText" #define MyAppVerName "CSV-OpenText 1.0" #define MyAppPublisher "Brent Muir" #define MyAppURL "http://www.brentmuir.com/" [Setup] ; NOTE: The value of AppId uniquely identifies this application. ; Do not use the same AppId value in installers for other applications. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) AppId={{14CA6BE5-A3DA-478F-B100-2331A9B1D252} AppName={#MyAppName} AppVerName={#MyAppVerName} AppPublisher={#MyAppPublisher} AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} AppUpdatesURL={#MyAppURL} DefaultDirName={pf}\{#MyAppName} DisableDirPage=true DefaultGroupName={#MyAppName} DisableProgramGroupPage=true OutputBaseFilename={#MyAppName}-Setup OutputDir=. Compression=lzma SolidCompression=true ;WizardImageFile=compiler:wizmodernimage-is.bmp ;WizardImageFile=compiler:WizardImages\Modern\SetupModern24.bmp WizardImageStretch=false WizardImageFile=Context-Menu3.bmp ;WizardSmallImageFile=compiler:wizmodernsmallimage-is.bmp WizardSmallImageFile=compiler:WizardImages\Modern\Small\SetupModernSmall25.bmp DisableReadyPage=false PrivilegesRequired=poweruser InfoBeforeFile=Readme.rtf ShowLanguageDialog=no VersionInfoVersion=1.0.0.0 [Files] Source: CSV-OpenText.vbs; DestDir: {app}; Flags: ignoreversion [Registry] Root: HKCR; Subkey: Excel.CSV\shell\OpenText; ValueType: string; ValueData: Open (all columns as text); Flags: uninsdeletekey Root: HKCR; Subkey: Excel.CSV\shell\OpenText\command; ValueType: string; ValueData: "wscript ""{app}\CSV-OpenText.vbs"" ""%1"""; Flags: uninsdeletekey [Messages] WelcomeLabel2=This will install [name/ver] on your computer. FinishedLabelNoIcons=Setup has finished installing [name] on your computer.%n%nYou may now right-click on a .CSV file and select "Open (all columns as text)".