Click here to Skip to main content
15,894,825 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionplease help me Pin
sunset_h22_m16-Oct-06 21:04
sunset_h22_m16-Oct-06 21:04 
AnswerRe: please help me Pin
Dave Sexton16-Oct-06 21:59
Dave Sexton16-Oct-06 21:59 
Questionglass buttons Pin
hendrikbez16-Oct-06 20:20
hendrikbez16-Oct-06 20:20 
AnswerRe: glass buttons Pin
UltraCoder17-Oct-06 8:34
UltraCoder17-Oct-06 8:34 
AnswerRe: glass buttons Pin
Dave Kreskowiak17-Oct-06 9:47
mveDave Kreskowiak17-Oct-06 9:47 
QuestionApplication Deployment Question Pin
ranro200616-Oct-06 19:07
ranro200616-Oct-06 19:07 
AnswerRe: Application Deployment Question Pin
shreekar16-Oct-06 19:21
shreekar16-Oct-06 19:21 
Questionrollback issue - setup & deployment project of VS.Net 2003 Pin
Najmunnisha16-Oct-06 18:30
Najmunnisha16-Oct-06 18:30 
hi,
how do i rollback the actions that are performed in the install and uninstall methods of Installer Class?

do i use custom action for Rollback? or do i write the customized code for it in the Install/Uninstall methods?

my code is as below :

<runinstaller(true)> Public Class Installer1
Inherits System.Configuration.Install.Installer

Dim dirName As String
Dim regAsmPath As String
Dim args As String
dirName = Me.Context.Parameters.Item("DIRNAME")

regAsmPath = Me.Context.Parameters.Item("REGASMPATH")

args = "/tlb: Travelers.CS.CLREL.FTP.tlb " & Chr(34) & dirName & "Travelers.CS.CLREL.FTP.dll" & Chr(34) & " /codebase /silent"

Dim processStartInfo As New ProcessStartInfo(regAsmPath)
processStartInfo.Arguments = args
processStartInfo.WindowStyle = ProcessWindowStyle.Hidden
Process.Start(processStartInfo)
End Sub

i am using the installer class to do the registration of dlls and creation of type library.

what i want to do is, in case there is some exception in Process.Start() or if the RegAsm.exe is unavailable/corrupt etc. then the whole installation process must be rolled back.

hope i am clear in explaining my problem here Smile | :)

plz help.. its urgent!

thanx.

Najmun

Questionhow to insert image into sql database table Pin
vrk_raju16-Oct-06 14:56
vrk_raju16-Oct-06 14:56 
AnswerRe: how to insert image into sql database table Pin
adairjk16-Oct-06 18:51
adairjk16-Oct-06 18:51 
AnswerRe: how to insert image into sql database table Pin
shreekar16-Oct-06 19:23
shreekar16-Oct-06 19:23 
GeneralRe: how to insert image into sql database table Pin
vrk_raju17-Oct-06 4:54
vrk_raju17-Oct-06 4:54 
QuestionLabel inside Rectangle Pin
adairjk16-Oct-06 11:39
adairjk16-Oct-06 11:39 
AnswerRe: Label inside Rectangle Pin
Dave Sexton16-Oct-06 20:52
Dave Sexton16-Oct-06 20:52 
Questionurgent::System.Net.Sockets Pin
harshActsw16-Oct-06 8:50
harshActsw16-Oct-06 8:50 
AnswerRe: urgent::System.Net.Sockets Pin
Dave Kreskowiak16-Oct-06 9:21
mveDave Kreskowiak16-Oct-06 9:21 
GeneralRe: urgent::System.Net.Sockets Pin
harshActsw16-Oct-06 10:04
harshActsw16-Oct-06 10:04 
AnswerRe: urgent::System.Net.Sockets Pin
UltraCoder16-Oct-06 9:34
UltraCoder16-Oct-06 9:34 
GeneralRe: urgent::System.Net.Sockets Pin
harshActsw16-Oct-06 10:19
harshActsw16-Oct-06 10:19 
GeneralRe: urgent::System.Net.Sockets Pin
UltraCoder16-Oct-06 11:02
UltraCoder16-Oct-06 11:02 
GeneralRe: urgent::System.Net.Sockets Pin
harshActsw16-Oct-06 12:32
harshActsw16-Oct-06 12:32 
GeneralRe: urgent::System.Net.Sockets Pin
UltraCoder16-Oct-06 12:51
UltraCoder16-Oct-06 12:51 
QuestionListbox properties ( Listbox1.Items.Item(i) ) Pin
Newbie_dydy8516-Oct-06 8:43
Newbie_dydy8516-Oct-06 8:43 
AnswerRe: Listbox properties ( Listbox1.Items.Item(i) ) Pin
Dave Kreskowiak16-Oct-06 9:19
mveDave Kreskowiak16-Oct-06 9:19 
GeneralRe: Listbox properties ( Listbox1.Items.Item(i) ) Pin
Newbie_dydy8516-Oct-06 11:46
Newbie_dydy8516-Oct-06 11:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.