Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

VB HomeMade Installer:


  • Please log in to reply

#1
zak052000

zak052000

    New Member

  • Member
  • Pip
  • 1 posts
OK, searched many a site and read many answers but still no real answer.

The scenario I have relates to an ini file, I want to only install the ini file if it doesnt already exist. Now this sounds simple to me but can I find the answer ... NO.

I have created a test scenario as follows:

a) 2 Files added to solution
b) File 1 (ini) - Condition = 'NOT Installed' & Transitive = True
c) File 2 - Condition is empty, Transitive = True

When I run the initial install both files are created - OK
When I uninstall both files are removed - OK

Now, here is where my problem lies (either by my testing or by my development):

If I create 2 files of the same name in the target directory and run the install - NEITHER file is replaced.

I want the ini file (file 1) left alone and File 2 replaced.

HELP THIS NOOB PLEASE.

Dave
  • 0

Advertisements







Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP