UniUploader 2.5.0 NSIS script warnings

Support and feedback for UniUploader
UniUploader requires microsoft .net runtimes!

UniUploader 2.5.0 NSIS script warnings

Postby Munazz » Mon Oct 16, 2006 3:40 am

Hello, just a quick synopsis of what I did and what errors I got.

I downloaded UniUploader 2.5.0 no_installer.zip and unzipped that to a directory. I copied over my personal logo1.gif and logo2.gif and my settings.ini file.

I then downloaded and unzipped the UniUploader 2.5.0 NSIS script.zip and unzipped it to that same directory.

I opened the .nsi file to edit it. I found where it had settings.ini commented out. I uncommented the line, but I also noticed it wanted to put that file in UniUploader\settings.ini instead of just the same directory as the other files. I thought that wrong so I changed it to just "settings.ini" since that is how the regular installer did it on my machine. I then saved it and closed the file.

I compiled the NSIS and recieved the following message:

4 warnings:
LangString "DESC_000022" is not set in language table of language English
LangString "DESC_000023" is not set in language table of language English
LangString "PRODUCT_NAME" is not set in language table of language English
Variable "MUI_TEXT" not referenced, wasting memory!

So I guess some things were left out of the languages.ini file? No big deal, and I will assume that it all works just fine. But I wanted to post those two issues to see if they were infact problems and so you could fix them on your end.

Thanks again for all your work.
Image
User avatar
Munazz
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 36
Joined: Mon Jul 31, 2006 7:50 am
Location: Fairfax, VA

UniUploader 2.5.0 NSIS script warnings

Postby MattM » Mon Oct 16, 2006 3:59 am

ahh yea, I noticed the warnings too but kinda shrugged it off. Does the installer put settings.ini in the right spot when you use the installer?
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Re: UniUploader 2.5.0 NSIS script warnings

Postby Munazz » Mon Oct 16, 2006 10:27 am

Yes, when I had it changed to be "settings.ini" without the directory, it worked.
User avatar
Munazz
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 36
Joined: Mon Jul 31, 2006 7:50 am
Location: Fairfax, VA

UniUploader 2.5.0 NSIS script warnings

Postby RainRider » Sat Oct 21, 2006 6:50 am

In UniUploader_v2.5.0_NSIS_Script.nsi:

Substitute "$(DESC_000022)" with "Log in as administrator an try again."
and "$(DESC_000023)" with "OS not suported."

Find
Code: Select all
LangString FAILED_DOTNET_INSTALL ${LANG_ENGLISH} "The installation of $(PRODUCT_NAME)
and add above it
Code: Select all
LangString PRODUCT_NAME ${LANG_ENGLISH} "UniUploader"



Don't know about MUI_TEXT.

P.S.
After
Code: Select all
; Language files
!insertmacro MUI_LANGUAGE "English"

add
Code: Select all
!insertmacro MUI_LANGUAGE "German"
and count the warnings :rabbit2:
RainRider
WR.net Apprentice
WR.net Apprentice
 
Posts: 50
Joined: Thu Jul 20, 2006 11:47 pm

UniUploader 2.5.0 NSIS script warnings

Postby Snipes » Mon Oct 23, 2006 2:31 am

Code: Select all
51 warnings:
  LangString "DESC_REMAINING" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:39)
  LangString "DESC_PROGRESS" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:41)
  LangString "DESC_PLURAL" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:43)
  LangString "DESC_HOUR" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:45)
  LangString "DESC_MINUTE" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:47)
  LangString "DESC_SECOND" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:49)
  LangString "DESC_CONNECTING" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:51)
  LangString "DESC_DOWNLOADING" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:53)
  LangString "DESC_SHORTDOTNET" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:55)
  LangString "DESC_LONGDOTNET" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:57)
  LangString "DESC_DOTNET_DECISION" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:65)
  LangString "SEC_DOTNET" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:67)
  LangString "DESC_INSTALLING" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:69)
  LangString "DESC_DOWNLOADING1" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:71)
  LangString "DESC_DOWNLOADFAILED" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:73)
  LangString "ERROR_DOTNET_DUPLICATE_INSTANCE" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:77)
  LangString "ERROR_NOT_ADMINISTRATOR" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:79)
  LangString "ERROR_INVALID_PLATFORM" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:81)
  LangString "DESC_DOTNET_TIMEOUT" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:85)
  LangString "ERROR_DOTNET_INVALID_PATH" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:89)
  LangString "ERROR_DOTNET_FATAL" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:93)
  LangString "PRODUCT_NAME" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:95)
  LangString "FAILED_DOTNET_INSTALL" set multiple times for 0, wasting space (C:\TEMP\UniUpladerNSIS\UniUploader_v2.5.0_NSIS_Script.nsi:99)
  LangString "SEC_DOTNET" is not set in language table of language German
  LangString "DESC_DOWNLOADING1" is not set in language table of language German
  LangString "DESC_SHORTDOTNET" is not set in language table of language German
  LangString "DESC_DOTNET_DECISION" is not set in language table of language German
  LangString "DESC_REMAINING" is not set in language table of language German
  LangString "DESC_PROGRESS" is not set in language table of language German
  LangString "DESC_PLURAL" is not set in language table of language German
  LangString "DESC_HOUR" is not set in language table of language German
  LangString "DESC_MINUTE" is not set in language table of language German
  LangString "DESC_SECOND" is not set in language table of language German
  LangString "DESC_CONNECTING" is not set in language table of language German
  LangString "DESC_DOWNLOADING" is not set in language table of language German
  LangString "DESC_DOWNLOADFAILED" is not set in language table of language German
  LangString "DESC_INSTALLING" is not set in language table of language German
  LangString "ERROR_DOTNET_DUPLICATE_INSTANCE" is not set in language table of language German
  LangString "ERROR_NOT_ADMINISTRATOR" is not set in language table of language German
  LangString "ERROR_INVALID_PLATFORM" is not set in language table of language German
  LangString "DESC_DOTNET_TIMEOUT" is not set in language table of language German
  LangString "ERROR_DOTNET_INVALID_PATH" is not set in language table of language German
  LangString "ERROR_DOTNET_FATAL" is not set in language table of language German
  LangString "FAILED_DOTNET_INSTALL" is not set in language table of language German
  LangString "DESC_LONGDOTNET" is not set in language table of language German
  LangString "DESC_000022" is not set in language table of language German
  LangString "DESC_000022" is not set in language table of language English
  LangString "DESC_000023" is not set in language table of language German
  LangString "DESC_000023" is not set in language table of language English
  LangString "PRODUCT_NAME" is not set in language table of language German
  Variable "MUI_TEXT" not referenced, wasting memory!
Attachments
uniuploader_v2.5.0_nsis_script.txt
corresponing NSIS script
(16.05 KiB) Downloaded 326 times
Last edited by Snipes on Tue Oct 24, 2006 9:22 pm, edited 3 times in total.
User avatar
Snipes
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Wed Jul 05, 2006 7:22 pm

UniUploader 2.5.0 NSIS script warnings

Postby MattM » Mon Oct 23, 2006 8:17 am

what you post without an explanation is worthless...

so stop posting nonsense
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Re: UniUploader 2.5.0 NSIS script warnings

Postby Snipes » Tue Oct 24, 2006 2:10 am

I just answered the "and count the warnings" from RainRider :P
What I did was to enter the changes he proposed and the result I get. Additionally I added some German strings to the script that's why I posted the file as well.
I thought this was obvious, but it seems that it was not :oops:
User avatar
Snipes
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Wed Jul 05, 2006 7:22 pm

UniUploader 2.5.0 NSIS script warnings

Postby MattM » Tue Oct 24, 2006 4:52 am

lol np
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Re: UniUploader 2.5.0 NSIS script warnings

Postby Snipes » Tue Oct 24, 2006 9:17 pm

and stupid me, I posted the wrong file as attachment :oops:
Will correct this immediately :P
User avatar
Snipes
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Wed Jul 05, 2006 7:22 pm

UniUploader 2.5.0 NSIS script warnings

Postby RainRider » Tue Oct 24, 2006 9:51 pm

Look in this thread. Download the script, replace it the "old" one and compile. Follow the instructions Matt provided. It should compile without any warning or errors. Give the installer a try, post problems if any.
RainRider
WR.net Apprentice
WR.net Apprentice
 
Posts: 50
Joined: Thu Jul 20, 2006 11:47 pm

Re: UniUploader 2.5.0 NSIS script warnings

Postby Snipes » Wed Oct 25, 2006 5:30 pm

Thanks RainRider, I did already find the thread with your script and it works fine! Thanks for your work!
User avatar
Snipes
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Wed Jul 05, 2006 7:22 pm

UniUploader 2.5.0 NSIS script warnings

Postby MattM » Thu Oct 26, 2006 5:55 pm

can anyone confirm if RainRider's version installs .NET correctly?
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA


Return to UniUploader

Who is online

Users browsing this forum: No registered users and 1 guest

cron