Gracias lo he intentado instalar en un sistema de 32 bits y me dio error.
Al final cree un nuevo instalador para la ocasion, que en 32 bits me trabaja correctamente.
;InnoSetupVersion=5.5.0
[Setup]
AppName=SHACK (ImagesHack Uploader)
AppVerName=SHACK (ImagesHack Uploader) 1.1
AppVersion=1.1
DefaultDirName={pf}\Elektro H@cker Software\Shack
DefaultGroupName=SHACK (ImagesHack Uploader)
OutputBaseFilename=Shack
Compression=lzma/Max
PrivilegesRequired=poweruser
DisableDirPage=yes
DisableProgramGroupPage=yes
InfoBeforeFile=embedded\InfoBefore.txt
WizardImageFile=embedded\WizardImage.bmp
WizardSmallImageFile=embedded\WizardSmallImage.bmp
[Files]
Source: "{sys}\Shack.exe"; DestDir: "{sys}"; Flags: 32bit; MinVersion: 0.0,5.0
Source: "{pf32}\Elektro H@cker Software\Shack\Shack.ico"; DestDir: "{pf32}\Elektro H@cker Software\Shack"; Flags: 32bit; MinVersion: 0.0,5.0; Tasks: cm
Source: "{userstartmenu}\CommandLine\Shack.bat"; DestDir: "{userstartmenu}\CommandLine"; MinVersion: 0.0,5.0
[Dirs]
Name: "{pf32}\Elektro H@cker Software\Shack"
[Registry]
Root: HKCR; Subkey: "SystemFileAssociations\.BMP\shell\SubiraImagesHack"; ValueType: String; ValueData: "Subir a ImagesHack"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.BMP\shell\SubiraImagesHack"; ValueName: "icon"; ValueType: String; ValueData: "{app}\Shack.ico"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.BMP\shell\SubiraImagesHack"; ValueName: "position"; ValueType: String; ValueData: "top"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.BMP\shell\SubiraImagesHack\command"; ValueType: String; ValueData: "CMD.exe /k title Subiendo: ""%1"" & Mode con cols=80 lines=4 & For /f ""tokens=* skip=15"" %%a in ('Shack.exe -d ""%1""') do (CLS & Echo ""%1"" | More & Echo %%a & title ""%1"" & Pause>nul)"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.GIF\shell\SubiraImagesHack"; ValueType: String; ValueData: "Subir a ImagesHack"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.GIF\shell\SubiraImagesHack"; ValueName: "icon"; ValueType: String; ValueData: "{app}\Shack.ico"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.GIF\shell\SubiraImagesHack"; ValueName: "position"; ValueType: String; ValueData: "top"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.GIF\shell\SubiraImagesHack\command"; ValueType: String; ValueData: "CMD.exe /k title Subiendo: ""%1"" & Mode con cols=80 lines=4 & For /f ""tokens=* skip=15"" %%a in ('Shack.exe -d ""%1""') do (CLS & Echo ""%1"" | More & Echo %%a & title ""%1"" & Pause>nul)"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.JPG\shell\SubiraImagesHack"; ValueType: String; ValueData: "Subir a ImagesHack"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.JPG\shell\SubiraImagesHack"; ValueName: "icon"; ValueType: String; ValueData: "{app}\Shack.ico"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.JPG\shell\SubiraImagesHack"; ValueName: "position"; ValueType: String; ValueData: "top"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.JPG\shell\SubiraImagesHack\command"; ValueType: String; ValueData: "CMD.exe /k title Subiendo: ""%1"" & Mode con cols=80 lines=4 & For /f ""tokens=* skip=15"" %%a in ('Shack.exe -d ""%1""') do (CLS & Echo ""%1"" | More & Echo %%a & title ""%1"" & Pause>nul)"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.JPEG\shell\SubiraImagesHack"; ValueType: String; ValueData: "Subir a ImagesHack"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.JPEG\shell\SubiraImagesHack"; ValueName: "icon"; ValueType: String; ValueData: "{app}\Shack.ico"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.JPEG\shell\SubiraImagesHack"; ValueName: "position"; ValueType: String; ValueData: "top"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.JPEG\shell\SubiraImagesHack\command"; ValueType: String; ValueData: "CMD.exe /k title Subiendo: ""%1"" & Mode con cols=80 lines=4 & For /f ""tokens=* skip=15"" %%a in ('Shack.exe -d ""%1""') do (CLS & Echo ""%1"" | More & Echo %%a & title ""%1"" & Pause>nul)"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.PNG\shell\SubiraImagesHack"; ValueType: String; ValueData: "Subir a ImagesHack"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.PNG\shell\SubiraImagesHack"; ValueName: "icon"; ValueType: String; ValueData: "{app}\Shack.ico"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.PNG\shell\SubiraImagesHack"; ValueName: "position"; ValueType: String; ValueData: "top"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.PNG\shell\SubiraImagesHack\command"; ValueType: String; ValueData: "CMD.exe /k title Subiendo: ""%1"" & Mode con cols=80 lines=4 & For /f ""tokens=* skip=15"" %%a in ('Shack.exe -d ""%1""') do (CLS & Echo ""%1"" | More & Echo %%a & title ""%1"" & Pause>nul)"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.TIF\shell\SubiraImagesHack"; ValueType: String; ValueData: "Subir a ImagesHack"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.TIF\shell\SubiraImagesHack"; ValueName: "icon"; ValueType: String; ValueData: "{app}\Shack.ico"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.TIF\shell\SubiraImagesHack"; ValueName: "position"; ValueType: String; ValueData: "top"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.TIF\shell\SubiraImagesHack\command"; ValueType: String; ValueData: "CMD.exe /k title Subiendo: ""%1"" & Mode con cols=80 lines=4 & For /f ""tokens=* skip=15"" %%a in ('Shack.exe -d ""%1""') do (CLS & Echo ""%1"" | More & Echo %%a & title ""%1"" & Pause>nul)"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.TIFF\shell\SubiraImagesHack"; ValueType: String; ValueData: "Subir a ImagesHack"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.TIFF\shell\SubiraImagesHack"; ValueName: "icon"; ValueType: String; ValueData: "{app}\Shack.ico"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.TIFF\shell\SubiraImagesHack"; ValueName: "position"; ValueType: String; ValueData: "top"; MinVersion: 0.0,5.0;
Root: HKCR; Subkey: "SystemFileAssociations\.TIFF\shell\SubiraImagesHack\command"; ValueType: String; ValueData: "CMD.exe /k title Subiendo: ""%1"" & Mode con cols=80 lines=4 & For /f ""tokens=* skip=15"" %%a in ('Shack.exe -d ""%1""') do (CLS & Echo ""%1"" | More & Echo %%a & title ""%1"" & Pause>nul)"; MinVersion: 0.0,5.0;
[Run]
Filename: {userstartmenu}\CommandLine\Shack.bat; Description: "{cm:LaunchProgram,SHACK (ImagesHack Uploader)}"; MinVersion: 0.0,5.0; Flags: NoWait PostInstall;
Filename: shack.exe; Parameters: -c; Description: "Configurar SHACK"; MinVersion: 0.0,5.0; Flags: PostInstall NoWait;
[Tasks]
Name: "cm"; Description: "Agregar ""Subir a ImagesHack"" al menú contextual"; MinVersion: 0.0,5.0;
[CustomMessages]
default.NameAndVersion=%1 version %2
default.AdditionalIcons=Additional icons:
default.CreateDesktopIcon=Create a &desktop icon
default.CreateQuickLaunchIcon=Create a &Quick Launch icon
default.ProgramOnTheWeb=%1 on the Web
default.UninstallProgram=Uninstall %1
default.LaunchProgram=Launch %1
default.AssocFileExtension=&Associate %1 with the %2 file extension
default.AssocingFileExtension=Associating %1 with the %2 file extension...
default.AutoStartProgramGroupDescription=Startup:
default.AutoStartProgram=Automatically start %1
default.AddonHostProgramNotFound=%1 could not be located in the folder you selected.%n%nDo you want to continue anyway?
[Languages]
; These files are stubs
; To achieve better results after recompilation, use the real language files
Name: "default"; MessagesFile: "embedded\default.isl";
¿Se podria poner en el instalador la opcion de borrar el archivo de configuracion y ocultar un poco el nombre y el usuario, usando un cifrado seguro con un poco de salt?
Salu2