View Single Post
Old 5th March 2020, 13:17   #1
anilb
Junior Member
 
Join Date: Mar 2020
Posts: 4
nsi script file compiled successfully but no installer package is created

Here is sample code
Section "test (required)"
SectionIn RO
SetOutPath $INSTDIR
File /r "test\*"
;File "test.txt"
SectionEnd
When I try to compile this code it compile successfully, but didn't produce installation package.

Same scipt I have tested with the uncommenting line "File test.txt" and commenting copy test folder line and it produce installer package.

Can someone help what is wrong here. Can I debug/get more detail logs to resolve this issue.

Here is compilation log ----
InstallDir: "$PROGRAMFILES\nullsoft_test1"
Page: directory
Page: instfiles
Section: "test (required)"
SectionIn: [RO]
SetOutPath: "$INSTDIR"
File: Descending to: "test\bin\"
File: "hadoop" [compress] 2307/6549 bytes
File: "hadoop.cmd" [compress] 2732/8514 bytes
File: "hadoop.dll" [compress] 43916/86016 bytes


Processed 1 file, writing output (x86-unicode):
Processing pages... Done!
Removing unused resources... Done!
Generating language tables... Done!

Output: "C:\Users\anil\project\test.exe"
Install: 2 pages (128 bytes), 1 section (2072 bytes), 48 instructions (1344 bytes), 443 strings (2976 bytes), 1 language table (230 bytes).

Using zlib compression.
EXE header size: 37888 / 39424 bytes
Install code: 1626 / 7142 bytes
Install data: 584447 / 2224633 bytes
CRC (0x2B664BA9): 4 / 4 bytes

Total size: 623965 / 2271203 bytes (27.4%)
anilb is offline   Reply With Quote