You are here

[Closed] PortableApps.com Installer 2.02

5 posts / 0 new
Last post
shanet
Offline
Last seen: 12 years 2 months ago
Joined: 2010-05-27 06:00
[Closed] PortableApps.com Installer 2.02

AdvancedExtract1Filter not valid.

I type the following string into the installer.ini file and the installer renders it an invalid variable/constant and deletes it.

AdvancedExtract1Filter=**

I thought maybe I was doing it wrong so I tried the following:

AdvancedExtract1Filter=codeblocks\**

and recieve the same message.
The following is part of the log:

 unknown variable/constant "{AdvancedExtract1Filter}" detected, ignoring (macro:_==:1)
  unknown variable/constant "{AdvancedExtract1Filter}" detected, ignoring (macro:AdvancedExtractFilter:6)

I hope this helps.
Shane Thompson

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 3 months ago
Joined: 2007-04-15 21:08
Context?

Could you please provide the rest of the installer.ini file? I can't immediately see any cause for it and would like to have the rest of the values so I can step through it fully.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

shanet
Offline
Last seen: 12 years 2 months ago
Joined: 2010-05-27 06:00
installer.ini

This is the whole file:

[DownloadFiles]
DownloadURL=http://download.berlios.de/codeblocks/codeblocks-10.05mingw-setup.exe
DownloadName=Codeblocks 10.05 MingW Setup Files
DownloadFilename=codeblocks-10.05mingw-setup.exe
DownloadMD5=cab50ffb133d2362d1a4d76657a7993c
AdditionalInstallSize=155369
AdvancedExtract1To=App\Codeblocks
AdvancedExtract1Filter=Codeblocks\**

I have tried fiddling with the "AdvancedExtract1Filter" in the following ways:

-  AdvancedExtract1Filter=**
-  AdvancedExtract1Filter=Codeblocks
-  AdvancedExtract1Filter=Codeblocks\
-  AdvancedExtract1Filter=Codeblocks\**

I have now decided to downgrade to version 1.03 to see what happens, whether it works on that version or not. It is actually currently running, so I will drop a reply in in about half an hour telling you how it went, however I am now just trying "Extract1.." to see what works, but when I did have "AdvancedExtract", I had no warnings. I looked in the logs and there were no problem messages/warnings.

Shane Thompson

Shane Thompson
shanet[at]people[dot]net[dot]au

"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut ali

shanet
Offline
Last seen: 12 years 2 months ago
Joined: 2010-05-27 06:00
Maybe I'm the bug?

Ok... Maybe I'm doing it wrong?
I thought there was a bug, maybe the bug is in my installer.ini file?
I have the above file, and it downloads the setup file, creates a new folder called "Codeblocks" and deletes the setup file (apparently). Maybe I'm the bug?

Can anyone see faults in my file?
I am sure it's not a double - I went into the google chrome setup file with 7-zip, then I did the same to the codeblocks setup file, so I know it's not a double extract. What is it I am doing wrong?

Thanks heaps, and as always, help is appreciated.

Shane Thompson

Shane Thompson
shanet[at]people[dot]net[dot]au

"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut ali

shanet
Offline
Last seen: 12 years 2 months ago
Joined: 2010-05-27 06:00
Figured it out

Figured it out, I am the bug Sad
Last line:
From

AdvancedExtract1Filter=**

to

AdvancedExtract1Filter=*

That's it!!!
Thanks for the help.
Sorry about the confusion Chris, I have done as you requested.

Shane Thompson.

Shane Thompson
shanet[at]people[dot]net[dot]au

"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut ali

Log in or register to post comments