i am doing a VB.NET 2.0 Windows Application.
I want to create an ini file in the location where we are installing the application. the code that i wrote is
Private Sub Installer1_AfterInstall(ByVal sender As Object, ByVal e As System.Configuration.Install.InstallEventArgs) Handles MyBase.AfterInstall
Dim iniPath As String
Dim Asm As System.Reflection.Assembly =
System.Reflection.Assembly.GetExecutingAssembly()
Dim configPath As String
configPath = Asm.Location
iniPath = configPath & "\MyiniFile.ini"
WriteString("INSTALLDETAILS", "DATETIME", "datetime", iniPath)
End Sub
but its not working.
what can be the problem with this ? anybody please help..
its very urgent
Bookmarks