I have a bit problem. I would like to create a "patch" to some abstract product, that already installed on the user computer. Patch looks like some folder with files inside. There is 2 way to understand where the requested folder is can be: regkey and .exe file. In most cases we can understand the final way by read some regkey. So this way will be posted in "PathDirectory" automaticly (by using registry search). But in other cases this way could be empty. So I can find the .exe file and by this file Installer can understand where is the destination folder. How I can create this "fork" condition and execute it automaticly?
And the second question is how to erase from the find ".exe" result name and file name extension in order to fill the "DestFolder" with only directory path data? (For example: After file search i have this: "C:\Games\Test\test.exe", but I need t leave only this: "C:\Games\Test\")
Thanks a lot! Sorry for my bad english
FOLLOW US
Get the latest news in Application Packaging