You are here

$PLUGINSDIR and some unwanted directories

8 posts / 0 new
Last post
m-alice
m-alice's picture
Offline
Last seen: 2 years 5 days ago
Joined: 2012-09-23 03:25
$PLUGINSDIR and some unwanted directories

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?

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 4 months 6 days ago
DeveloperModerator
Joined: 2008-07-24 18:46
Try then post installer.ini

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.

m-alice
m-alice's picture
Offline
Last seen: 2 years 5 days ago
Joined: 2012-09-23 03:25
Something broken

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\**

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 4 months 6 days ago
DeveloperModerator
Joined: 2008-07-24 18:46
My error

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.

m-alice
m-alice's picture
Offline
Last seen: 2 years 5 days ago
Joined: 2012-09-23 03:25
Shifts are

AdvancedExtract1Filter=$_OutDir\**

Got a installer message: ERROR: (nncron193b3.exe > App\nnCron)
and folder created nnCronPortable\7zTemp
in App\nnCron cleanly, no files

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 4 months 6 days ago
DeveloperModerator
Joined: 2008-07-24 18:46
look at exe

I'll have to take a look at the exe then, maybe it's set up different.

m-alice
m-alice's picture
Offline
Last seen: 2 years 5 days ago
Joined: 2012-09-23 03:25
Which exe

Native installer or portableapps installer?
If second, then: http://www.mediafire.com/download/4jnu18jp8a3dbvc/nnCronPortable_1.93_be...

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 4 months 6 days ago
DeveloperModerator
Joined: 2008-07-24 18:46
nncron

No,the nncron exe, but I'll take a look at this one too

Log in or register to post comments