PDA

View Full Version : #imagecfg



NewsArchive
04-06-2017, 02:00 AM
Would be cool if there was an option to perform the stuff that
imagecfg.exe does.

Jeff Slarve
www.jssoftware.com
Twitter free since Jan 11, 2016
I'll search help files & Google for you.

Grammar troll's, are the worse.

NewsArchive
04-07-2017, 06:04 AM
In particular, it's the -u parameter that I'm interested in. (To tie
my two recent posts together, I want to run "imagecfg -u", but I don't
want to do it after it's been code signed.)

usage: IMAGECFG [switches] image-names...
[-?] display this message
[-s path to symbol files]
[-v MajorVersion.MinorVersion]
[-w Win32 GetVersion return value in hex]
[-a Process Affinity mask value in hex]
[-u Marks image as uniprocessor only]
[-r run with restricted working set]
[-b BuildNumber]
[-g bitsToClear bitsToSet]
[-o default critical section timeout
[-d decommit thresholds]
[-m maximum allocation size]
[-t VirtualAlloc threshold]
[-p process heap flags]


Jeff Slarve
www.jssoftware.com
Twitter free since Jan 11, 2016
I'll search help files & Google for you.

Grammar troll's, are the worse.

NewsArchive
04-07-2017, 06:05 AM
That really only helps if you have programming errors.

Larry Sand

NewsArchive
04-07-2017, 06:05 AM
Hi Larry -

This request isn't the result of a crash or similar.

It's that we have a few customers whose license becomes deactivated
because Armadillo thinks the CPU has changed.

In my effort to automate my build process, this #imagecfg thing seemed
like it could save me a step and not have to shell to another exe. :)

Thanks

Jeff Slarve
www.jssoftware.com
Twitter free since Jan 11, 2016
I'll search help files & Google for you.

Grammar troll's, are the worse.

NewsArchive
04-07-2017, 06:06 AM
Jeff,

> In particular, it's the -u parameter that I'm interested in. (To tie
> my two recent posts together, I want to run "imagecfg -u", but I don't
> want to do it after it's been code signed.)

Check for code sign and if not there use #run to make the call to
IMAGECFG before it's signed.

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://archive.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"

NewsArchive
04-07-2017, 06:06 AM
That's the plan. Thank you.

Jeff Slarve
www.jssoftware.com
Twitter free since Jan 11, 2016
I'll search help files & Google for you.

Grammar troll's, are the worse.

NewsArchive
04-07-2017, 06:07 AM
>>Check for code sign and if not there use #run to make the call to
>>IMAGECFG before it's signed.

Hi Jeff,

Here is how we call it in our SB script (see attached)...

I hope that helps.

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ImageEx, ProScan, ProImage, ProPath and other
Clarion developer tools!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
04-07-2017, 06:08 AM
Yes. Thanks a lot!

Jeff Slarve
www.jssoftware.com
Twitter free since Jan 11, 2016
I'll search help files & Google for you.

Grammar troll's, are the worse.

NewsArchive
04-07-2017, 06:08 AM
Charles,

> >>Check for code sign and if not there use #run to make the call to
> >>IMAGECFG before it's signed.
>
> Here is how we call it in our SB script (see attached)...

Didn't I just say that?!?!<g>

--
Chopped Liver

NewsArchive
04-07-2017, 06:09 AM
> Didn't I just say that?!?!<g>

A picture is worth a thousand birds ...

Wait a minute - did you just give me a thousand birds?


:-)

Charles

--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ImageEx, ProScan, ProImage, ProPath and other
Clarion developer tools!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
04-07-2017, 06:10 AM
>>> In particular, it's the -u parameter that I'm interested in. (To tie
>>> my two recent posts together, I want to run "imagecfg -u", but I don't
>>> want to do it after it's been code signed.)

BTW - since we only code sign in SetupBuilder and always start with
unsigned EXE files, we just put the line I sent you before in the script
editor BEFORE we tell SetupBuilder to sign the file.

There is no real need to check if it is signed first if you do it like
that.

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ImageEx, ProScan, ProImage, ProPath and other
Clarion developer tools!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
04-07-2017, 06:10 AM
Thanks Charles. With me, I need to make sure it's not signed.<g>

Sometimes, during my coding/testing process, I'll only need to have
the process work on a couple of dlls or so.

IOW I want this to work, no matter if I'm testing or distributing.

Jeff Slarve
www.jssoftware.com
Twitter free since Jan 11, 2016
I'll search help files & Google for you.

Grammar troll's, are the worse.

NewsArchive
04-09-2017, 02:39 AM
Charles,

> Wait a minute - did you just give me a thousand birds?

Nope I only have two and they have arthritis so you're safe!<g>

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://archive.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"

NewsArchive
04-09-2017, 02:40 AM
You can get one of those large foam middle finger hands.<g>

Jeff Slarve
www.jssoftware.com
Twitter free since Jan 11, 2016
I'll search help files & Google for you.

Grammar troll's, are the worse.

NewsArchive
04-09-2017, 02:40 AM
Jeff,

> You can get one of those large foam middle finger hands.<g>

<g>

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"