Hi all,
I have some *.txt files in folder but i don't know these names exactly because these files will be created by using button.
I'd like to search each FileName.txt and install msi files using:
For all FileName.txt we have exactly the same FileName.msi
But the FileName.txt will be created by checking checkboxes and we don't know how much have been checked.
So how can i determinate and run filename.msi setup files with existing filename.txt
I have some *.txt files in folder but i don't know these names exactly because these files will be created by using button.
I'd like to search each FileName.txt and install msi files using:
Code:
txt_file = File.DoesExist _SourceFolder.. "\\MyFolder\\FileName.txt") if txt_file == true then File.Run("MsiExec.exe", "/i \""..sWorkDir.."\\FileName.msi\"", "", SW_SHOWNORMAL, true); end
But the FileName.txt will be created by checking checkboxes and we don't know how much have been checked.
So how can i determinate and run filename.msi setup files with existing filename.txt