Results 1 to 15 of 15

Thread: I need help with Inno

  1. #1

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    I need help with Inno

    Here is my iss file.

    ; Script generated by the Inno Setup Script Wizard.
    ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

    [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={{0D1C056E-4224-472B-A838-87658831B805}
    AppName=Private Message Viewer
    AppVerName=Private Message Viewer 1.3
    AppPublisher=MartinLiss
    DefaultDirName={pf}\Private Message Viewer
    DefaultGroupName=Private Message Viewer
    OutputBaseFilename=setup
    Compression=lzma
    SolidCompression=yes
    ArchitecturesInstallIn64BitMode=x64 ia64
    [Languages]
    Name: "english"; MessagesFile: "compiler:Default.isl"
    Name: "basque"; MessagesFile: "compiler:Languages\Basque.isl"
    Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
    Name: "catalan"; MessagesFile: "compiler:Languages\Catalan.isl"
    Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl"
    Name: "danish"; MessagesFile: "compiler:Languages\Danish.isl"
    Name: "dutch"; MessagesFile: "compiler:Languages\Dutch.isl"
    Name: "finnish"; MessagesFile: "compiler:Languages\Finnish.isl"
    Name: "french"; MessagesFile: "compiler:Languages\French.isl"
    Name: "german"; MessagesFile: "compiler:Languages\German.isl"
    Name: "hebrew"; MessagesFile: "compiler:Languages\Hebrew.isl"
    Name: "hungarian"; MessagesFile: "compiler:Languages\Hungarian.isl"
    Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl"
    Name: "japanese"; MessagesFile: "compiler:Languages\Japanese.isl"
    Name: "norwegian"; MessagesFile: "compiler:Languages\Norwegian.isl"
    Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl"
    Name: "portuguese"; MessagesFile: "compiler:Languages\Portuguese.isl"
    Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
    Name: "slovak"; MessagesFile: "compiler:Languages\Slovak.isl"
    Name: "slovenian"; MessagesFile: "compiler:Languages\Slovenian.isl"
    Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"

    [Tasks]
    Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
    Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1

    [Files]
    Source: "C:\Private Message Viewer\Private Message Viewer.exe"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Private Message Viewer\Data\vbkeywords.txt"; DestDir: "{app}\Data"; Flags: ignoreversion
    Source: "C:\Private Message Viewer\Data\vbnewkeywords.txt"; DestDir: "{app}\Data"; Flags: ignoreversion
    ; NOTE: Don't use "Flags: ignoreversion" on any shared system files

    [Icons]
    Name: "{group}\Private Message Viewer"; Filename: "{app}\Private Message Viewer.exe"
    Name: "{group}\{cm:UninstallProgram,Private Message Viewer}"; Filename: "{uninstallexe}"
    Name: "{commondesktop}\Private Message Viewer"; Filename: "{app}\Private Message Viewer.exe"; Tasks: desktopicon
    Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Private Message Viewer"; Filename: "{app}\Private Message Viewer.exe"; Tasks: quicklaunchicon

    [Run]
    Filename: "{app}\Private Message Viewer.exe"; Description: "{cm:LaunchProgram,Private Message Viewer}"; Flags: nowait postinstall skipifsilent


    and here is a Setup.lst created by the P&D Wizard.

    [Bootstrap]
    SetupTitle=Install
    SetupText=Copying Files, please stand by.
    CabFile=Private Message Viewer.CAB
    Spawn=Setup1.exe
    Uninstal=st6unst.exe
    TmpDir=msftqws.pdw
    Cabs=1

    [Bootstrap Files]
    [email protected],$(WinSysPathSysFile),,,6/18/98 1:00:00 AM,102912,6.0.81.69
    [email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 1:00:00 AM,22288,4.71.1460.1
    [email protected],$(WinSysPathSysFile),$(TLBRegister),,4/13/08 8:42:06 AM,16896,5.1.2600.5512
    [email protected],$(WinSysPathSysFile),,,3/5/10 7:37:40 AM,65536,5.1.2600.5949
    [email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,4/13/08 5:12:02 PM,84992,5.1.2600.5512
    [email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,4/13/08 5:12:02 PM,551936,5.1.2600.5512
    [email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,4/13/08 5:12:00 PM,1384479,6.0.98.2

    [Setup]
    Title=Private Message Viewer V1.3
    DefaultDir=$(ProgramFiles)\Private Message Viewer
    AppExe=Private Message Viewer.exe
    AppToUninstall=Private Message Viewer.exe

    [Setup1 Files]
    [email protected],$(AppPath)\Data,,,3/6/07 8:39:12 AM,2440,0.0.0.0
    [email protected],$(AppPath)\Data,,,2/1/07 8:37:09 AM,989,0.0.0.0
    [email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),7/1/96 4:03:00 AM,20992,1.0.0.1
    [email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 1:00:00 AM,152848,6.1.97.82
    [email protected],$(WinSysPathSysFile),,,5/7/98 1:00:00 AM,174352,4.0.993.4
    [email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),5/14/08 2:32:48 AM,212240,6.1.97.82
    [email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),2/3/07 8:28:50 PM,28672,1.0.0.829
    [email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),7/21/09 1:05:40 AM,1348432,4.20.9876.0
    [email protected],$(WinSysPath),,$(Shared),4/13/08 5:11:59 PM,4608,5.1.2600.5512
    File10=@Private Message Viewer.exe,$(AppPath),,,6/17/10 8:44:54 AM,475136,1.3.0.0


    What do I need to add to the iss file so that it is complete?

  2. #2
    Fanatic Member
    Join Date
    Mar 2009
    Posts
    739

    Re: I need help with Inno

    Well your iss file is deploying your exe and the couple of your own files and making the startup shortcuts etc but it isn't deploying any of the VB bootstrap or runtime files.

    I never use the inno wizard.

    I don't have a link to hand but on the inno site is a help page that shows how to make an iss file based on your vb setup.lst file.

  3. #3
    Fanatic Member
    Join Date
    Mar 2009
    Posts
    739

    Re: I need help with Inno


  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: I need help with Inno

    Marty,

    As far as the files listed in your PDW under bootstrap and setup1 files, you can forget about the bootstrap, and just download and include the VB6SP6 runtime package from Microsoft Downloads (and name it VB6SP6 for simplicity).

    The line in INNO to install the VB6SP6 runtimes is just this:

    in [files] section:
    Source: c:\VB6SP6.exe; DestDir: {tmp}; DestName: VB6SP6.exe; Flags: ignoreversion skipifsourcedoesntexist

    in [run] section:
    Filename: {tmp}\VB6SP6.exe; Parameters: "/Q"; WorkingDir: {tmp}; Flags: skipifdoesntexist

    That will install the VB6 runtimes, if needed on the end user machine.

    as far as the "setup files" section goes from the PDW, you already included the ones that were actually yours, like the vbnewkeywords.txt, your exe, etc.. so you only need to then include the various OCX and DLL files. You would include them the same way, but make their target directory the system32 folder (the {sys} environment variable in INNO can be used) and not the program directory (same way PDW would do it). Any one marked DLLSelfRegister should also have a flag for 'regserver' in the files section for those files so INNO knows to call regsvr on them to register them for COM.

    See how far that gets you and post back with more questions... its friday... must... go... home

  5. #5

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: I need help with Inno

    Okay the following is an iss file that creates a setup.exe that works but the setup.exe file is large at 1856 KB compared to the 478 KB file created by the P&D Wizard. I assume it's larger because I'm including msvbvm60.dll. What do I do about that?

    ; Script generated by the Inno Setup Script Wizard.
    ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

    [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={{0D1C056E-4224-472B-A838-87658831B805}
    AppName=Private Message Viewer
    AppVerName=Private Message Viewer 1.3
    AppPublisher=MartinLiss
    DefaultDirName={pf}\Private Message Viewer
    DefaultGroupName=Private Message Viewer
    OutputBaseFilename=setup
    Compression=lzma
    SolidCompression=yes
    ArchitecturesInstallIn64BitMode=x64 ia64
    [Languages]
    Name: "english"; MessagesFile: "compiler:Default.isl"

    [Tasks]
    Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
    Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1

    [Files]
    ;System DLLs
    Source: "C:\Inno VB System DLLs\stdole2.tlb"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
    Source: "C:\Inno VB System DLLs\msvbvm60.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "C:\Inno VB System DLLs\oleaut32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "C:\Inno VB System DLLs\olepro32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "C:\Inno VB System DLLs\asycfilt.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile
    Source: "C:\Inno VB System DLLs\comcat.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    ;Program files
    Source: "C:\Private Message Viewer\Private Message Viewer.exe"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Private Message Viewer\Data\vbkeywords.txt"; DestDir: "{app}\Data"; Flags: ignoreversion
    Source: "C:\Private Message Viewer\Data\vbnewkeywords.txt"; DestDir: "{app}\Data"; Flags: ignoreversion
    ;OCXs
    Source: "C:\Private Message Viewer\P&D Wizard\Support\SSCTA32.OCX"; DestDir: "{sys}"; Flags: sharedfile regserver
    Source: "C:\Private Message Viewer\P&D Wizard\Support\comdlg32.ocx"; DestDir: "{sys}"; Flags: sharedfile regserver
    ;Source: "C:\Private Message Viewer\P&D Wizard\Support\RICHED32.DLL"; DestDir: "{sys}"
    Source: "C:\Private Message Viewer\P&D Wizard\Support\RICHTX32.OCX"; DestDir: "{sys}"; Flags: sharedfile regserver
    Source: "C:\Private Message Viewer\P&D Wizard\Support\DBGWPROC.DLL"; DestDir: "{sys}"; Flags: sharedfile regserver
    Source: "C:\Private Message Viewer\P&D Wizard\Support\RICHTX32.OCX"; DestDir: "{sys}"; Flags: sharedfile regserver
    Source: "C:\Private Message Viewer\P&D Wizard\Support\msxml4.dll"; DestDir: "{sys}"; Flags: sharedfile regserver
    Source: "C:\Private Message Viewer\P&D Wizard\Support\msimg32.dll"; DestDir: "{sys}"; Flags: sharedfile
    ;The following are from the P&D Wizard setup.lst
    ;[email protected],$(AppPath)\Data,,,3/6/07 8:39:12 AM,2440,0.0.0.0
    ;[email protected],$(AppPath)\Data,,,2/1/07 8:37:09 AM,989,0.0.0.0
    ;[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),7/1/96 4:03:00 AM,20992,1.0.0.1
    ;[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 1:00:00 AM,152848,6.1.97.82
    ;[email protected],$(WinSysPathSysFile),,,5/7/98 1:00:00 AM,174352,4.0.993.4
    ;[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),5/14/08 2:32:48 AM,212240,6.1.97.82
    ;[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),2/3/07 8:28:50 PM,28672,1.0.0.829
    ;[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),7/21/09 1:05:40 AM,1348432,4.20.9876.0
    ;[email protected],$(WinSysPath),,$(Shared),4/13/08 5:11:59 PM,4608,5.1.2600.5512
    ;File10=@Private Message Viewer.exe,$(AppPath),,,6/17/10 8:44:54 AM,475136,1.3.0.0

    ; NOTE: Don't use "Flags: ignoreversion" on any shared system files

    [Icons]
    Name: "{group}\Private Message Viewer"; Filename: "{app}\Private Message Viewer.exe"
    Name: "{group}\{cm:UninstallProgram,Private Message Viewer}"; Filename: "{uninstallexe}"
    Name: "{commondesktop}\Private Message Viewer"; Filename: "{app}\Private Message Viewer.exe"; Tasks: desktopicon
    Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Private Message Viewer"; Filename: "{app}\Private Message Viewer.exe"; Tasks: quicklaunchicon

    [Run]
    Filename: "{app}\Private Message Viewer.exe"; Description: "{cm:LaunchProgram,Private Message Viewer}"; Flags: nowait postinstall skipifsilent

  6. #6
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: I need help with Inno

    Not an Innoan, but maybe rip out:
    Code:
    Source: "C:\Inno VB System DLLs\stdole2.tlb"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
    Source: "C:\Inno VB System DLLs\msvbvm60.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "C:\Inno VB System DLLs\oleaut32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "C:\Inno VB System DLLs\olepro32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "C:\Inno VB System DLLs\asycfilt.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile
    Source: "C:\Inno VB System DLLs\comcat.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    ;Program files
    Seriously though, I'd just use VSI 1.1 and create a nice clean MSI for this.

  7. #7
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: I need help with Inno

    VSI (the official replacement for P&DW) is no longer available direct from the Microsoft site, but you can get it (slowly!) from an archive site:
    http://web.archive.org/web/200805131.../aa718352.aspx


    It may also be available via MSDN subscriber downloads.

  8. #8
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: I need help with Inno

    If you don't have VSI 1.1 yet you probably don't have the VB6 SP6 merge modules then either.

    After installing VSI 1.1 you extract the merge modules and copy them over the old ones in:

    C:\Program Files\Microsoft Visual Studio\COMMON\Tools\VSInst\BuildRes

  9. #9

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: I need help with Inno

    I had previously downloaded and extracted both setup1.exe and setup2.exe for the VSI but then what do i do? When I run setup.exe it just installs the installer.

  10. #10
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: I need help with Inno

    The product is named "Visual Studio 6.0 Installer 1.1" which is a sort of crummy name, easily confused with Windows Installer.

    Afterward you should end up with a new folder in the Start Menu under Microsoft Visual Studio 6.0: Microsoft Visual Studio Enterprise Tools. Look in there.

  11. #11

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: I need help with Inno

    BTW the VSI documentation says "[VSI] setups can run on any 32-bit Windows desktop platform". I have someone who wants to run on a 64-bit platform which Inno can handle. So let me ask this. What happens if I don't include msvbvm60.dll?

  12. #12

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: I need help with Inno

    Quote Originally Posted by dilettante View Post
    The product is named "Visual Studio 6.0 Installer 1.1" which is a sort of crummy name, easily confused with Windows Installer.

    Afterward you should end up with a new folder in the Start Menu under Microsoft Visual Studio 6.0: Microsoft Visual Studio Enterprise Tools. Look in there.
    Thanks.

  13. #13
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: I need help with Inno

    Quote Originally Posted by MartinLiss View Post
    BTW the VSI documentation says "[VSI] setups can run on any 32-bit Windows desktop platform". I have someone who wants to run on a 64-bit platform which Inno can handle. So let me ask this. What happens if I don't include msvbvm60.dll?
    LOL, sorry. Can't help myself.

    The whole 64-bit thing was just marketing hype to get people to buy a new PC and more RAM. Otherwise as prices fell well-equipped PCs would be going for $100, cutting into profits.

    Don't sweat it. Even WMP is still 32-bit software under Vista/Win7 64-bit, as is Visual Studio 2010! VSI 1.1 is just old, not obsolete like some things.

    I wish those Inno people wouldn't spread so much FUD. Their setups are deprecated under Viata/Win7 just like the PDW's.

    BTW: The VB6 runtimes (and even more) are shipped as part of Windows, even 64-bit. Support Statement for Visual Basic 6.0 on Windows Vista, Windows Server 2008 and Windows 7. Expect a Support Statement update covering Win8 when it ships.

  14. #14
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

  15. #15
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: I need help with Inno

    Quote Originally Posted by dilettante View Post
    The whole 64-bit thing was just marketing hype to get people to buy a new PC and more RAM. Otherwise as prices fell well-equipped PCs would be going for $100, cutting into profits.
    Maybe for you, but I for one use all 6GB of the ram in my machine, and I wouldn't be able to do that with a 100 dollar x86 machine.

    http://www.bit-tech.net/bits/2007/10...just_the_ram/1
    Last edited by kleinma; Jun 22nd, 2010 at 05:20 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width