Got a really simple program I built for our centers, and I wrote this
simple Inno script (at bottom of this email) to install it. Works great
EXCEPT WHEN THE USER USES THE INSTALLATION FOLDER BUTTON ON THE FOLDER
SELECTION SCREEN. The default is c:\symplcty, but if the user clicks the
folder icon to select the folder via the GUI, it returns with a value of
c:\symplcty\symplcty.
Ideas on how I can fix this?
[Files]
Source: C:\dev\emailextract\emailextract.exe; DestDir: {app}
Source: C:\dev\emailextract\emailextract2009.html; DestDir: {app}
Source: C:\dev\emailextract\emailextract2009.pdf; DestDir: {app}
[Setup]
AppName=Symplicity Email Extract 2009
DefaultDirName=c:\symplcty
AppCopyright=© Sylvan Learning, 2009
AppVerName=Symplicity Email Extract 2009 version 1.0.86
OutputDir=C:\Documents and Settings\mbabcock\My Documents\My
Setups\emailextract\Output
OutputBaseFilename=emailextract_setup
VersionInfoVersion=1.0.86
VersionInfoCompany=Sylvan Learning, Inc.
VersionInfoDescription=Email extraction utility for Symplicity (2009)
VersionInfoTextVersion=1.0.86
VersionInfoCopyright=2009, Sylvan Learning
PrivilegesRequired=none
AllowRootDirectory=true
DefaultGroupName=Sylvan
ShowLanguageDialog=no
SetupIconFile=C:\dev\EmailExtract\graphics\email.ico
AppID={{8DAAC98E-BD16-44A4-AA79-71C7FDB06C2B}
Uninstallable=true
[Run]
Filename: {app}\emailextract.exe; Description:
{cm:LaunchProgram,EmailExtract}; Flags: nowait postinstall skipifsilent
[CustomMessages]
Symp=YOU MUST INSTALL THIS INTO YOUR SYMPLICITY FOLDER!
[Messages]
WelcomeLabel2=This will install [name/ver] on your computer.%n%nINSTALL
THIS IN THE SAME FOLDER AS SYMPLICITY SO THAT IT USES YOUR
SETTINGS.%n%n*** You must be using Symplicity version 3.9 as a minimum.
***%n
[Icons]
Name: {group}\Symplicity Email Extract 2009; Filename:
{app}\emailextract.exe; WorkingDir: {app}; IconFilename:
{app}\emailextract.exe; IconIndex: 0; Flags: runmaximized
Name: {group}\{cm:UninstallProgram,Symplicity Email Extract 2009};
Filename: {uninstallexe}; WorkingDir: {app}; IconFilename:
{app}\emailextract.exe; IconIndex: 0; Flags: runmaximized
Name: {userdesktop}\Symplicity Email Extract 2009; Filename:
{app}\emailextract.exe; WorkingDir: {app}; IconFilename:
{app}\emailextract.exe; IconIndex: 0; Flags: runmaximized
tia!
--Mike
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.