Results 1 to 12 of 12

Thread: [RESOLVED] Make a Customized Setup

  1. #1

    Thread Starter
    Fanatic Member Lasering's Avatar
    Join Date
    May 2006
    Location
    Lisboa
    Posts
    559

    Resolved [RESOLVED] Make a Customized Setup

    Hi!!

    I have VS 2005 Pro. I can do setups on it, but I can't configure and customize them to my "taste". And I cant make it only in one file. So i will try to make one. But I ran into problems (as with everthing and always, lool):

    How to make the setup file (the .exe) have included inside the other files, such has a .exe and a .mdb? Can I embeded them? If yes them how can I copy them to the computer?Is it better instead of embed all files, embed a zip with all files and then instead of copy the files to the desired path unzip them? Witch registry entries do I have to add so the file appears in Add/Remove programs List?

    Thks a lot in advance!
    Controls: XPCC|Quantum
    Windows API'sLINQ to XML SamplesRegex Tutorial

    Albert Einstein:
    "Imagination is more important than knowledge."
    "Everything should be made as simple as possible, but not simpler."
    "Great spirits have often encountered violent opposition from weak minds."

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

    Re: Make a Customized Setup

    Moved

  3. #3
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Make a Customized Setup

    Try InnoSetup

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

    Re: Make a Customized Setup

    No, the methods you describe for installing are all wrong and prone to mistakes and problems. Use the Installer packages to complete this task.

  5. #5

    Thread Starter
    Fanatic Member Lasering's Avatar
    Join Date
    May 2006
    Location
    Lisboa
    Posts
    559

    Re: Make a Customized Setup

    InnoSetup is very good!!

    I just can't do a thing, i cant make the screen shown below dont appear, and i cant also put only a shortcut in the start menu like Start-All Programs-My ShortCut and NOT like Start-All Programs-A Folder-My ShortCut.

    Can u help me?
    Attached Images Attached Images  
    Last edited by Lasering; Apr 13th, 2007 at 05:54 PM.
    Controls: XPCC|Quantum
    Windows API'sLINQ to XML SamplesRegex Tutorial

    Albert Einstein:
    "Imagination is more important than knowledge."
    "Everything should be made as simple as possible, but not simpler."
    "Great spirits have often encountered violent opposition from weak minds."

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

    Re: Make a Customized Setup

    post your script.

  7. #7

    Thread Starter
    Fanatic Member Lasering's Avatar
    Join Date
    May 2006
    Location
    Lisboa
    Posts
    559

    Re: Make a Customized Setup

    my script now is this:

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

    [Setup]
    AppName=Mu Shop
    AppVerName=Mu Shop 1.3
    AppPublisher=Lasering
    DefaultDirName={pf}\Mu Shop
    DefaultGroupName=Mu Shop
    AllowNoIcons=yes
    OutputBaseFilename=Mu Shop Installer
    SetupIconFile=C:\Documents and Settings\Bro's\Os meus documentos\As minhas imagens\Icons\Ico\Install.ico
    Compression=lzma
    SolidCompression=yes
    DisableReadyMemo=yes

    [Languages]
    Name: "english"; MessagesFile: "compilerefault.isl"

    [Tasks]
    Name: "desktopicon"; Description: "Create a Desktop icon"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
    Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

    [Files]
    Source: "C:\Documents and Settings\Bro's\Os meus documentos\Visual Studio 2005\Projects\Mu Shop\bin\Release\Mu Shop.exe"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Documents and Settings\Bro's\Os meus documentos\Visual Studio 2005\Projects\Mu Shop\bin\Release\Class And Items.mdb"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Documents and Settings\Bro's\Os meus documentos\Visual Studio 2005\Projects\Mu Shop\bin\Release\Imagens\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
    ; NOTE: Don't use "Flags: ignoreversion" on any shared system files

    [Icons]
    Name: "{group}\Mu Shop"; Filename: "{app}\Mu Shop.exe";
    Name: "{commondesktop}\Mu Shop"; Filename: "{app}\Mu Shop.exe"; Tasks: desktopicon
    Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Mu Shop"; Filename: "{app}\Mu Shop.exe"; Tasks: quicklaunchicon

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

    [Registry]
    Root: HKCU; Subkey: "Software\Mu Shop"; ValueType: none; Flags: deletekey
    Root: HKCU; Subkey: "Software\Mu Shop"; ValueType: string; ValueName: "AutoImages"; ValueData: "True"; Flags: uninsdeletekey
    Root: HKCU; Subkey: "Software\Mu Shop"; ValueType: string; ValueName: "BackgroundImages"; ValueData: "False"; Flags: uninsdeletekey
    Root: HKCU; Subkey: "Software\Mu Shop"; ValueType: string; ValueName: "Default File Type"; ValueData: "Shop"; Flags: uninsdeletekey
    Root: HKCU; Subkey: "Software\Mu Shop"; ValueType: string; ValueName: "ItemNumbers"; ValueData: "True"; Flags: uninsdeletekey
    Root: HKCU; Subkey: "Software\Mu Shop"; ValueType: string; ValueName: "Transparency"; ValueData: "True"; Flags: uninsdeletekey
    Root: HKCU; Subkey: "Software\Mu Shop"; ValueType: string; ValueName: "TransparentButtons"; ValueData: "False"; Flags: uninsdeletekey
    Root: HKCU; Subkey: "Software\Mu Shop"; ValueType: string; ValueName: "Update Databases"; ValueData: "True"; Flags: uninsdeletekey
    Root: HKCU; Subkey: "Software\Mu Shop"; ValueType: string; ValueName: "VaultImage"; ValueData: "True"; Flags: uninsdeletekey
    Root: HKCU; Subkey: "Software\Mu Shop"; ValueType: string; ValueName: "WholeWords"; ValueData: "True"; Flags: uninsdeletekey
    Controls: XPCC|Quantum
    Windows API'sLINQ to XML SamplesRegex Tutorial

    Albert Einstein:
    "Imagination is more important than knowledge."
    "Everything should be made as simple as possible, but not simpler."
    "Great spirits have often encountered violent opposition from weak minds."

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

    Re: Make a Customized Setup

    This script will not work properly you are missing too many things. All your dependencies and VB Runtime files are missing to name a few.

  9. #9

    Thread Starter
    Fanatic Member Lasering's Avatar
    Join Date
    May 2006
    Location
    Lisboa
    Posts
    559

    Re: Make a Customized Setup

    So how can i make it to check if .net 2 is installed? And if not do not let the instalation continue?.

    I was able to put that thing of the shortcut like i wanted.

    Can anyone get me a good script, because the link the Deployment FAQ is broken.
    Last edited by Lasering; Apr 14th, 2007 at 06:32 PM.
    Controls: XPCC|Quantum
    Windows API'sLINQ to XML SamplesRegex Tutorial

    Albert Einstein:
    "Imagination is more important than knowledge."
    "Everything should be made as simple as possible, but not simpler."
    "Great spirits have often encountered violent opposition from weak minds."

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

    Re: Make a Customized Setup

    What link in the FAQ's is broken?

  11. #11

    Thread Starter
    Fanatic Member Lasering's Avatar
    Join Date
    May 2006
    Location
    Lisboa
    Posts
    559

    Re: Make a Customized Setup

    this one:

    Quote Originally Posted by kleinma
    one of the best set of installer scripts for INNO I have ever come across.

    http://www13.brinkster.com/vincenzog/articles.asp?ps=60
    Controls: XPCC|Quantum
    Windows API'sLINQ to XML SamplesRegex Tutorial

    Albert Einstein:
    "Imagination is more important than knowledge."
    "Everything should be made as simple as possible, but not simpler."
    "Great spirits have often encountered violent opposition from weak minds."

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

    Re: Make a Customized Setup

    Yeah, That site is gone for a while now... It should removed.

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