15,746,302 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View Javascript questions
View C++ questions
View Python questions
View Java questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by PRATIK1988 (Top 8 by date)
PRATIK1988
30-Aug-13 1:11am
View
can i do it with visual studio setup project itself because all the setup here are created using visual studio setup project or else i have to change all of them.
PRATIK1988
28-Aug-13 1:44am
View
My Boss want to play a small slide show or a video of the products of our company while the setup is being installed
PRATIK1988
28-Aug-13 1:40am
View
can you suggest me with some setup creation package that support such feature. i have downloaded Inno Setup Compiler and NSIS but dont know much about them.
PRATIK1988
27-Aug-13 1:47am
View
HEY R U DER I HAVE UPLOADED THE STACK INFO ITS NOT ALL OF IT TELL ME WHICH METHODS STACK INFO YOU NEED BECAUZE EVERY METHOD IS GIVING ME DIFFERENT STOCK INFO
PRATIK1988
24-Aug-13 5:33am
View
Deleted
hi i found out about stack trace by surfing some forums and used in my program.
i made my installer to write the stack trace in a text file using code
File.AppendAllText("D:\Stack.txt", Environment.StackTrace)
i copied this code to every method with differrent filename the stack informatoin is as follows:
Stack info in install method
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at DBCustomAction.VbDeployInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState)
at System.Configuration.Install.ManagedInstallerClass.InstallHelper(String[] args)
at System.Configuration.Install.ManagedInstallerClass.System.Configuration.Install.IManagedInstaller.ManagedInstall(String argString, Int32 hInstall)
Stack info in AddDBTable method
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at DBCustomAction.VbDeployInstaller.AddDBTable(String strDBName, String DBServer)
at DBCustomAction.VbDeployInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState)
at System.Configuration.Install.ManagedInstallerClass.InstallHelper(String[] args)
at System.Configuration.Install.ManagedInstallerClass.System.Configuration.Install.IManagedInstaller.ManagedInstall(String argString, Int32 hInstall)
Stack info in Execute Sql method
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at DBCustomAction.VbDeployInstaller.ExecuteSql(String DatabaseName, String Sql, String ConnString)
at DBCustomAction.VbDeployInstaller.AddDBTable(String strDBName, String DBServer)
at DBCustomAction.VbDeployInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState)
at System.Configuration.Install.ManagedInstallerClass.InstallHelper(String[] args)
at System.Configuration.Install.ManagedInstallerClass.System.Configuration.Install.IManagedInstaller.ManagedInstall(String argString, Int32 hInstall) at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at DBCustomAction.VbDeployInstaller.ExecuteSql(String DatabaseName, String Sql, String ConnString)
at DBCustomAction.VbDeployInstaller.AddDBTable(String strDBName, String DBServer)
at DBCustomAction.VbDeployInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState)
at System.Configuration.Install.ManagedInstallerClass.InstallHelper(String[] args)
at System.Configuration.Install.ManagedInstallerClass.System.Configuration.Install.IManagedInstaller.ManagedInstall(String argString, Int32 hInstall) at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at DBCustomAction.VbDeployInstaller.ExecuteSql(String DatabaseName, String Sql, String ConnString)
at DBCustomAction.VbDeployInstaller.AddDBTable(String strDBName, String DBServer)
at DBCustomAction.VbDeployInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState)
at System.Configuration.Install.ManagedInstallerClass.InstallHelper(String[] args)
at System.Configuration.Install.ManagedInstallerClass.System.Configuration.Install.IManagedInstaller.ManagedInstall(String argString, Int32 hInstall) at Syste
PRATIK1988
24-Aug-13 5:31am
View
hi i found out about stack trace by surfing some forums and used in my program.
i made my installer to write the stack trace in a text file using code
File.AppendAllText("D:\Stack.txt", Environment.StackTrace)
i copied this code to every method with differrent filename the stack informatoin is as follows:
Stack info in install method
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at DBCustomAction.VbDeployInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState)
at System.Configuration.Install.ManagedInstallerClass.InstallHelper(String[] args)
at System.Configuration.Install.ManagedInstallerClass.System.Configuration.Install.IManagedInstaller.ManagedInstall(String argString, Int32 hInstall)
Stack info in AddDBTable method
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at DBCustomAction.VbDeployInstaller.AddDBTable(String strDBName, String DBServer)
at DBCustomAction.VbDeployInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState)
at System.Configuration.Install.ManagedInstallerClass.InstallHelper(String[] args)
at System.Configuration.Install.ManagedInstallerClass.System.Configuration.Install.IManagedInstaller.ManagedInstall(String argString, Int32 hInstall)
Stack info in Execute Sql method
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at DBCustomAction.VbDeployInstaller.ExecuteSql(String DatabaseName, String Sql, String ConnString)
at DBCustomAction.VbDeployInstaller.AddDBTable(String strDBName, String DBServer)
at DBCustomAction.VbDeployInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState)
at System.Configuration.Install.ManagedInstallerClass.InstallHelper(String[] args)
at System.Configuration.Install.ManagedInstallerClass.System.Configuration.Install.IManagedInstaller.ManagedInstall(String argString, Int32 hInstall) at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at DBCustomAction.VbDeployInstaller.ExecuteSql(String DatabaseName, String Sql, String ConnString)
at DBCustomAction.VbDeployInstaller.AddDBTable(String strDBName, String DBServer)
at DBCustomAction.VbDeployInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState)
at System.Configuration.Install.ManagedInstallerClass.InstallHelper(String[] args)
at System.Configuration.Install.ManagedInstallerClass.System.Configuration.Install.IManagedInstaller.ManagedInstall(String argString, Int32 hInstall) at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at DBCustomAction.VbDeployInstaller.ExecuteSql(String DatabaseName, String Sql, String ConnString)
at DBCustomAction.VbDeployInstaller.AddDBTable(String strDBName, String DBServer)
at DBCustomAction.VbDeployInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState)
at System.Configuration.Install.ManagedInstallerClass.InstallHelper(String[] args)
at System.Configuration.Install.ManagedInstallerClass.System.Configuration.Install.IManagedInstaller.ManagedInstall(String argString, Int32 hInstall) at Syste
PRATIK1988
23-Aug-13 4:28am
View
No just in the program where it is shown
PRATIK1988
23-Aug-13 2:43am
View
@Trak4Net Hi, by reading your comment i changed my code and made the strDBName optional and gave it a default value
Protected Sub AddDBTable(Optional ByVal strDBName = "Test" As String, Optional ByVal DBServer As String = ".")
now even if install method is called twice it should take "Test" as strDBName also i gave default value in the text box of installation but still facing the same problem.
Show More