Hello
I'm make portable installer with online download. Downloadable exe is nullsoft installer. When unpack this, in App\MyApp i'm see $PLUGINSDIR directory but really dont need it. How to skip unpacking this folder?
You are here
$PLUGINSDIR and some unwanted directories
March 27, 2014 - 3:39am
#1
$PLUGINSDIR and some unwanted directories
Try this:
In the DownloadFiles section of installer.ini, ensure that you have the lines AdvancedExtract1To=App\insertappnamehere and AdvancedExtractFilter1=$_OutDir\**
Note that you should replace "insertappnamehere" with the app's name.
If that doesn't work, plese post the contents of your installer.ini file here, and we can figure out what the problem is.
Now, installer not working and i'm dont know why. EXE is downloaded but not unpacked. Heres all the code of installer.ini:
[CheckRunning]
CloseEXE=nnguard.exe
CloseEXE=tm.exe
[Source]
IncludeInstallerSource=false
[MainDirectories]
RemoveAppDirectory=false
RemoveDataDirectory=false
RemoveOtherDirectory=false
[DownloadFiles]
DownloadURL=http://www.nncron.ru/download/nncron193b3.exe
DownloadName=nncron193b3.exe
DownloadFilename=nncron193b3.exe
DownloadMD5=1b807fb0e6d1aa30207bbc72585c9c22
AdditionalInstallSize=2000
AdvancedExtract1To=App\nnCron
AdvancedExtractFilter1=$_OutDir\**
It looked right to me, so I checked the documentation, and it looks like I made an error in my previous instructions:
Change AdvancedExtractFilter1 to AdavancedExtract1Filter, as documented at the link above, and it should work no problem.
AdvancedExtract1Filter=$_OutDir\**
Got a installer message:
ERROR: (nncron193b3.exe > App\nnCron)
and folder created nnCronPortable\7zTemp
in App\nnCron cleanly, no files
I'll have to take a look at the exe then, maybe it's set up different.
Native installer or portableapps installer?
If second, then: http://www.mediafire.com/download/4jnu18jp8a3dbvc/nnCronPortable_1.93_be...
No,the nncron exe, but I'll take a look at this one too