Stop & Popup dialogbox when (very)silent install is in progress
3 posters
Page 1 of 1
Stop & Popup dialogbox when (very)silent install is in progress
From Windows XP up to Windows 10 (x86/x64)
Tests on 13.x version of KLCP Mega Installer / Update Packs. (even on 13.5.5 / 13.5.6)
/suppressmsgboxes - don’t work for this issue.
when i have installed old version - e.g. 13.3.3, 13.4.9, 13.5.4 (less then required for current update pack)
I’ve got display msg box, that currently version is.... lower then .... and ask me to visit web site....
when i update 50+ PCs with my scripts using admin$ share (using psexec) this will freezes my working script...
This should be done via exit code ...
e.g.
0 - success
1 - something goes wrong.
2 - to old version is installed for this update pack, use normal installer.
3 - newer version is installed....
etc.
On PCs with Windows XP Pro (32-bit), when I run silently I got msgbox with this OS is not supported., but when I start normally by double clicking on exe file that installer is running fine. - I don’t get it to work.
I use default install options (no ini file used)
Tests on 13.x version of KLCP Mega Installer / Update Packs. (even on 13.5.5 / 13.5.6)
/suppressmsgboxes - don’t work for this issue.
when i have installed old version - e.g. 13.3.3, 13.4.9, 13.5.4 (less then required for current update pack)
I’ve got display msg box, that currently version is.... lower then .... and ask me to visit web site....
when i update 50+ PCs with my scripts using admin$ share (using psexec) this will freezes my working script...
This should be done via exit code ...
e.g.
0 - success
1 - something goes wrong.
2 - to old version is installed for this update pack, use normal installer.
3 - newer version is installed....
etc.
On PCs with Windows XP Pro (32-bit), when I run silently I got msgbox with this OS is not supported., but when I start normally by double clicking on exe file that installer is running fine. - I don’t get it to work.
I use default install options (no ini file used)
PZine- Posts : 6
Join date : 2017-09-29
Re: Stop & Popup dialogbox when (very)silent install is in progress
/suppressmsgboxes should work. That only has effect in combination with /silent or /verysilent.
Re: Stop & Popup dialogbox when (very)silent install is in progress
Used switches by me: "/verysilent /norestart /suppressmsgboxes" and the window appears on machines when I start script as logged in user. KLCP installer wait to press yes or no... When i start remotely it freeze script until I open next remote window with cmd.exe and execute: "taskkill /im klcp* /f", then my scripts tells me, the exit code form KLCP is 1, and continue own work.
PZine- Posts : 6
Join date : 2017-09-29
Re: Stop & Popup dialogbox when (very)silent install is in progress
If works here. Double-check if you haven't made a typo.
Re: Stop & Popup dialogbox when (very)silent install is in progress
ok. version 13.5.7 and 13.5.8 update pack is no longer display this popus Yupi
/suppressmsgboxes is working fine now. My problem was missing one ")" char... in few lines... and eating one letter "p" in this parametr... Its difficult to see this on FHD 15,6" screen
but on one machines now i have exit code 4 for Mega installer and exit code 1 on update pack..., did someone can give me a exit code lists/table with explain and what this numbers means ?
/suppressmsgboxes is working fine now. My problem was missing one ")" char... in few lines... and eating one letter "p" in this parametr... Its difficult to see this on FHD 15,6" screen
but on one machines now i have exit code 4 for Mega installer and exit code 1 on update pack..., did someone can give me a exit code lists/table with explain and what this numbers means ?
PZine- Posts : 6
Join date : 2017-09-29
Re: Stop & Popup dialogbox when (very)silent install is in progress
0 = success
1 = exit during initialization (e.g. because of version check)
4 = error during install
There is a log file in your %temp% folder. That should reveal details about what happened.
1 = exit during initialization (e.g. because of version check)
4 = error during install
There is a log file in your %temp% folder. That should reveal details about what happened.
Re: Stop & Popup dialogbox when (very)silent install is in progress
At the end of log file:
Is strange things - but variables and paths from %appdata% and %localappdata% are exist, valid, and fixed on all machines, i (my script) can read/write form/to this folder. at admin/system/services rights
this is happens on computers witch is not joined to my domain all rest (with domain) are fine.
[edit:]
This is only when i run silent install remotly @ system rights (using admin$ share), when i run my script as logged in user (with admin rights) silent install successful pass without any errors.
- Code:
2017-10-05 08:31:37.801 Warning: SHGetFolderPath failed with code 0x80070002 on folder 0x801C
2017-10-05 08:31:37.841 Starting the installation process.
2017-10-05 08:31:37.861 Fatal exception during installation process (Exception):
Internal error: Failed to expand shell folder constant "localappdata"
2017-10-05 08:31:37.861 Exception message:
2017-10-05 08:31:37.861 Defaulting to OK for suppressed message box (OK):
Internal error: Failed to expand shell folder constant "localappdata"
2017-10-05 08:31:37.861 Defaulting to OK for suppressed message box (OK):
Setup was not completed.
Please correct the problem and run Setup again.
2017-10-05 08:31:37.861 Rolling back changes.
2017-10-05 08:31:37.871 Starting the uninstallation process.
2017-10-05 08:31:37.871 Uninstallation process succeeded.
2017-10-05 08:31:37.871 Deinitializing Setup.
2017-10-05 08:31:37.891 Log closed.
Is strange things - but variables and paths from %appdata% and %localappdata% are exist, valid, and fixed on all machines, i (my script) can read/write form/to this folder. at admin/system/services rights
this is happens on computers witch is not joined to my domain all rest (with domain) are fine.
[edit:]
This is only when i run silent install remotly @ system rights (using admin$ share), when i run my script as logged in user (with admin rights) silent install successful pass without any errors.
PZine- Posts : 6
Join date : 2017-09-29
Re: Stop & Popup dialogbox when (very)silent install is in progress
Next version will fix that error (by catching it).
I don't recommend running installers as a system user. You may get unexpected results. Always try to use a real user account.
I don't recommend running installers as a system user. You may get unexpected results. Always try to use a real user account.
Re: Stop & Popup dialogbox when (very)silent install is in progress
Admin wrote:Next version will fix that error (by catching it).
I don't recommend running installers as a system user. You may get unexpected results. Always try to use a real user account.
It will cause issues because when you try to run the program as user, then when it wants admin access to make changes to settings/files it will fail because it needs system access, not admin access, due to the files belonging to system.
notcyf- Posts : 146
Join date : 2017-08-24
Re: Stop & Popup dialogbox when (very)silent install is in progress
By few tests and simply investigation, i thing that is a innosetup issue, because e.g. PDFCreator 3.0.1 makes almost identical log as K-Lite and testes with admin$ remotly, have exit code 4 with she same log entry - pointed to the same folder name. Probably CDBurnesXP uses innosetup to, but on this package i don't see this issue.
PZine- Posts : 6
Join date : 2017-09-29
Re: Stop & Popup dialogbox when (very)silent install is in progress
Ok. 13.5.9 (Mega installer form given link and official 13.5.9 Update Pack, works fine now, problem is no longer exist on my problematic machines... For example new build of PDF Creator 3.0.2, still have exit code 4... Thank you for your help
PZine- Posts : 6
Join date : 2017-09-29
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum