If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

recurring problem with each new update

Every time i've updated to a new version and run one of my batch files that calls the program (resize.exe) I get the same unexpected message prompt about a file already existing (see image below). If i click the X in the top right to abort the program and then re-run the same batch file the conflict message prompt window does not appear (as I would expect)..

From what you describe, it really seems like either the parameters are not detected or not handed over correctly for some reason.

I tried to reproduce your issue, recreating the details as close to yours as possible. But for me it works as expected every time.

Did you take a look at the log file to compare between the successful and failed run? (You can press Ctrl+Alt+L in the application to open it quickly)

I see where the log file is now and how it logs the parameters passed. i will uinstall the program then reinstall and see whats showing in the log file on 1st run. that should tell us if the problem lies somewhere in my system setup or in the resize program 👍

ok, i've replicated the problem numerous times and looking at the log file and comparing a good run with a failed run i notice that the failed run has "Profile: <Original Resolution>" whereas the good run has "Profile: ".

So its using a profile setting instead of those passed via the command line. All the following were set wrong on a failed run:

Width: 100 (%) - should have been 500 (px)
Height: 100 (%) - should have been 667 (px)
Format: As Original - should have been JPEG
Quality: 90% - should have been 80%
On name conflict: Prompt - should have been Overwrite
[X] Copy EXIF - should have been unchecked
[X] Copy XMP - should have been unchecked
[X] Copy IPTC - should have been unchecked
[X] Copy ICC - should have been unchecked

I tried adding the parameter "/Profile=" but still get same problem.

So on 1st run its using a profile setting but after that its ok and uses the settings in the command line parameters.

How about adding a "/Profile=cmd" to command the program to NOT use a profile settings but only those on the command line?

When i said its on 1st run, its actually the 2nd run. On the 1st run i enter my registration details to unlock and then exit the program. But if I run my batch file when the program hasn't been unlocked it prompts me to ulock (which i do) and then runs ok 1st time.

Also on a failed run i noticed a log file was created with the name "CRASH" in the title. e.g. "ImageResizer_crash_PID8.log"

Some suggestions for changes to the program:

(a) During setup it prompts for install to folder and by default has the program's version number in the title i.e. "C:\Program Files (x86)\ObviousIdea\Light Image Resizer 5". My preference would be not to have the version number included, is there any reason why its there? Also same for start menu folder. I have quite a few batch files that use the path and to change the references if a new version 6 was released would be a pain! But for now during setup i edit and removed the version number..

(b) After uninstall it prompts for a restart. Is this still required if "Add to Explorer context menu" unchecked during setup? If so the prompt can this be removed?

Ok that's odd, I will also do more testing later. Just to clarify: do you always uninstall before installing a new version?

The change in folder name was done so it wouldn't overwrite the old v4 by default. If you change the installation folder on first install, minor version updates should install to the same folder automatically.

Indeed the restart prompt seems unnecessary. I will check if it can be removed.