Results 1 to 8 of 8

Thread: Package and Deployment / Inno

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2000
    Location
    UK
    Posts
    199

    Package and Deployment / Inno

    My P&D Wizard seems to be having a problem.
    It hangs during the select folder for output stage.

    Anyway, I only really wanted to use this to get a list of files that need registering, as I would prefer to use Inno. Therefore, how do I know which files to add to my inno script??


    Many Thanks
    Paul

  2. #2
    Frenzied Member
    Join Date
    Jan 2009
    Location
    Watch Window(Shift+f9)
    Posts
    1,879

    Smile Re: Package and Deployment / Inno


  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2000
    Location
    UK
    Posts
    199

    Re: Package and Deployment / Inno

    Ok - I have created my setup with Inno but on installing I get and error:

    Method '~' of object '~' failed

    I believe this to be a MDAC problem, but dont know how to diagnose this.
    All the dependent files are taken from a Win7 machine and the install attempts are also to a (different) Win7 machine.

    Below is my INNO script:


    Any help would be appreciated!!
    Thanks




    Code:
    ; Script generated by the Inno Setup Script Wizard.
    ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
    
    #define MyAppName "CMS"
    #define MyAppVersion "3.0.3"
    #define MyAppPublisher "Digital Error"
    #define MyAppURL "http://www.digitalerror.co.uk"
    #define MyAppExeName "MonkeySocks.exe"
    
    [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={{BFBB37E3-3A3B-4E27-83A3-E58425F30905}
    AppName={#MyAppName}
    AppVersion={#MyAppVersion}
    ;AppVerName={#MyAppName} {#MyAppVersion}
    AppPublisher={#MyAppPublisher}
    AppPublisherURL={#MyAppURL}
    AppSupportURL={#MyAppURL}
    AppUpdatesURL={#MyAppURL}
    DefaultDirName={pf}\{#MyAppName}
    DisableDirPage=yes
    DefaultGroupName={#MyAppName}
    DisableProgramGroupPage=yes
    OutputDir=M:\Monkey Socks CMS Source Code MySQL\Package
    OutputBaseFilename=CMS Setup V{#MyAppVersion}
    Compression=lzma
    SolidCompression=yes
    PrivilegesRequired=admin
    
    [Languages]
    Name: "english"; MessagesFile: "compiler:Default.isl"
    
    [Tasks]
    Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
    
    [Files]
    
    ; begin VB system files
    ; (Note: Scroll to the right to see the full lines!)
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\VB6Files\stdole2.tlb";  DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\VB6Files\msvbvm60.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\VB6Files\oleaut32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\VB6Files\olepro32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\VB6Files\asycfilt.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\VB6Files\comcat.dll";   DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\VB6Files\VB6STKIT.DLL";   DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile 
    ; end VB system files
    
    
    
    Source: "M:\Monkey Socks CMS Source Code MySQL\MonkeySocks.exe"; DestDir: "{app}"; Flags: ignoreversion
    Source: "M:\Monkey Socks CMS Source Code MySQL\ConnectionString.dcf"; DestDir: "{app}"; Flags: ignoreversion
    Source: "M:\Monkey Socks CMS Source Code MySQL\tssOfficeMenu1d.ocx"; DestDir: "{app}"; Flags: ignoreversion regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\ubGrid.ocx"; DestDir: "{app}"; Flags: ignoreversion regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\FPOP411.ocx"; DestDir: "{app}"; Flags: ignoreversion regserver  
    Source: "M:\Monkey Socks CMS Source Code MySQL\vbalIcoM6.dll"; DestDir: "{app}"; Flags: ignoreversion regserver
    ;Source: "M:\Monkey Socks CMS Source Code MySQL\Color.bmp"; DestDir: "{app}"; Flags: ignoreversion 
    ;Source: "M:\Monkey Socks CMS Source Code MySQL\Color.gif"; DestDir: "{app}"; Flags: ignoreversion 
    
    
    
    ;Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\mdac_typ.exe";   DestDir: "{app}"; Flags: 
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\comdlg32.ocx";   DestDir: "{sys}"; Flags: regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\mscomct2.ocx";   DestDir: "{sys}"; Flags: regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\comct232.ocx";   DestDir: "{sys}"; Flags: regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\comct332.ocx";   DestDir: "{sys}"; Flags: regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\tabctl32.ocx";   DestDir: "{sys}"; Flags: regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\mscomctl.ocx";   DestDir: "{sys}"; Flags: regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msword.olb";   DestDir: "{sys}"; Flags: ignoreversion
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msoutl.olb"; DestDir: "{sys}"; Flags: ignoreversion
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\cdosys.dll";   DestDir: "{sys}"; Flags: regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\richtx32.ocx"; DestDir: "{sys}"; Flags: ignoreversion regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\ieframe.dll"; DestDir: "{sys}"; Flags: ignoreversion 
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\ssubtmr6.dll"; DestDir: "{sys}"; Flags: ignoreversion regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\mswinsck.ocx"; DestDir: "{sys}"; Flags: regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\dhtmled.ocx"; DestDir: "{app}"; Flags: regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msmapi32.ocx"; DestDir: "{sys}"; Flags: regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\acropdf.dll"; DestDir: "{sys}"; Flags: ignoreversion
    
    
    
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msderun.dll";   DestDir: "{cf}"; Flags: regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\scrrun.dll"; DestDir: "{sys}"; Flags: ignoreversion regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msbind.dll"; DestDir: "{sys}"; Flags: ignoreversion regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msstdfmt.dll"; DestDir: "{sys}"; Flags: ignoreversion regserver
    ;Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msadox.dll"; DestDir: "{sys}"; Flags: ignoreversion
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msado28.tlb"; DestDir: "{sys}"; Flags: ignoreversion 
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msadox28.tlb"; DestDir: "{sys}"; Flags: ignoreversion 
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\dao360.dll"; DestDir: "{dao}"; Flags: ignoreversion regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msvcrt.dll"; DestDir: "{sys}"; Flags: ignoreversion
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\vb5db.dll"; DestDir: "{sys}"; Flags: ignoreversion
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msjtes40.dll"; DestDir: "{sys}"; Flags: ignoreversion regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msrepl40.dll"; DestDir: "{sys}"; Flags: ignoreversion
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msrd3x40.dll"; DestDir: "{sys}"; Flags: ignoreversion regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msrd2x40.dll"; DestDir: "{sys}"; Flags: ignoreversion regserver
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\mswdat10.dll"; DestDir: "{sys}"; Flags: ignoreversion
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\mswstr10.dll"; DestDir: "{sys}"; Flags: ignoreversion
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\expsrv.dll"; DestDir: "{sys}"; Flags: ignoreversion
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\vbajet32.dll"; DestDir: "{sys}"; Flags: ignoreversion
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msjint40.dll"; DestDir: "{sys}"; Flags: ignoreversion
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msjter40.dll"; DestDir: "{sys}"; Flags: ignoreversion
    Source: "M:\Monkey Socks CMS Source Code MySQL\Package\Dependencies\msjet40.dll"; DestDir: "{sys}"; Flags: ignoreversion regserver
    
    
    
    
    
    
    
    
    ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
    
    [Icons]
    Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
    Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
    
    [Run]
    Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Sep 2000
    Location
    UK
    Posts
    199

    Re: Package and Deployment / Inno

    Think I have found the solution - its too late to check now so will post back with the results tomorrow, but I believe that it was all due to the MySQL connector not being installed.


    I will check and then close this post if necessary.

    Many thanks though.
    Paul

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

    Re: Package and Deployment / Inno

    This is why I call it "No-No Setup."

    That thing can be dangerous in the wrong hands, and I have had to deal with the DLL Hell somebody else using Inno has caused my applications on a client's system way too often.

    You are trying to deploy a number of undeployable libraries there, as well as bits and pieces from MDAC and Jet (which is also improper).

    DHTMLEd.OCX can't be taken from a random system and deployed to a target system. For one thing it's part of IE, for another the IE copy is kill-bitted in Vista and beyond for a number of reasons and there is a special version you have to acquire from a separate Microsoft download, and for a third it is never deployed into the application install directory.

    That's how No-No Setups end up breaking other applications.


    Inno is probably fine in competant hands, but it gets used way too often by script kiddies who cobble together Inno scripts from bits and pieces they find in the street.

    I wouldn't give a damn, except that I am tired of having to deal with trouble calls for MY applications when somebody else's No-No Script install has broken it - or worse yet trashed the user's machine.

  6. #6
    PowerPoster ThEiMp's Avatar
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,948

    Re: Package and Deployment / Inno

    Hehe -- Inno Setup, is what I use. It's a Object Pascal App and very good at it's job. I hope that you enjoy ripping out your hair out of your head, it is very hard to understand for a VB6 COM programmer like myself ,, NOT... (About ripping out your hair, I mean)...

    PS: Change this to: Compression=lzma2 in the Setup File, before it's Built. It contains better compression, and also it's alot faster than the one that you're using, right now even...
    I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...

    |Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |

    Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Package and Deployment / Inno

    Moved To Application Deployment

  8. #8
    PowerPoster ThEiMp's Avatar
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,948

    Re: Package and Deployment / Inno

    So sorry: Hack. I forgot to tell you chapps about it. I've been working for about thirty-seven hours...
    I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...

    |Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |

    Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...

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