Results 1 to 5 of 5

Thread: Reg: Inno Setup Installation Script

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2008
    Posts
    2

    Reg: Inno Setup Installation Script

    Hi,
    I got struck up with a problem, i have created a setup and its working fine, but can any one tell me during installation of the setup suppose if the particular dll gets corrupted/not present the installation shouldnt continue, how to write scripts for that...plz help...


    Reg,
    Pradeesh B

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Reg: Inno Setup Installation Script

    Define "Gets Corrupted" and how it wold get corrupted during installation...

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Reg: Inno Setup Installation Script

    How could you create a setup package that is missing a dll that you have scripted to be included when pakcaged? Seems to me when you compile your package it would tell you if a dependancy file that is specified is missing.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4

    Thread Starter
    New Member
    Join Date
    Mar 2008
    Posts
    2

    Unhappy Re: Reg: Inno Setup Installation Script

    Thanks Randem and Robdog888 For replying. I know that the missing dependency dlls will be prompted while compilation. And in reply to randem, dll gets corrupted in the sense when we try to install a setup, sometimes we get an error stating that a particular dll is missing or corrupted and the installation may not continue.

    What i want to know is that is there any way that while scripting to find all the dependency dlls for the respective setup. My requirement states that if a particular required dll is missing the setup should prompt user for all the required dlls missing while installing the setup and the installation shouldnt continue. Plz help, i have been trying hard to find all the possible ways out.


    Reg,
    Pradeesh B

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Reg: Inno Setup Installation Script

    Usually a dll will only be installed or verwriten if its not present on the system or if the version of the dll is lower then what you are trying to install. Otherwise it wont install the dll.

    What dependancies is it in particular that are giving you issues?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

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