1
Answer

Setup.exe path access

murthy

murthy

15y
4.4k
1
Hi All,

I installed my application setup (default windows installer of VS2005) with auto launch option, Some of my application data is present at setup folder location so i want to make my application intelligent enough to pick the data automatically while launch.

Is there any way to retrieve setup.exe path from where i started the installation process through code.


Thanks in advance,

Answers (1)
0
vivek kulkarni

vivek kulkarni

NA 348 0 15y

Hi,

Please use the Customs action for your requirement.

http://msdn.microsoft.com/en-us/library/aa368066(VS.85).aspx

there are situations where the developer of an installation package finds it necessary to write a custom action. For example:

  • You want to launch an executable during installation that is installed on the user's machine or that is being installed with the application.
  • You want to call special functions during an installation that are defined in a dynamic-link library (DLL).
  • You want to use functions written in the development languages Microsoft Visual Basic Scripting Edition or Microsoft JScript literal script text during an installation.
  • You want to defer the execution of some actions until the time when the installation script is being executed.
  • You want to add time and progress information to a ProgressBar control and a TimeRemaining Text control.

Thank you