Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

New Version 3.1 online

- - - - -

  • Please log in to reply
28 replies to this topic

#1
hasi001

hasi001

    Coder

  • Member
  • PipPipPip
  • 324 posts
  • Joined 27-September 04
Hi all.

Version 3.1 is now online.

Configuration wizard's been finished. Download it on the WPI homepage.
Images in signatures shall NOT exceed a total of 300x100 and 80kb.


How to remove advertisement from MSFN

#2
Dynaletik

Dynaletik

    Senior Member

  • Member
  • PipPipPipPip
  • 652 posts
  • Joined 18-September 04
  • OS:none specified
  • Country: Country Flag
Hey hasi...really good work...but where is the save button in the options menu??
The options menu isn't always displayed well....On the right side there are missing some parts of the explanations.....or do i Need 1600 x 1200 for it? :P

And is it possible to put a example into the config menu that does not appear in the config.js so it is there even if you already added a prog?

#3
IGIdeus

IGIdeus

    Newbie

  • Member
  • 18 posts
  • Joined 16-August 04
In Options menu missing vertical scrollbar and buttons for save and cancel

Best regards
IGIdeus

#4
sonica

sonica

    Junior

  • Member
  • Pip
  • 71 posts
  • Joined 01-September 04
only vartical scrollbar is missing, if you use mouse scroll or keyboard you can scroll the window and see buttons

thanks for escape feature


i have another hint for this release but i don't know if javascript supports it

i'd like the possibility to popup options page when i dasabled options button.

i'd like to press some keybord combo ex: CTRL + O to bring options pane up, or at least to bring back options button.


and when options language configuration files will be avaible i can help translating it in italian

bye

sonica

#5
Dynaletik

Dynaletik

    Senior Member

  • Member
  • PipPipPipPip
  • 652 posts
  • Joined 18-September 04
  • OS:none specified
  • Country: Country Flag
no...the buttons don't appear even when I scroll down.

#6
hasi001

hasi001

    Coder

  • Member
  • PipPipPip
  • 324 posts
  • Joined 27-September 04
The thing with the options dialog is that a string is too long (no spaces)

Edit common/optionswizardtemplate.htm, line 181

set it to
             <td width="90%">ToolTip CSS Style: TitleColor, TextColor, TitleBgColor, TextBgColor, TitleBgImag, TextBgImag, TitleTextAlign, TextTextAlign, TitleFontFace, TextFontFace, TipPosition, StickyStyle, TitleFontSize, TextFontSize, Width, Height, BorderSize, PadTextArea, CoordinateX , CoordinateY, TransitionNumber, TransitionDuration, TransparencyLevel , ShadowType, ShadowColor</td>

and all will be nice.

will be in next buxfix release.
Images in signatures shall NOT exceed a total of 300x100 and 80kb.

#7
sonica

sonica

    Junior

  • Member
  • Pip
  • 71 posts
  • Joined 01-September 04
found a problem with escape feature:

i am not able to insert this:
cmd1[pn]=['cdrom', '$OEM$\\Install\\net_framework\\netfxsp1.exe']

if i manually edit config.js and insert that string then wpi loads it as:
cdrom', '$OEM$\Install\net_framework\netfxsp1.exe


and if i save from wpi it saves it as:

cmd1[pn]=['cdrom\', \'$OEM$\\Install\\net_framework\\netfxsp1.exe']



i don't know what to insert in form to have the right string

sonica

#8
BritishBulldog

BritishBulldog

    Member

  • Member
  • PipPip
  • 271 posts
  • Joined 11-October 04
@sonica,

what exactly are you trying to do?
looks like you want to install from CDROM?
then you should move your Install directory out of the $OEM$ directory first as this will always be copied to the hard drive!

put it in the root of your CD
then your cmd line should look like this
cmd1[pn]=['%cdrom%\\Install\\net_framework\\netfxsp1.exe']

To insert it in the config page you only need this
%cdrom%\Install\net_framework\netfxsp1.exe
in the cmd entry line

#9
sonica

sonica

    Junior

  • Member
  • Pip
  • 71 posts
  • Joined 01-September 04

@sonica,

what exactly are you trying to do?
looks like you want to install from CDROM?
then you should move your Install directory out of the $OEM$ directory first as this will always be copied to the hard drive!

put it in the root of your CD
then your cmd line should look like this

cmd1[pn]=['%cdrom%\\Install\\net_framework\\netfxsp1.exe']

To insert it in the config page you only need this
%cdrom%\Install\net_framework\netfxsp1.exe
in the cmd entry line

looks like you want to install from CDROM?
then you should move your Install directory out of the $OEM$ directory first as this will always be copied to the hard drive!


yeah, i want to do this. for what i know not everything inside $OEM£ is copied on hd, just things in $...$ subfolders



i was using that syntax, as written in an old wpi version, in fact that syntax still works in wpi

var cmd1=[]; // drive + Command Line 1, drive = 'systemdrive' or 'cdrom' or 'programfiles' or 'windir' or ''




however using %cdrom% avoid quotes problem


thanks

sonica

#10
MCT

MCT

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,291 posts
  • Joined 19-May 04
  • OS:none specified
  • Country: Country Flag
when i click "config" button the installation buttion is highlighted instead, so config doesnt open :wacko:
Posted Image Posted Image
Windows 7 32Bit 2GB Ram 120GB HDD (Laptop), Windows 8 4GB Ram 1TB HDD (Desktop) Windows XP SP3 VM with enhancements!

#11
hasi001

hasi001

    Coder

  • Member
  • PipPipPip
  • 324 posts
  • Joined 27-September 04
No-no.
Well - the install-button is highlighted when you click on options or config. That's a bug (and fixing took about 2 seconds)

BUT : CONFIG OPENS !!!

It just takes some time ('bout 10 to 20 seconds) to render the HTML.
Images in signatures shall NOT exceed a total of 300x100 and 80kb.

#12
hasi001

hasi001

    Coder

  • Member
  • PipPipPip
  • 324 posts
  • Joined 27-September 04
Minor bugs fixed. Version 3.1.1 ;)
Images in signatures shall NOT exceed a total of 300x100 and 80kb.

#13
Dynaletik

Dynaletik

    Senior Member

  • Member
  • PipPipPipPip
  • 652 posts
  • Joined 18-September 04
  • OS:none specified
  • Country: Country Flag
Do your dependencies work? when I use your config hasi, in debug mode he tells me about the deps...but if i mark ressource kit, he does not select Office... :unsure:

#14
hasi001

hasi001

    Coder

  • Member
  • PipPipPip
  • 324 posts
  • Joined 27-September 04
you're right. something went wrong. no dependencies. aargh.
Images in signatures shall NOT exceed a total of 300x100 and 80kb.

#15
hasi001

hasi001

    Coder

  • Member
  • PipPipPip
  • 324 posts
  • Joined 27-September 04
bugfixed in Version 3.1.2.
Images in signatures shall NOT exceed a total of 300x100 and 80kb.

#16
Astalavista

Astalavista

    MSFN loyalist

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,338 posts
  • Joined 02-December 03
which version had problems

#17
hasi001

hasi001

    Coder

  • Member
  • PipPipPip
  • 324 posts
  • Joined 27-September 04
3.1.1
Images in signatures shall NOT exceed a total of 300x100 and 80kb.

#18
Dynaletik

Dynaletik

    Senior Member

  • Member
  • PipPipPipPip
  • 652 posts
  • Joined 18-September 04
  • OS:none specified
  • Country: Country Flag
Works perfectly now for me hasi.

Now just remove the Disc path option. :P

Here is my WPI with Options and Config Button in the lang.js

I also updated the "txtUsage[lang]" Please look at it.

I only updated english and german...so the other languages have to be done!

#19
Dynaletik

Dynaletik

    Senior Member

  • Member
  • PipPipPipPip
  • 652 posts
  • Joined 18-September 04
  • OS:none specified
  • Country: Country Flag
Now how can I put several languages to the config page (to the configwizardtemplate.htm)?

#20
hasi001

hasi001

    Coder

  • Member
  • PipPipPip
  • 324 posts
  • Joined 27-September 04
Thanks for your work Dynaletik. Incorporated it into my WPI - will be rolled out with next version.

To answer your question:

There's 2 new templates: 1 for the options wizard, and 1 for the config wizard. Both can be found in the common folder.

To make the multi-language the following steps need to be taken:
* For each fixed label on the page, you'd have to define a corresponding label in lang.js.
* At least the english language label must be defined.
* The fixed strings on the .htm template need to be replaced by (simple) scripts.

An example:

Original from optionswizardtemplate.htm
<td nowrap>Language</td>
lang.js has to be updated:
var lblOptionsLanguage=[];
...
lang = 'en';
...
lblOptionsLanguage[lang]=['Language'];
...
lang = 'de';
...
lblOptionsLanguage[lang]=['Sprache'];
...
Modified optionswizardtemplate.htm
<td nowrap>document.write(getText(lblOptionsLanguage));</td>

That's it. A lot of work to do, you see ?
Images in signatures shall NOT exceed a total of 300x100 and 80kb.

#21
Dynaletik

Dynaletik

    Senior Member

  • Member
  • PipPipPipPip
  • 652 posts
  • Joined 18-September 04
  • OS:none specified
  • Country: Country Flag
When I do this...theres document.write(getText(lblOptionsLanguage)); instead of Language or Sprache. there has to be a "link" to the lang.js in the htm or??

#22
hasi001

hasi001

    Coder

  • Member
  • PipPipPip
  • 324 posts
  • Joined 27-September 04
oh yes. sh...

this is because the contents are created dynamically. we'll have to find another way to do the substitutions there.
document.write only works while the page is actually loading. in this case the page is loaded already and we're only modifying the inner HTML of a specific tag.
Images in signatures shall NOT exceed a total of 300x100 and 80kb.

#23
hasi001

hasi001

    Coder

  • Member
  • PipPipPip
  • 324 posts
  • Joined 27-September 04
There's a new Version 3.1.3. Options and config button texts and tooltips can be defined in lang.js now.

Some people complained about that HTML rendering for the config wizard taking so long. I've found another way of doing the rendering, called 'cached template'.

In debug mode you can find a stop watch on the left panel. it measures the time rendering takes. the options dialog has a new option called 'Config create mode'. There's 2 entries there - 'cached template' and 'read & replace'

For my small config, rendering takes about 3 second - cached template is faster only by milliseconds. but please try it out and post your results. THX.

Debug (upper panel) informs you of which rendering mode is used.

Also: if some guru's out there who could spend some of his time looking over config.js's code to speed it up ... please do !
Images in signatures shall NOT exceed a total of 300x100 and 80kb.

#24
Astalavista

Astalavista

    MSFN loyalist

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,338 posts
  • Joined 02-December 03
has anyone noticed when they point to the decription it seems like it is having a epileptic seizures. it like popping in and out.

#25
MCT

MCT

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,291 posts
  • Joined 19-May 04
  • OS:none specified
  • Country: Country Flag
Old Method: 12828ms

New Method: 11804ms
Posted Image Posted Image
Windows 7 32Bit 2GB Ram 120GB HDD (Laptop), Windows 8 4GB Ram 1TB HDD (Desktop) Windows XP SP3 VM with enhancements!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users