Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Sat Dec 19, 2015 11:10 am Post subject:
Auto-install loop?
Win10 x86.
Dropping the last beta SHP Builder into a clean folder - to trigger the autoinstaller - throws me a "SHP Builder requires admin privilieges" popup. Clicking OK gives me the UAC popup, clicking yes on that returns me to the run-as-admin popup, and OKing that just returns that window. I have to kill SHP Builder with Task Manager manually for this to stop.
Why does SHP Builder even needs admin privileges anyway? _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
I think that's because it has to write files to your hard drive.
Had the same issue in my application (not SHP Builder), it could not write files anywhere if it didn't have those privileges.
Don't know what causes it, maybe Banshee should set some flag in the excecutable, or add a manifest.
If he uses some workaround to get these privileges, this could be a result of it.
Adding a manifest isn't hard at all, so I'd recommend going with that. _________________
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Sat Dec 19, 2015 11:55 am Post subject:
Admin privileges are only needed if it tries to write into Program Files or Windows from 7 (Vista?) onwards afaik. I'm trying to set it up on a secondary drive.
VXLSE doesn't have this issue neither. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Sat Dec 19, 2015 3:17 pm Post subject:
Confirming the fix worked - after the admin privileges popup and UAC, I got your new wizard.
Although that led me to a minor issue: the combination of "use the current folder" and "overwrite everything", throws a "File not found" error at launch-after-install.
I also consider the admin prompt a minor issue if it's not in the system folders (since VXLSE never raises an eye) but whatever.
On a second thought, I kinda realized the point of this: VXLSE autoinstaller is just an extract-it-to-current-folder while SHP Builder got a fully functional setup inside which can and to many, should be used to write into system folder if it's not there actually. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Sat Dec 19, 2015 4:53 pm Post subject:
Quote:
Although that led me to a minor issue: the combination of "use the current folder" and "overwrite everything", throws a "File not found" error at launch-after-install.
Yea, it happened to me once with the same combination. I couldn't figure out at that moment which file wasn't found and how to avoid this error. Then, it didn't happen anymore... Anyway, there might be something causing it and I'll take a look at the code again.
Quote:
On a second thought, I kinda realized the point of this: VXLSE autoinstaller is just an extract-it-to-current-folder while SHP Builder got a fully functional setup inside which can and to many, should be used to write into system folder if it's not there actually.
That's the point... except that you have to replace the word extract with download. The OS SHP Builder full installer is in experimental stages. Once it is stable, it will be eventually ported to VXLSE III. QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Sat Dec 19, 2015 5:52 pm Post subject:
If that helps, I seen an SHP_BuilderUpd (IIRC) in Total Commander at that moment so I guess the replacing was slower than the startup. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Sat Dec 19, 2015 6:23 pm Post subject:
I've already tracked the problem. It's a coding mistake at the LoadConfig. The missing file is SHP_Builder.dat. Instead of showing up the Preferences, it just fails to load the shp_builder.dat file that does not exist. I'll fix it in the next revision. QUICK_EDIT
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum