Hi,
I have created an .msi setup file to deploy my VB app using the setup
project feature for Visual Studio .NET 2003. Everything is working fine;
However, I would like that after the installation is performed the .msi setup
files be deleted upon a successful install of the app.
Any help is greatly appreciated.
Thanks,
Ralph r. 7 1241
Hello, Ralph!
R> I have created an .msi setup file to deploy my VB app using the setup
R> project feature for Visual Studio .NET 2003. Everything is working
R> fine; However, I would like that after the installation is performed the
R> .msi setup files be deleted upon a successful install of the app.
Why do you need such behavior?
If your app will be distributed via readonly media ( CDs ), how it would delete that msi?
Also, deleting msi file will give you nothing, since MS installer caches that msi ( for installation repair process ).
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
This App is to be distributed electronically. The purpose for removing the
setup files after install is to ensure that the install is only ran once.
Kind of a security measure.
Ralph R.
"Vadym Stetsyak" wrote: Hello, Ralph!
R> I have created an .msi setup file to deploy my VB app using the setup R> project feature for Visual Studio .NET 2003. Everything is working R> fine; However, I would like that after the installation is performed the R> .msi setup files be deleted upon a successful install of the app.
Why do you need such behavior?
If your app will be distributed via readonly media ( CDs ), how it would delete that msi?
Also, deleting msi file will give you nothing, since MS installer caches that msi ( for installation repair process ).
-- Regards, Vadym Stetsyak www: http://vadmyst.blogspot
Hello, Ralph!
R> This App is to be distributed electronically. The purpose for removing the
R> setup files after install is to ensure that the install is only ran once.
R> Kind of a security measure.
Wouldn't it be simpler, to add custom action to the installer that will check if installation had executed
already? ( by adding some kind of registry settings or checking component registration )
Deleting, msi, IMO is not good solution. Imagine situation, when customer purcheses your software, installs it and
then removes. After couple of days he wants to install it again, but msi file isn't there anymore...
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
If it's a registered user we would supply them with the set up files as
needed. I know that this is not the best solution and I understand where you
are coming from, but what I'm trying to accomplish is to implement some/any
measure to avoid copying of the app and installing it at free will. I'm open
for any suggestions that you may have to accomplish same.
Ralph
"Vadym Stetsyak" wrote: Hello, Ralph!
R> This App is to be distributed electronically. The purpose for removing the R> setup files after install is to ensure that the install is only ran once. R> Kind of a security measure.
Wouldn't it be simpler, to add custom action to the installer that will check if installation had executed already? ( by adding some kind of registry settings or checking component registration )
Deleting, msi, IMO is not good solution. Imagine situation, when customer purcheses your software, installs it and then removes. After couple of days he wants to install it again, but msi file isn't there anymore...
-- Regards, Vadym Stetsyak www: http://vadmyst.blogspot
Hi!
And what is , when the customer copies the msi before doing the setup?
Wolfgang
"Ralph" <Ra***@discussions.microsoft.com> schrieb im Newsbeitrag
news:88**********************************@microsof t.com... If it's a registered user we would supply them with the set up files as needed. I know that this is not the best solution and I understand where you are coming from, but what I'm trying to accomplish is to implement some/any measure to avoid copying of the app and installing it at free will. I'm open for any suggestions that you may have to accomplish same.
Ralph
"Vadym Stetsyak" wrote:
Hello, Ralph!
R> This App is to be distributed electronically. The purpose for removing the R> setup files after install is to ensure that the install is only ran once. R> Kind of a security measure.
Wouldn't it be simpler, to add custom action to the installer that will check if installation had executed already? ( by adding some kind of registry settings or checking component registration )
Deleting, msi, IMO is not good solution. Imagine situation, when customer purcheses your software, installs it and then removes. After couple of days he wants to install it again, but msi file isn't there anymore...
-- Regards, Vadym Stetsyak www: http://vadmyst.blogspot
Hello, Wolfgang!
WH> And what is , when the customer copies the msi before doing the setup?
:8-) Yeah, that will break this "protection"
As a simple protectection mechanism you can consider
developing logic, that will reside in MSI custom action.
In the setup UI there will be text fields that user will fill with its credentials, and
they will go to your server that will permit or deny that application.
This is lightweight protection, for more advanced solutions you have to use
appropriate tools that protect the application and not the setup.
The example of such software is ASProtect
( http://www.aspack.com/asprotect.html )
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Thanks for your input... That's the route I will take.
Ralph
"Vadym Stetsyak" wrote: Hello, Wolfgang!
WH> And what is , when the customer copies the msi before doing the setup?
:8-) Yeah, that will break this "protection"
As a simple protectection mechanism you can consider developing logic, that will reside in MSI custom action.
In the setup UI there will be text fields that user will fill with its credentials, and they will go to your server that will permit or deny that application.
This is lightweight protection, for more advanced solutions you have to use appropriate tools that protect the application and not the setup.
The example of such software is ASProtect ( http://www.aspack.com/asprotect.html )
-- Regards, Vadym Stetsyak www: http://vadmyst.blogspot This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mark |
last post by:
Hello All,
I have recently developed a small application with VB.net.
What I wish to do is to add an uninstaller to the application that the user can use
to uninstall my application instead of...
|
by: forge |
last post by:
Installing Merge Modules from C# Windows Form Application (not using a setup
and deployment project)
Hi,
Currently, we have an InstallShield project that creates a setup.exe that
only...
|
by: Mickey |
last post by:
When I try to create a new web application in VS Studio .NET 2003 at a
simple default location eg: http://localhost/WebApplication1 I get the
following error:
Visual Studio .NET cannot create or...
|
by: bob lambert |
last post by:
Help
I am trying to deploy to another pc a vb.net std 2002
windows form application. I am confused.
I created a project - windows form
I built form, compiled and debugged.
I created a...
|
by: Joe |
last post by:
I created a CustomAction for this but I don't think I have it in the right
place. I tried both Install and Commit but neither allow it to get to the
final screen.
Are there any examples of this...
|
by: A.Carter |
last post by:
I am developing a windows application with Visual Studio 2003 using C#. The
application is complete so naturally I went to create a setup package. I
added a setup project to the solution and I went...
|
by: Josef Brunner |
last post by:
Hi everybody,
I tried to publich my application to a simple file location. (no online
publishing or anything like that.)
Running the setup that VS generates for me works fine on my machine...
|
by: rkrane99 |
last post by:
Hi,
I am developing a .NET app in C# and I am using the VS 2005 built in
installer. Everything works fine except that when I build the installation
project, it produces 2 files, a .msi and a...
|
by: =?Utf-8?B?eWtmZmM=?= |
last post by:
I try deploying a very simple (very simple indeed) Vb.net application by
following the basic steps according to some tutorials.
My pc runs Visual Studio 2005 and it reports "Build successful"...
|
by: winbala |
last post by:
I am currently working in VB.NET project which is a desktop application with
Access as database. I had made a setup project of my application. I ran the
same in another machine which had Win 2000...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
| |