Dear friends
I am trying to convert an exe file to another file preferrably a BAT file or MSI file
I have converted an file into exe but now i want to convert it into another file
Private Sub Decode(ByVal strFrom As String, ByVal strTo As String)
Dim fileIn As New StreamReader(strFrom)
Dim fileOut As New StreamWriter(strTo)
Dim strData As String = ""
Dim i As Integer = 0
While (Not (fileIn.EndOfStream))
strData = fileIn.ReadLine()
For i = 0 To (strData.Length - 1) Step 2
fileOut.BaseStream.WriteByte(Convert.ToUInt16(strData.Substring(i, 2), 16))
Next
End While
fileOut.Close()
fileIn.Close()
Dim aprocess() As System.Diagnostics.Process = System.Diagnostics.Process.GetProcessesByName("vlc")
For Each proc As System.Diagnostics.Process In aprocess
proc.Kill()
Next
End Sub
Sub Main2()
Decode("D:\\pmesseng.txt", "E:\\pmesseng.exe")
End Sub
Now how can i convert this pmesseng.exe to an msi file or a bat file
please help...