Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Homes32

Pages: [1]
1
Forum Support / Attachment Error
« on: February 27, 2017, 10:20:12 AM »
When trying to attach a file to a PM I get the following error when sending the message

Quote
The attachments upload directory is not writable. Your attachment or avatar cannot be saved.

The send fails and I get the message regardless of whether I have checked "Save a copy in my inbox"

2
LiveSystem pro / Getting started questions
« on: February 20, 2017, 09:40:28 AM »
Please excuse me if these questions have already been answered somewhere. I'm a native English speaker so the German forums are hard to follow sometimes.

A few questions as I'm experimenting with LSP.

  • Is there planned support for attachments/embedded files?
  • Are feature requests/fixes/but submission welcome and if so where should they be posted
  • What is the dev process for LSP? is it just kare in his freetime or is it a collaborative effort?
  • Projects have both a Project.man and Project.cfg - The 2 files are nearly identical but the editor only opens Project.man what is the purpose of Project.cfg?

Thanks :)

Homes32

3
Development and code snippets / ClearLock [BETA TESTING]
« on: December 23, 2011, 05:10:25 AM »
ClearLock 1.5.0 is ready for testing!

changes include:
Code: [Select]
Fixed bug where taskman could be accessed during a lockout
fixed sometimes input was enabled on ctrl-alt-del
added blacklist config
re-write of config GUI
more config for lock message appearance
re-write password hashing to use non-reversable encryption. no more cleartext pw in memory!
better multi-monitor support

play around and let me know if something is broke or you have suggestions/requests!
use /config to access the config gui

Merry Christmas!  :newyear:
Homes32


4
Macro/Command Development / ScriptInterface
« on: May 09, 2011, 05:08:53 PM »
following discussion here: http://theoven.org//index.php?topic=94.msg1878#msg1878
features previously provided by GetInterface, WriteInterface, and ShowComponent have been merged into Interface command allowing for greater flexibility, multiple interface support, less complex syntax, and speed improvements.

new syntax:

ScriptInterface,Read,%VarResult%,Filename,ComponentName[,Position][,Interface]
ScriptInterface,Write,NewValue,Filename,ComponentName[,Position][,Interface]
ScriptInterface,State,ComponentName[,State][,Filename][,RefreshInterface][,Interface]

* ScriptInterface HELP.zip (4.61 kB - downloaded 208 times.)
* Common_Api.script (250.07 kB - downloaded 252 times.)

5
Hi all!

WimUtil 3.0 is ready for testing.

this is a major overhaul. A big thank you to Nikzzz for allowing me to wreck havoc on his program! :)

New
  • improved GUI
  • extract wim info to xml or .ini
  • extract file option - AIK3 only
  • x64 bit support
  • better error handling and extensive logging
  • ability to specify a custom wimgapi.dll to use

syntax help is available by starting the program without cmd line parms.

Removed
  • Install/Uninstall options for wimfltr.sys have been removed to make this program compliant with MS Licensing

Debug Info
Wimutil returns the following exit codes:
;           0   - Success
;           1   - Syntax Error: The command was used incorrectly, e.g., with the wrong number of arguments, a bad flag, a bad syntax in a parameter, or whatever.
;           2   - File Not Found
;           3   - Path Not Found
;           251 - WIMCapture error
;           252 - WIMCreateFile error
;           253 - Mount Error
;           254 - UnMount Error
;           255 - Stopped by User Request.

debug logging is saved to %Temp%\Wimutil.log
errors are logged in the format: Description ( [Function Return Code], [@Error], [@extended] )
Function Returns vary based on the function and my return a handle, generally if the function returns nonzero it was successful

@Error usually refers to the following values:
;                                  0 - No DLLCall error.
;                1 - Unable to use the DLL file
;                2 - Unknown "return type"
;                3 - "function" not found in the DLL file
;               4 - Bad number of parameters.

@extended usually returns GetLastError()
values can be found here: http://msdn.microsoft.com/en-us/library/ms681381%28v=vs.85%29.aspx




the core API has been released here

happy testing!

Homes32

Known Issues
  • capture gui freezes if you click anywhere during a capture. - this is an autoit issue. a possible workaround is being tested.
  • /Info will cause a hard crash at random I don't know how to fix this or what specifically is causing it. - http://theoven.org//index.php?topic=101.msg1775#msg1775
  • ????


Version History
Code: [Select]
3.2.0 (09/19/2011) - Homes32
- GetInfo now outputs XML as UTF16 - Thanks to JFX for suggesting.
- Fixed random crash with /info switch. - Thanks JFX

v3.1.3 (6/29/2011) - Homes32
- Fixed a bug where /Boot would never set the iBootFlag to 1
- Added timestamps to log for: capture, getattributes, getxmlinfo

v3.1.2 (05/02/2011) - Homes32
- Rewrote WriteLog()
- Added workaround for mounting with wimgapi.dll 6.0 Read-Only (http://theoven.org//index.php?topic=101.msg1648#msg1648)
- Fixed a bug where loading wimgapi.dll failed if config file exists but api key was not present.
- Minor code cleanups.

v3.1.1 (04/15/2011) - Homes32
- Fixed required # cmd line args for capture
- Changed search order for wimgapi.dll. Program will 1st look for wimutil.ini, if not specified then in @scriptDir, if not exist then look in @SystemDir.
- Extract syntax change. requires a directory path to extract instead of a directory and file name path. the old method is no longer supported. if you want to rename the file after extraction do so manually.
- Extract will now create the destination directory if it does not exist.
- WimUtil.ini now accepts paths relative to @ScriptDir
- Commands are now prefixed with /
- Some tweaks to [Info] section in .ini output.

v3.1.0 (04/08/2011) - Homes32
- Fixed mount path was not created if it didn't exist
- Only check for driver if mount/unmount
- Better error checking for wimgapi.dll and proper driver
- wimutil will look for Wimgapi.dll in @ScriptDir ; value in Wimutil.ini overrides all. you can use @SystemDir in wimutil.ini to specify use wimgapi.dll on local system.
- check wimgapi.dll version and warn if feature not available. (ex. extract/cleanup)
- if no compression option is specified capture uses /xpress compression by default
- added cleanup operation: wimutil.exe Cleanup
- added remount operation: wimutil.exe remount
- description for image capture is no longer mandatory.


Older versions are archived here

6
Macro/Command Development / Wim Mounting with CAPI
« on: March 02, 2011, 08:23:27 AM »
Hi all,

I finished adding wim mounting/unmounting functions to the CAPI

Supported WimTools are ImageX.exe and WimUtil.exe

Synatx help for the API menu (don't forget to add the APIDef to script.project) and html help for paraglider's chm are also included.

Changes to CAPI
Added new functions for mounting and unmouting wim images via API and changed old clean [UnMountWim] to [Clean_UnMountWim] and set to use new functions.

Functions added: [MountWim] [UnMountWim] [MountWim_ImageX] [UnMountWim_ImageX] [MountWim_WimUtil] [UnMountWim_WimUtil] [MountWim_DISM] [UnMountWim_DISM]

To keep the API as "dumb" and generic as possible The mount tool is decided by the project and is read from Project.ini
Code: [Select]
[ProjectInfo]
WimTools=   

Example for ImageX
Code: [Select]
[ProjectInfo]
WimTools=ImageX
imagex=C:\WinBuilder\Projects\Tools\Win7PE_SE\X64\imagex.exe

Example for WimUtil
Code: [Select]
[ProjectInfo]
WimTools=WimUtil
WimUtil=C:\WinBuilder\Projects\Tools\win7pe_SE\x86\WimUtil.exe

all file exist, error checking, mount test, and directory creation is done by the API leaving a very small and convenient footprint for .script developers


I have converted the current Win7PE_SE  to run using the API Mount/Unmount and the modified scripts are attached for your testing pleasure. new API commands work very well and cut down a large amount of redundant code used as well as being very easy to use for individual scripts for special mounting/unmounting needs, unlike trying to use functions from 54-Mount.script.

hope you like. let me know if there is something that needs fixed.

Homes32

http://homes32.winbuilder.net/projects/random/capiwim.rar

Pages: [1]
Powered by EzPortal