Extract COM Data from EXE Server - com

Hi I am trying to Extract the registration entries I need from my EXE so that I can register it using my wix setup.
I have tried using Regspy but i only get the error 'Can't Create Process', does anyone know another way of doing this?
Thanks

Related

Database automation using uiPath

I am working on uiPath for one application. In that I want to fetch the data from the database and write it to a CSV file. I saw one workflow sample here I tried using that. But I got stuck. I am not able to connect to database. I have database installed on the same machine.
How can I set up configuration wizard db connection?
It is possible to get to shared mailbox in exchange using uipath to call a powershell script!!! I was stuck on that one for a while, but eventually got it working:):) no need to use outlook...
You need a database connection string that works. If you know it just add it in the connection string property. Otherwise try to use the UiPath wizard to generate it.
In Exchange it's not possible to get the messages from a shared mailbox with UiPath Exchange activities but it's possible with Outlook activities.

Adding SQLite to Windows 10 Universal app VB.NET

I am trying to add local database functionality to app Universal Windows 10 app. I've been told the simplest method is using SQLite.
I followed the tutorial up at: http://igrali.com/2015/05/01/using-sqlite-in-windows-10-universal-apps/ although it was in C# I did think this would be an issue to translate.
I installed the VS2015 Add-on, have the reference set, but cannot create a database at all!
Does anyone know how to set up the project correctly and create a database to work with in VB?
Below is an example. I have SQL.Net.Attributes imported, but it wont recognise [Primary Key]
In Visual Basic, an attribute is enclosed in angle brackets (<>). You can find more information here :https://msdn.microsoft.com/en-us/library/z0w1kczw.aspx
I now have a working example. I used SQLiteStudio to create a Database and used the SQLite-PCL library to create a connection for CRUD operations

Create a Sql Server Db from WIX in a specific location

I'm trying to have WIX create a database in a location the user specifies. I've got it working for the most part using some CustomActions and passing parameters to a sql script. But am having problems with permissions on the directory I'm attempting to create the DB in.
Searching for a resolution to this problem lead me to a post on here that I had not seen before today (Wix: create a sql server database at a specified location) where it seems like someone accomplished the same thing I'm wanting to do.
It is not clear from that post how the user was invoking the script? I am hoping they were doing something like the code code snippet below and I just don't know how to pass values to the script. If so, that would greatly simplify my task.
<sql:SqlDatabase>
<sql:SqlScript>
</sql:SqlDatabase
Can someone tell me how to pass values to a SqlScript when not using a customAction to invoke the script via sqlcmd.exe?
Thanks.
For the future reference of anyone else wishing to do this there are a couple of ways to create a database at a specified location. The simplest of which is using the wix tags that I did not know existed:
<sql:SqlFileSpec Name="DataBaseFile" Id ="mdfFile" Filename = "[DBDIR]TestDataBase.mdf"/>
<sql:SqlLogFileSpec Name="DataBaseLogFile" Id ="ldfFile" Filename = "[DBDIR]TestDataBase_Log.ldf"/>
This works perfectly as long as the directory that the database is being created in is not under "Program Files" or "Program Files (x86)". Both of these locations seem to have special permissions to them that don't allow SQL Server to create a database there. This theory can be tested by trying to create a database using Sql Server Mgmt Studio in a folder somewhere under Program Files and looking at the error that is produced. Which is something like this for me:
CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file
I'm still trying to figure out how an installer can accomplish putting a database under Program Files as I'm sure it's been done before.

Does anyone have an example WiX .wxs file where a new MySql user is created and then a database is created?

I think my question says it all.
I've been trying to learn from:
http://www.tramontana.co.hu/wix/lesson7.php#7.1
but it doesn't seem to have the case of creating a new database user. I learn best by example, so if anyone has an example to share, I'd be very appreciative!!
-Adeena
This is not supported directly by WiX. I'm not sure if there is a setup authoring tool which offers direct support for this. Most of them allow you to create only Windows user accounts.
To create a MySql user you can write a custom action using custom code. You can use an EXE or a DLL.

Website Data Source is empty

This is driving me insane. I am trying to get a basic Report to show with Report Viewer but cant get the DataSet to show in the Website Data Source window no matter what I do.
I created a dataset..picked the proc I want, etc. without any problems. I added my RDLC and tried adding a table that I can bind data to but the Windows that contains the Data Sources is empty.
Im using VS 2008. Is there anything im doing wrong? Ive followed some tutorials but cant get further due to this issue.
Ok..figured it out after wasting 1 day on it.
As I said i am running VS 2008 and what I did was remove all the DLL references one by one until the window populated with some datasources. I found out a reference to Entity Spaces cause the problem. So I create the reports and when im down add back the reference. A pain but it now works.
Jeeesh.