y para que tampoco salga en agregar/quitar programas?
Código:
Uninstallable=false
Disculpa ahora tengo el script y innosetup que tengo que agregar
InnoSetup tiene un wizard que te ayuda a crear el instalador personalizado, más sencillo imposible:
De todas formas te dejo mi plantilla por defecto, Solo tienes que modificar las 4 primeras lineas, y añadir los archivos:
Setup.iss
Código:
; Default setup by Elektro H@cker
#define MyAppName ""
#define MyAppVersion ""
#define MyAppExeName ".exe"
#define MyAppUrl ""
#define desktop "C:\Users\Administrator\Desktop"
[Setup]
AppId={{{#MyAppName}-F525-4990-B55B-180C811356B4}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DisableDirPage=true
DefaultGroupName={#MyAppName}
DisableProgramGroupPage=true
OutputDir={#desktop}
OutputBaseFilename={#MyAppName}
Compression=lzma
SolidCompression=true
;SetupIconFile=icono.ico
WizardImageFile=logo.bmp
;UninstallDisplayIcon={app}\{#MyAppExeName}
AppCopyright=Elektro H@cker
AppVerName={#MyAppName} {#MyAppVersion}
;InfoBeforeFile=info.txt
PrivilegesRequired=none
DisableStartupPrompt=true
ShowLanguageDialog=no
WizardImageBackColor=clBlack
Uninstallable=false
;ArchitecturesInstallIn64BitMode=x64
;ArchitecturesAllowed=x64
[Languages]
Name: spanish; MessagesFile: compiler:Languages\Spanish.isl
[Icons]
Name: {userstartmenu}\Programs\{#MyAppName}; Filename: {app}\{#MyAppExeName}; WorkingDir: {app}
[Tasks]
;Name: tarea; Description: asociacion; GroupDescription: Asociar extensiones de archivo:
;Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; OnlyBelowVersion: 0,6.1
[Run]
;Filename: "{cmd}"; Parameters: "/C command ""{app}\file"""
Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}; Flags: nowait postinstall skipifsilent
[Dirs]
;{commonappdata} = c:\programdata
;{localappdata} = ...\users\appdata\local
;{userappdata} = ...\users\appdata\roaming
Saludos