我用NetBeans写了一个JAVA应用程序,运行正常,利用NetBeans自带的工具做成JAR包,然后利用exe4j生成.exe文件,最后用InstallShieldX生成安装文件,做好的安装文件在我自己的机器上可以正确安装和运行,但是在 其他的机器(没装JDK)上却不能正常运行,每次点击.exe文件的时候总出现一个提示框,上面只有一个红色的叉,不知到确了什么文件,希望各位高手多多指教啊!!下面是生成安装文件是产生的报告文件,看看缺了什么啊?
javax.comm.properties [ProgramFilesFolder]cust\zyz 始终安装
1999-8-12 8:49:14
467
log.txt [ProgramFilesFolder]cust\zyz
始终安装
2007-8-14 14:54:02
5804126
log4j.properties
[ProgramFilesFolder]cust\zyz
始终安装
2007-7-22 9:51:34
820
comm.jar
[ProgramFilesFolder]cust\zyz
始终安装
2007-8-19 20:15:45
28043
AbsoluteLayout.jar
[ProgramFilesFolder]cust\zyz
始终安装
2007-8-19 20:15:45
2882
swing-layout-1.0.jar
[ProgramFilesFolder]cust\zyz
始终安装
2007-8-19 20:15:45
140545
test01_ZM.dll
[ProgramFilesFolder]cust\zyz
始终安装
2007-7-28 15:13:18
245820
win32com.dll
[ProgramFilesFolder]cust\zyz
始终安装
1999-8-12 8:48:58
27648
ZyzZh.exe
[ProgramFilesFolder]cust\zyz
始终安装
2007-8-19 21:09:54
357376
9520Data.mdb
[ProgramFilesFolder]cust\zyz\database
始终安装
2007-8-13 20:05:54
1118208
winabc.ime
[SystemFolder]
始终安装
2006-7-18 8:00:00
98304
5.1.2600.2180
msctfime.ime
[SystemFolder]
始终安装
2006-7-18 8:00:00
177152
5.1.2600.2180
odbcjt32.dll
[SystemFolder]
始终安装
2006-7-18 8:00:00
278559
4.0.6304.0
mfc42.dll
[SystemFolder]
始终安装
2006-7-18 8:00:00
1028096
6.2.4131.0
MFC42.MAP
[SystemFolder]
始终安装
1998-6-17 0:00:00
797056
MFC42.PDB
[SystemFolder]
始终安装
1998-6-17 0:00:00
8015872
MFC42D.MAP
[SystemFolder]
始终安装
1998-6-17 0:00:00
757357
MFC42D.PDB
[SystemFolder]
始终安装
1998-6-17 0:00:00
3944448
MFC42D.DLL
[SystemFolder]
始终安装
1998-6-17 0:00:00
929844
6.0.8168.0
awt.dll
[SystemFolder]
始终安装
2007-5-2 4:15:53
1343589
5.0.120.4
fontmanager.dll
[SystemFolder]
始终安装
2007-5-2 4:15:54
327798
5.0.120.4
hpi.dll
[SystemFolder]
始终安装
2007-5-2 4:15:54
32878
5.0.120.4
ieprot.dll
[SystemFolder]
始终安装
2007-6-25 8:56:32
106496
1.0.0.10
java.dll
[SystemFolder]
始终安装
2007-5-2 4:15:55
118890
5.0.120.4
JdbcOdbc.dll
[SystemFolder]
始终安装
2007-5-2 4:15:56
53365
5.0.120.4
jvm.dll
[SystemFolder]
始终安装
2007-5-2 4:15:58
1622137
5.0.120.4
net.dll
[SystemFolder]
始终安装
2007-5-2 4:15:56
77926
5.0.120.4
nio.dll
[SystemFolder]
始终安装
2007-5-2 4:15:56
36967
5.0.120.4
verify.dll
[SystemFolder]
始终安装
2007-5-2 4:15:57
49252
5.0.120.4
zip.dll
[SystemFolder]
始终安装
2007-5-2 4:15:57
61547
5.0.120.4
comcat.dll
[SystemFolder]Redist\MS\System
始终安装
1998-12-9 12:52:16
22288
4.71.1460.1
ISDM.exe
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:16:50
217088
3.10.100.1143
ISUSPM.cpl
[SystemFolder]
始终安装
2004-6-14 17:18:54
73728
3.10.100.1143
_ispmres.dll
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:18:28
385024
3.10.100.1143
_isusres.dll
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:18:16
368640
3.10.100.1143
agent.exe
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:18:08
471040
3.10.100.1143
dwusplay.dll
[WindowsFolder]Downloaded Program Files
始终安装
2002-7-25 18:13:18
24576
1.20.100.1203
dwusplay.exe
[WindowsFolder]Downloaded Program Files
始终安装
2002-7-25 18:13:12
196608
1.20.100.1203
issch.exe
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:18:22
81920
3.10.100.1143
ISUSPM.exe
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:18:48
221184
3.10.100.1143
isusweb.dll
[WindowsFolder]Downloaded Program Files
始终安装
2004-6-14 17:17:16
323584
3.10.100.1143
ISUSPM.exe.manifest
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:15:34
586
pm.css
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:15:34
3176
pm.html
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:15:34
4235
background.jpg
[CommonFilesFolder]InstallShield\UpdateService\images
始终安装
2004-6-14 17:15:34
18725
File16.gif
[CommonFilesFolder]InstallShield\UpdateService\images
始终安装
2004-6-14 17:15:34
961
HelpDoc16.gif
[CommonFilesFolder]InstallShield\UpdateService\images
始终安装
2004-6-14 17:15:34
987
left_task.gif
[CommonFilesFolder]InstallShield\UpdateService\images
始终安装
2004-6-14 17:15:34
7753
left_task2.gif
[CommonFilesFolder]InstallShield\UpdateService\images
始终安装
2004-6-14 17:15:34
7323
JETCOMP.exe
[SystemFolder]
始终安装
2000-4-26 13:34:56
39424
1.0.715.0
msexch35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:44
344064
3.51.623.0
msexcl35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:46
252688
3.51.3227.2
msjet35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:48
1050896
3.51.3328.0
msjint35.dll
[SystemFolder]
始终安装
2000-4-26 13:35:02
139264
3.51.623.0
msjt4jlt.dll
[SystemFolder]
始终安装
2000-4-26 13:34:48
1238288
3.52.3328.0
msjter35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:56
24848
3.51.623.0
msltus35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:50
168720
3.51.3227.2
mspdox35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:50
250128
3.51.3007.0
msrd2x35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:50
262144
3.51.623.0
msrepl35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:56
415504
3.51.3225.0
msrpfs35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:58
44304
3.51.2826.0
mstext35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:52
166672
3.51.3330.0
msxbse35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:52
294912
3.51.623.0
vbajet32.dll
[SystemFolder]
始终安装
2000-4-26 13:34:58
30992
6.0.1.8167
VBAR332.DLL
[SystemFolder]
始终安装
2000-4-26 13:34:58
368912
3.0.0.6908
Odbcjet.hlp
[SystemFolder]
始终安装
2000-4-26 13:35:02
170865
Expsrv.dll
[SystemFolder]
始终安装
2000-4-26 13:34:56
378128
6.0.0.8167
Odbcjet.cnt
[SystemFolder]
始终安装
2000-4-26 13:35:02
6902
msvcrt.dll
[SystemFolder]Redist\MS\System
始终安装
2000-4-6 20:10:40
278581
6.0.8797.0
olepro32.dll
[SystemFolder]Redist\MS\System
始终安装
1999-3-8 12:50:56
164112
5.0.4275.1
stdole2.tlb
[SystemFolder]Redist\MS\System
始终安装
2000-3-28 16:58:08
17920
2.40.4275.1
asycfilt.dll
[SystemFolder]Redist\MS\System
始终安装
1999-3-8 12:50:56
147728
2.40.4275.1
oleaut32.dll
[SystemFolder]Redist\MS\System
始终安装
2000-4-12 14:00:24
598288
2.40.4275.1
javax.comm.properties [ProgramFilesFolder]cust\zyz 始终安装
1999-8-12 8:49:14
467
log.txt [ProgramFilesFolder]cust\zyz
始终安装
2007-8-14 14:54:02
5804126
log4j.properties
[ProgramFilesFolder]cust\zyz
始终安装
2007-7-22 9:51:34
820
comm.jar
[ProgramFilesFolder]cust\zyz
始终安装
2007-8-19 20:15:45
28043
AbsoluteLayout.jar
[ProgramFilesFolder]cust\zyz
始终安装
2007-8-19 20:15:45
2882
swing-layout-1.0.jar
[ProgramFilesFolder]cust\zyz
始终安装
2007-8-19 20:15:45
140545
test01_ZM.dll
[ProgramFilesFolder]cust\zyz
始终安装
2007-7-28 15:13:18
245820
win32com.dll
[ProgramFilesFolder]cust\zyz
始终安装
1999-8-12 8:48:58
27648
ZyzZh.exe
[ProgramFilesFolder]cust\zyz
始终安装
2007-8-19 21:09:54
357376
9520Data.mdb
[ProgramFilesFolder]cust\zyz\database
始终安装
2007-8-13 20:05:54
1118208
winabc.ime
[SystemFolder]
始终安装
2006-7-18 8:00:00
98304
5.1.2600.2180
msctfime.ime
[SystemFolder]
始终安装
2006-7-18 8:00:00
177152
5.1.2600.2180
odbcjt32.dll
[SystemFolder]
始终安装
2006-7-18 8:00:00
278559
4.0.6304.0
mfc42.dll
[SystemFolder]
始终安装
2006-7-18 8:00:00
1028096
6.2.4131.0
MFC42.MAP
[SystemFolder]
始终安装
1998-6-17 0:00:00
797056
MFC42.PDB
[SystemFolder]
始终安装
1998-6-17 0:00:00
8015872
MFC42D.MAP
[SystemFolder]
始终安装
1998-6-17 0:00:00
757357
MFC42D.PDB
[SystemFolder]
始终安装
1998-6-17 0:00:00
3944448
MFC42D.DLL
[SystemFolder]
始终安装
1998-6-17 0:00:00
929844
6.0.8168.0
awt.dll
[SystemFolder]
始终安装
2007-5-2 4:15:53
1343589
5.0.120.4
fontmanager.dll
[SystemFolder]
始终安装
2007-5-2 4:15:54
327798
5.0.120.4
hpi.dll
[SystemFolder]
始终安装
2007-5-2 4:15:54
32878
5.0.120.4
ieprot.dll
[SystemFolder]
始终安装
2007-6-25 8:56:32
106496
1.0.0.10
java.dll
[SystemFolder]
始终安装
2007-5-2 4:15:55
118890
5.0.120.4
JdbcOdbc.dll
[SystemFolder]
始终安装
2007-5-2 4:15:56
53365
5.0.120.4
jvm.dll
[SystemFolder]
始终安装
2007-5-2 4:15:58
1622137
5.0.120.4
net.dll
[SystemFolder]
始终安装
2007-5-2 4:15:56
77926
5.0.120.4
nio.dll
[SystemFolder]
始终安装
2007-5-2 4:15:56
36967
5.0.120.4
verify.dll
[SystemFolder]
始终安装
2007-5-2 4:15:57
49252
5.0.120.4
zip.dll
[SystemFolder]
始终安装
2007-5-2 4:15:57
61547
5.0.120.4
comcat.dll
[SystemFolder]Redist\MS\System
始终安装
1998-12-9 12:52:16
22288
4.71.1460.1
ISDM.exe
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:16:50
217088
3.10.100.1143
ISUSPM.cpl
[SystemFolder]
始终安装
2004-6-14 17:18:54
73728
3.10.100.1143
_ispmres.dll
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:18:28
385024
3.10.100.1143
_isusres.dll
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:18:16
368640
3.10.100.1143
agent.exe
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:18:08
471040
3.10.100.1143
dwusplay.dll
[WindowsFolder]Downloaded Program Files
始终安装
2002-7-25 18:13:18
24576
1.20.100.1203
dwusplay.exe
[WindowsFolder]Downloaded Program Files
始终安装
2002-7-25 18:13:12
196608
1.20.100.1203
issch.exe
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:18:22
81920
3.10.100.1143
ISUSPM.exe
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:18:48
221184
3.10.100.1143
isusweb.dll
[WindowsFolder]Downloaded Program Files
始终安装
2004-6-14 17:17:16
323584
3.10.100.1143
ISUSPM.exe.manifest
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:15:34
586
pm.css
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:15:34
3176
pm.html
[CommonFilesFolder]InstallShield\UpdateService
始终安装
2004-6-14 17:15:34
4235
background.jpg
[CommonFilesFolder]InstallShield\UpdateService\images
始终安装
2004-6-14 17:15:34
18725
File16.gif
[CommonFilesFolder]InstallShield\UpdateService\images
始终安装
2004-6-14 17:15:34
961
HelpDoc16.gif
[CommonFilesFolder]InstallShield\UpdateService\images
始终安装
2004-6-14 17:15:34
987
left_task.gif
[CommonFilesFolder]InstallShield\UpdateService\images
始终安装
2004-6-14 17:15:34
7753
left_task2.gif
[CommonFilesFolder]InstallShield\UpdateService\images
始终安装
2004-6-14 17:15:34
7323
JETCOMP.exe
[SystemFolder]
始终安装
2000-4-26 13:34:56
39424
1.0.715.0
msexch35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:44
344064
3.51.623.0
msexcl35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:46
252688
3.51.3227.2
msjet35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:48
1050896
3.51.3328.0
msjint35.dll
[SystemFolder]
始终安装
2000-4-26 13:35:02
139264
3.51.623.0
msjt4jlt.dll
[SystemFolder]
始终安装
2000-4-26 13:34:48
1238288
3.52.3328.0
msjter35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:56
24848
3.51.623.0
msltus35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:50
168720
3.51.3227.2
mspdox35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:50
250128
3.51.3007.0
msrd2x35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:50
262144
3.51.623.0
msrepl35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:56
415504
3.51.3225.0
msrpfs35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:58
44304
3.51.2826.0
mstext35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:52
166672
3.51.3330.0
msxbse35.dll
[SystemFolder]
始终安装
2000-4-26 13:34:52
294912
3.51.623.0
vbajet32.dll
[SystemFolder]
始终安装
2000-4-26 13:34:58
30992
6.0.1.8167
VBAR332.DLL
[SystemFolder]
始终安装
2000-4-26 13:34:58
368912
3.0.0.6908
Odbcjet.hlp
[SystemFolder]
始终安装
2000-4-26 13:35:02
170865
Expsrv.dll
[SystemFolder]
始终安装
2000-4-26 13:34:56
378128
6.0.0.8167
Odbcjet.cnt
[SystemFolder]
始终安装
2000-4-26 13:35:02
6902
msvcrt.dll
[SystemFolder]Redist\MS\System
始终安装
2000-4-6 20:10:40
278581
6.0.8797.0
olepro32.dll
[SystemFolder]Redist\MS\System
始终安装
1999-3-8 12:50:56
164112
5.0.4275.1
stdole2.tlb
[SystemFolder]Redist\MS\System
始终安装
2000-3-28 16:58:08
17920
2.40.4275.1
asycfilt.dll
[SystemFolder]Redist\MS\System
始终安装
1999-3-8 12:50:56
147728
2.40.4275.1
oleaut32.dll
[SystemFolder]Redist\MS\System
始终安装
2000-4-12 14:00:24
598288
2.40.4275.1
我换了一种方式,写了一个批处理文件,然后把jre拷到项目文件夹里边,拷到其他的机器上,结果可以运行了。看来就是没有jre惹的祸啊!
但是每次安装都让人家先装一个jre,似乎有一点不太人道啊,用什么方法可以把jre都放到安装包里边啊!