I wrote a bloat-free STL viewer

Discussion of ANY 3D printing topic you desire!
User avatar
LePaul
Reactions:
Posts: 3341
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): UM2+,CR-10S (x2),Tevo Tornado,FT-i3/FT-5/FT-6...
Contact:

Re: I wrote a bloat-free STL viewer

Post by LePaul » March 12th, 2019, 1:35 pm

Okay, good to know

So now I am stuck wondering where the STLViewer executable resides after install

User avatar
Krishty
Reactions:
Posts: 23
Joined: December 3rd, 2017, 3:31 pm
Location: Germany
3D Printer(s): DaVinci
Contact:

Re: I wrote a bloat-free STL viewer

Post by Krishty » March 12th, 2019, 2:27 pm

Usually %LOCALAPPDATA%\Programs\Papa’s Best\STL Viewer e.g. here it is A:\Users\Krishty\AppData\Local\Programs\Papa’s Best\STL Viewer

GrueMaster
Reactions:
Posts: 415
Joined: March 15th, 2017, 8:46 pm
Location: Oregon
3D Printer(s): Hictop 3DP-17, Hictop CR-10S

Re: I wrote a bloat-free STL viewer

Post by GrueMaster » March 12th, 2019, 3:42 pm

Why not install it in ProgramFiles? By installing it in %LOCALAPPDATA%, it is only available to the user that installed it. And is possibly why it fails to get recognized when rebooting.

User avatar
Krishty
Reactions:
Posts: 23
Joined: December 3rd, 2017, 3:31 pm
Location: Germany
3D Printer(s): DaVinci
Contact:

Re: I wrote a bloat-free STL viewer

Post by Krishty » March 12th, 2019, 4:19 pm

If you want to install for all users, you can
  • launch a command window
  • type msiexec /i <your path to Papas Best STL Viewer.msi> MSIINSTALLPERUSER=0
  • hit enter
  • … you’ll notice the setup needs elevation and installs to the global program files folder; it should then be accessable for every user.
This happens automatically if you run from an administrator account (not just from a normal user account with elevation).

However, per-user install is the recommended way because it works well with Roaming User Profiles and corporate environments (where not everyone is an admin). For me, it’s foremost a trust thing – you shouldn’t need to grant full admin rights to a tool just so it displays a simple file!

GrueMaster
Reactions:
Posts: 415
Joined: March 15th, 2017, 8:46 pm
Location: Oregon
3D Printer(s): Hictop 3DP-17, Hictop CR-10S

Re: I wrote a bloat-free STL viewer

Post by GrueMaster » March 12th, 2019, 10:12 pm

Krishty wrote:
March 12th, 2019, 4:19 pm
you shouldn’t need to grant full admin rights to a tool just so it displays a simple file!
Heh, I can fully relate. I am the maintainer of Win32DiskImager, and I have the same feelings about drag and drop. We added that before Windows 7 took off and removed that function (works if you run Explorer as Admin). All we used it for is to get a path and filename.

Sadly, I haven't had time or a development system to keep up with all of the Windows changes that keep happening. Seems every time some new major patch for Windows 10 comes out, it breaks my app in new mysterious ways.

User avatar
LePaul
Reactions:
Posts: 3341
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): UM2+,CR-10S (x2),Tevo Tornado,FT-i3/FT-5/FT-6...
Contact:

Re: I wrote a bloat-free STL viewer

Post by LePaul » March 12th, 2019, 11:44 pm

Anything that makes it simple for the end user is ideal. And mimic other program installs they have done. If they have to do registry or command line things to make it work, I may just pass. I just don't want to do a video that causes a zillion comments asking how/why it won't work for them.

User avatar
Krishty
Reactions:
Posts: 23
Joined: December 3rd, 2017, 3:31 pm
Location: Germany
3D Printer(s): DaVinci
Contact:

Re: I wrote a bloat-free STL viewer

Post by Krishty » March 13th, 2019, 3:30 am

I’m really interested in getting it to work on your system, because once fixed, more users can profit from it. My experience is, if there’s a problem with the program, not even one out of ten affected users will report it, so it’s important for me to not let you go :D

I don’t think admin rights have anything to do with the thumbnails not working – I’ve had some dozen testers and this point and rights were never an issue.

One more thing you could test is:
  • Open the performance options of your computer, like here
  • make sure that Show thumbnails instead of icons is checked
GrueMaster wrote:
March 12th, 2019, 10:12 pm
Sadly, I haven't had time or a development system to keep up with all of the Windows changes that keep happening. Seems every time some new major patch for Windows 10 comes out, it breaks my app in new mysterious ways.
Yes, don’t get me started on this! There are some reasons why you cannot select Install for all users / install just for me from the setup, but they are so complicated, it took me two weekends to figure out …

User avatar
LePaul
Reactions:
Posts: 3341
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): UM2+,CR-10S (x2),Tevo Tornado,FT-i3/FT-5/FT-6...
Contact:

Re: I wrote a bloat-free STL viewer

Post by LePaul » March 13th, 2019, 9:42 am

I do have Thumbnails set

User avatar
Krishty
Reactions:
Posts: 23
Joined: December 3rd, 2017, 3:31 pm
Location: Germany
3D Printer(s): DaVinci
Contact:

Re: I wrote a bloat-free STL viewer

Post by Krishty » March 13th, 2019, 9:57 am


User avatar
LePaul
Reactions:
Posts: 3341
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): UM2+,CR-10S (x2),Tevo Tornado,FT-i3/FT-5/FT-6...
Contact:

Re: I wrote a bloat-free STL viewer

Post by LePaul » March 13th, 2019, 10:10 am

I'll have to check, I had a busy evening last night CNC'ing some aluminum parts so I didn't get to it

User avatar
LePaul
Reactions:
Posts: 3341
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): UM2+,CR-10S (x2),Tevo Tornado,FT-i3/FT-5/FT-6...
Contact:

Re: I wrote a bloat-free STL viewer

Post by LePaul » March 20th, 2019, 10:43 am

I keep meaning to get back to this...since I miss having the preview working on that machine!

User avatar
Krishty
Reactions:
Posts: 23
Joined: December 3rd, 2017, 3:31 pm
Location: Germany
3D Printer(s): DaVinci
Contact:

Re: I wrote a bloat-free STL viewer

Post by Krishty » March 20th, 2019, 5:09 pm

Haha, great :)

I tried to reproduce your issues by installing the old version to a virtual machine, and installing the new version over it. I could not find any issues, though – everything worked fine. I’ll keep digging …

User avatar
LePaul
Reactions:
Posts: 3341
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): UM2+,CR-10S (x2),Tevo Tornado,FT-i3/FT-5/FT-6...
Contact:

Re: I wrote a bloat-free STL viewer

Post by LePaul » March 20th, 2019, 11:38 pm

No, uninstall a working version, then install it again. Then try to get the thumbnails to work. I still cant

User avatar
Krishty
Reactions:
Posts: 23
Joined: December 3rd, 2017, 3:31 pm
Location: Germany
3D Printer(s): DaVinci
Contact:

Re: I wrote a bloat-free STL viewer

Post by Krishty » March 22nd, 2019, 1:20 pm

LePaul wrote:
March 20th, 2019, 11:38 pm
No, uninstall a working version, then install it again. Then try to get the thumbnails to work. I still cant
I just tried that, and it works for me. The virtual machine I used for testing is limited to the 32-bit versions, though.

If you have trouble checking the registry values, you can just export your entire HKEY_CLASSES_ROOT tree to a text file (right-click → Export) and send it to me, then I’ll analyze it. (But if you do it, do it via private message please, because one can see which programs are installed via that export!)

Post Reply

Return to “General 3D Printing Conversation”