Click to See Complete Forum and Search --> : [RESOLVED] Make a Customized Setup
Lasering
Apr 13th, 2007, 11:38 AM
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!
Hack
Apr 13th, 2007, 11:39 AM
Moved
Joacim Andersson
Apr 13th, 2007, 11:40 AM
Try InnoSetup (www.innosetup.com)
randem
Apr 13th, 2007, 03:51 PM
No, the methods you describe for installing are all wrong and prone to mistakes and problems. Use the Installer packages to complete this task.
Lasering
Apr 13th, 2007, 05:51 PM
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?
randem
Apr 13th, 2007, 06:53 PM
post your script.
Lasering
Apr 14th, 2007, 05:28 AM
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: "compiler:Default.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
randem
Apr 14th, 2007, 01:07 PM
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.
Lasering
Apr 14th, 2007, 04:06 PM
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.
randem
Apr 14th, 2007, 06:08 PM
What link in the FAQ's is broken?
Lasering
Apr 14th, 2007, 06:34 PM
this one:
one of the best set of installer scripts for INNO I have ever come across.
http://www13.brinkster.com/vincenzog/articles.asp?ps=60
randem
Apr 14th, 2007, 06:35 PM
Yeah, That site is gone for a while now... It should removed.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.