[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!
Re: Make a Customized Setup
Re: Make a Customized Setup
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.
1 Attachment(s)
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?
Re: Make a Customized Setup
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: "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
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.
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.
Re: Make a Customized Setup
What link in the FAQ's is broken?
Re: Make a Customized Setup
this one:
Quote:
Originally Posted by kleinma
Re: Make a Customized Setup
Yeah, That site is gone for a while now... It should removed.