cups + 윈도용 프린터 드라이버 자동 인스톨러 #1 - cups 잡기
cups + 윈도용 프린터 드라이버 자동 인스톨러 #2 - 프린터 설치 스크립트



조금 더 사용자 수고를 다이어트해보자. 전에 패키지할때 써보던 Inno Setup 이란 넘이 있었다.

오픈소스는 아니지만, 공개 프로그램이고 코드 집어넣는 인스톨러가 되어서 깔끔하다. 이번엔 코드 쓸 일은 없지만. (써도 된다 물론. -_-;)

다운 받아 설치한다.
 

한글 설치를 지원하려면..




그리고, 설치 스크립트를 짠다.

감이 전혀 오지 않는다면 참고하시라.

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

[Setup]
AppName=exe 파일 등록정보에 나올 이름
AppVerName=설치 메인 화면에 나올 이름
AppPublisher=배포자
AppPublisherURL=http://주소
AppSupportURL=http://적당히
AppUpdatesURL=http://대충
CreateAppDir=no
OutputBaseFilename=lj1150
Compression=lzma
SolidCompression=yes
Uninstallable=no

[Languages]
Name: "korean"; MessagesFile: "compiler:Languages\Korean.isl"

[Files]
Source: "hp1300m5.cat"; Destdir: {tmp}\lj1150;
Source: "hp1300m5.inf"; Destdir: {tmp}\lj1150;
Source: "hpbhealr.dl_"; Destdir: {tmp}\lj1150;
Source: "hpbmmon.dl_"; Destdir: {tmp}\lj1150;
Source: "hpbmmon.dll"; Destdir: {tmp}\lj1150;
Source: "hpc11505.gp_"; Destdir: {tmp}\lj1150;
Source: "hpc11505.xm_"; Destdir: {tmp}\lj1150;
Source: "hpc1150b.in_"; Destdir: {tmp}\lj1150;
Source: "hpc13005.gp_"; Destdir: {tmp}\lj1150;
Source: "hpc13005.xm_"; Destdir: {tmp}\lj1150;
Source: "hpc1300b.in_"; Destdir: {tmp}\lj1150;
Source: "hpc13155.gp_"; Destdir: {tmp}\lj1150;
Source: "hpcdmc32.dl_"; Destdir: {tmp}\lj1150;
Source: "hpcevt05.dl_"; Destdir: {tmp}\lj1150;
Source: "hpcljx05.hl_"; Destdir: {tmp}\lj1150;
Source: "hpcrd05.dl_"; Destdir: {tmp}\lj1150;
Source: "hpcsch05.dt_"; Destdir: {tmp}\lj1150;
Source: "hpcstr05.dl_"; Destdir: {tmp}\lj1150;
Source: "hpcui05.dl_"; Destdir: {tmp}\lj1150;
Source: "hpdomon.dl_"; Destdir: {tmp}\lj1150;
Source: "hplj3in03.ex_"; Destdir: {tmp}\lj1150;
Source: "hpprn05.dl_"; Destdir: {tmp}\lj1150;
Source: "hpprn05.dll"; Destdir: {tmp}\lj1150;
Source: "hpsmac05.gp_"; Destdir: {tmp}\lj1150;
Source: "setup.bat"; Destdir: {tmp}\lj1150;
Source: "stdnames.gp_"; Destdir: {tmp}\lj1150;
Source: "unidrv.dl_"; Destdir: {tmp}\lj1150;
Source: "unidrv.hl_"; Destdir: {tmp}\lj1150;
Source: "unidrvui.dl_"; Destdir: {tmp}\lj1150;
Source: "unires.dl_"; Destdir: {tmp}\lj1150;
; Source: "lj1150.iss"; Destdir: {tmp}\lj1150;

[Run]
Filename: "{tmp}\lj1150\setup.bat"; Flags: runminimized

; NOTE: Don't use "Flags: ignoreversion" on any shared system files

Inno Setup 에 넣고 컴파일하면 .exe 파일이 나온다.


이거이 그냥 실행하면 프린터가 알아서 잡힌다!





네번만 클릭하면 끝난다!

설치 파일 이름도 친절하게 바꿔주는 것을 잊지 말자.


이래도 못쓰시겠다면.. 그냥 대신 출력해 드리자.. -_-

Posted by Arcy

2006/09/06 23:38 2006/09/06 23:38
, ,
Response
No Trackback , a comment
RSS :
http://arcy.org/tc/rss/response/11

Trackback URL : http://arcy.org/tc/trackback/11

« Previous : 1 : ... 66 : 67 : 68 : 69 : 70 : 71 : 72 : 73 : 74 : ... 79 : Next »

블로그 이미지

- Arcy

Notices

Archives

Authors

  1. Arcy

Calendar

«   2012/05   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Site Stats

Total hits:
83924
Today:
47
Yesterday:
79