hasi001
Content Type
Profiles
Forums
Events
Posts posted by hasi001
-
-
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 -
Well .. perhaps others could've helped you too...
0 -
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 -
of course. but he wants the apps to be hidden (not shown on UI)
0 -
@blinkdt
This has nothing to do with this thread's context. There's a pinned thread in the forum for change requests and wishes. Post your message there (I use that thread for inspiration).
BTW: nice change request. I'll put 'hidden (forced install) programs' on my list.
0 -
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 -
-
bugfixed in Version 3.1.2.
0 -
you're right. something went wrong. no dependencies. aargh.
0 -
Minor bugs fixed. Version 3.1.1
0 -
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 -
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 -
Escape every backslash: \ --> \\
escape every apostophe: " --> \"
each line is a single command
0 -
Hi all.
Version 3.1 is now online.
Configuration wizard's been finished. Download it on the WPI homepage.
0 -
No. can't be done. It takes time to generate the HTML. This is because i have to do some regular expression replacements, when inserting the HTML for a prog.
If you want to know more, look into common/configwizardtemplate.htm. At some positions you'll find the string %pn% which is searched for and replaced by the programs sequence number. This is mainly to have distinct form names.
So frmcfg%pn% gets frmcfg1 for program number 1 and so on ...
If you want it faster, you'd have to buy a more powerful machine.
Sorry.
0 -
Dropdown box won't allow a new category to be added.
0 -
must be possible with javascript. post a link to w free working sample and I'll incorporate the color picker (if possible - there's always a few problems with HTA and popup windows)
0 -
Sorry. I can't pin it. Not enough rights.
0 -
Bugfix done. See first post.
0 -
Ok. It's definetly buggy. Will fix it soon.
i like the form but the presence of every single variable, even the ones not so frequent make it looking a little heavySo which ones should I omit ?
0 -
Click on the link in my signature. There you are.
0 -
Hi folks.
Read thru the change requests and found some of you wishing for an option to 'exclude' applications when others are selected.
We know how dependencies work. If you select a program A, which is dependent on another program A, which isn't selected, then A get's selected too. A's parent would also get selected, until no dependencies are left.
The same with deselection. I called that functionality 'dependecies'
Now on to 'exclusions':
The requested functionality seems to be the opposite to dependencies. If program A is selected, program B should be deselected - then follow the deselection rules of 'dependencies', right ?
All progs that got deselected in this step should be disabled too.
If A is deselected again, then enable all progs, that got deselected.
Any additions ?
0 -
There's bee a change request, to have a wizard for program definition, as we have for options.
Here is a beta of WPI with configuration wizard. Try it. Post bugs.
Version 3.1 (beta)
Any suggestions ?
[EDIT]
Some bugs with deletion fixed.
Minor layout changes.
Quick jump to program column for better navigation
[/EDIT]
0 -
Who voted for yes ? Please explain why?
0
Scrollbars?
in Windows Post-Install Wizard (WPI)
Posted
if your prog don't fit the page, there's a pagebreak and 2 buttons on the right side of the window for navigating up and down. so it doesn't matter hown many progs you define - you can do this 'pseudo-scrolling' anyways.