Hey guys, time to joggle your minds
Ok here is what i want to do.. Im creating a program to put on a cd. The point of this program is to replace the main .exe once the program on the cd is installed. Kind of like patching the program that is being installed.
Only problem with my program is i need a way so that My program automatically picks up where the program is installing (Install Dir) and what the program installings name is (New_Program.exe)
Ex) Joe's Calculator installs in "C:\Program Files\Joes Calculator" and the .exe name is "Joe_Calculator.exe"
Now I know where Joe's calculator is and i can easily punch in my program:
VB Code:
FileCopy App.Path & "\Joes_Patch.exe" , "C:\Program Files\Joes Calculator\Joe_Calculator.exe"
But.. I dont want to go through every single cd that i want to put this program on, install it, then go to my program and modify that line of code.. I want the program to figure out where the install dir is itself..... Any way to do this or have i hit the impossible?
Hope I made it clear enough![]()
![]()




Reply With Quote