Forum: Poser - OFFICIAL


Subject: Self-installing .exe files

Anthony Appleyard opened this issue on Jun 02, 2013 · 8 posts


lmckenzie posted Mon, 03 June 2013 at 2:50 AM

Looking at the WinRAR docs, it apparently will create a shortcut file if you desire. , you could have that shortcut point to a .bat file that would delete the installed files. If you’re looking for that kind of functionality though, you are getting more into the realm of the setup type applications like Inno, to create DAZ type packages.

Keep in mind that no conventional setup package AFAIK, is going to handle uninstalls in the common Poser scenario where people may move the files to suit their runtime structure. Probably even markschum’s script is not going to be able to easily deal with a situation if they rename the files. To deal with those issues, I’d think that your installer would ideally allow the user to do the renaming/moving from within the setup and then record the final file locations for use in uninstalling. That’s something that may be better suited to a dedicated utility. IIRC one of the Poser zip installer utilities may have done something similar.

It all depends on the user and maybe the product. For something like one of the major DAZ figures, most people probably go with the defaults so an uninstaller would mostly work. All you can do is offer them the options and yeah, the setup creator would offer the most flexibility in that regard. I’d seriously consider why you want to go this route in the first place though, and the intended audience, e.g. the exe won’t work on Mac without some extra stuff on the user’s machine AFAIK. Without knowing what your goal is, I don’t know what the ‘best’ solution is ÷)

"Democracy is a pathetic belief in the collective wisdom of individual ignorance." - H. L. Mencken