This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- getting current directory
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 30, 2009
10:47 AM
getting current directory
😞
hi,
Can anybody tell me how to get the CurrentDirectory property if i invoke the setup.exe through command prompt
i tried with GetCurrentDirectory(Vb Script code) n it gives path of setup.exe after double clicking on it.But when i invoke through command prompt it gives the
different path
E.g - C:\XXX\XXX>"D:\abc\dba\setup.exe"
after invoking it gives path as "C:\XXX\XXX>" n not the "D:\abc\dba\setup.exe"
hi,
Can anybody tell me how to get the CurrentDirectory property if i invoke the setup.exe through command prompt
i tried with GetCurrentDirectory(Vb Script code) n it gives path of setup.exe after double clicking on it.But when i invoke through command prompt it gives the
different path
E.g - C:\XXX\XXX>"D:\abc\dba\setup.exe"
after invoking it gives path as "C:\XXX\XXX>" n not the "D:\abc\dba\setup.exe"
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 02, 2009
04:59 AM
use windows installer property "SETUPEXEDIR" to reteive the setup path..
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 04, 2009
02:46 AM
SRCDIR must also help