The setup wizard gives the capability to the end user to change the directory into which the setup will copy the files. How can I prevent this? If the user changes the directory, how can I know it, or how can this info be passed to the postsetup exe?

You cannot, from the wizard, prevent the user from changing the directory.

Second, as long as the postsetup exe is in the same directory as the application that is installed, the postsetup exe could read FULLPATH(CURDIR()) to determine what the directory is, and then update any configuration of the application files that is required.

See also  How College Students Can Shape the Future of Tech Responsibility

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist