• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
hasi001

New Version 3.1 online

29 posts in this topic

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?

0

Share this post


Link to post
Share on other sites

In Options menu missing vertical scrollbar and buttons for save and cancel

Best regards

IGIdeus

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

no...the buttons don't appear even when I scroll down.

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

@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

0

Share this post


Link to post
Share on other sites
@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

0

Share this post


Link to post
Share on other sites

when i click "config" button the installation buttion is highlighted instead, so config doesnt open :wacko:

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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:

0

Share this post


Link to post
Share on other sites

you're right. something went wrong. no dependencies. aargh.

0

Share this post


Link to post
Share on other sites

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!

0

Share this post


Link to post
Share on other sites

Now how can I put several languages to the config page (to the configwizardtemplate.htm)?

0

Share this post


Link to post
Share on other sites

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 ?

0

Share this post


Link to post
Share on other sites

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??

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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 !

0

Share this post


Link to post
Share on other sites

has anyone noticed when they point to the decription it seems like it is having a epileptic seizures. it like popping in and out.

0

Share this post


Link to post
Share on other sites

Old Method: 12828ms

New Method: 11804ms

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.