Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: C++
Expertise: Beginner
May 2, 1999

Setup

Question:
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?

Answer:
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.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date