Search found 21 matches

Go to advanced search

by bmt22033
Mon Mar 02, 2015 3:59 pm
Forum: Building Installers
Topic: Launch attached file (.exe) with dependencies
Replies: 5
Views: 7696
 
Jump to post

Re: Launch attached file (.exe) with dependencies


I'm not sure why your EXE custom action does not find the .config file. The file is indeed extracted in the %temp% directory, but it uses a temporary name (i.e. MSI6F1.tmp), however this should not cause any problem.


Ahhhh, that's the problem then. If AI is unpacking my attached .NET .exe using ...
by bmt22033
Mon Mar 02, 2015 2:58 pm
Forum: Building Installers
Topic: Launch attached file (.exe) with dependencies
Replies: 5
Views: 7696
 
Jump to post

Re: Launch attached file (.exe) with dependencies

Hi Eusebiu,

Thanks for the reply. I tried making my .config file a temporary file but when my attached .exe is launched, it doesn't appear to see the .config file. My .exe is a .NET executable which is built against .NET 2.0. The only reason I need the .config file is to tell Windows 8/8.1 that my ...
by bmt22033
Fri Feb 27, 2015 8:29 pm
Forum: Building Installers
Topic: Launch attached file (.exe) with dependencies
Replies: 5
Views: 7696
 
Jump to post

Launch attached file (.exe) with dependencies

I've got an installer that needs to launch a .exe file after my installation is complete. This .exe is *not* part of the files that get installed on the system. I'm using a custom action ("Launch Attached File") and this works well but my .exe has a small config file (myExe.config) that needs to go ...
by bmt22033
Wed Oct 29, 2014 2:06 pm
Forum: Building Installers
Topic: Reading registry values and using them during install
Replies: 3
Views: 3333
 
Jump to post

Re: Reading registry values and using them during install

Thank you, Eusebiu. That's exactly the information I was looking for!
by bmt22033
Tue Oct 28, 2014 12:57 pm
Forum: Building Installers
Topic: Reading registry values and using them during install
Replies: 3
Views: 3333
 
Jump to post

Reading registry values and using them during install

I'm building an installer to deploy a plug-in for a 3rd party application. This application is a 32-bit app and it writes information about its install path to a couple of registry keys. On x86 platforms, these registry keys are located at:

HKLM\Software\CompanyName\ProductName\AppDataPath
HKLM ...
by bmt22033
Fri Jan 10, 2014 3:11 pm
Forum: Building Installers
Topic: Download and unpack a .7z archive as part of install?
Replies: 2
Views: 3739
 
Jump to post

Re: Download and unpack a .7z archive as part of install?

Just a couple of updates to my question:

- I'm using AI 10.8 with an Enterprise license
- The prerequisite that I need to download and install is FFmpeg
- The URL I'll be downloading from is http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-latest-win32-static.7z

- It doesn't appear that AI has ...
by bmt22033
Fri Jan 10, 2014 1:40 am
Forum: Building Installers
Topic: Download and unpack a .7z archive as part of install?
Replies: 2
Views: 3739
 
Jump to post

Download and unpack a .7z archive as part of install?

I have an installer that deploys my code and most of it's dependencies. However, one of my prerequisites has a very strict redistribution license and as such, I need to download and install it manually. This particular prerequisite is actually a 7zip archive (.7z). I know it's possible to download ...
by bmt22033
Mon Aug 19, 2013 6:57 pm
Forum: Building Installers
Topic: NGEN - private install of .NET assembly
Replies: 1
Views: 3452
 
Jump to post

NGEN - private install of .NET assembly

I have a simple .NET application that consists of an EXE file and a couple of DLLs. I'd like to use NGEN to pre-JIT my .exe so I added it under Assemblies and selected the following options:

- Destination: "Private Install To: APPDIR\filename.exe"
- Type: .NET assembly (also, the "Generate native ...
by bmt22033
Fri Aug 16, 2013 4:17 pm
Forum: Building Installers
Topic: Custom action using temporary file?
Replies: 4
Views: 6861
 
Jump to post

Re: Custom action using temporary file?

I think this problem stems from the return code coming back from dpinst. It looks like a non-zero value is what I should be expecting when the driver installs properly but that causes the installer to fail if the "Fail installation if custom action returns an error" checkbox is selected. I'm not ...
by bmt22033
Fri Aug 16, 2013 4:09 pm
Forum: Building Installers
Topic: Custom action using temporary file?
Replies: 4
Views: 6861
 
Jump to post

Re: Custom action using temporary file?

OK, I set the custom actions as follows:

To install the x64 driver:

Set File To Launch as [&dpinst_x64.exe]
Check "Use 64-bit Launcher"
Condition is VersionNT64

To install the x86 driver:

Set File To Launch as [&dpinst_x86.exe]
Condition is VersionNT

When I run the installer (I'm testing on ...
by bmt22033
Thu Aug 15, 2013 4:19 pm
Forum: Building Installers
Topic: Custom action using temporary file?
Replies: 4
Views: 6861
 
Jump to post

Custom action using temporary file?

I am trying to build an installer that deploys a driver using dpinst. My driver package is signed and contains the following files:

dpinst_x86.exe
dpinst_x64.exe
driver.inf
driver.cat
amd64\driver.dll
amd64\driver.sys
x86\driver.dll
x86\driver.sys

Can I add these files to my installer as temporary ...
by bmt22033
Tue Aug 13, 2013 12:21 pm
Forum: Building Installers
Topic: Building installer to deploy x86/x64 drivers
Replies: 6
Views: 8252
 
Jump to post

Re: Building installer to deploy x86/x64 drivers

Eusebiu wrote:Unfortunately, we didn't improve this feature as this was not requested so far.
Please consider this as a request to get this implemented in a future release! ;-) In the meantime, I'll look at splitting my existing INF file into separate x86 and x64 INFs.
by bmt22033
Mon Aug 12, 2013 7:39 pm
Forum: Building Installers
Topic: Building installer to deploy x86/x64 drivers
Replies: 6
Views: 8252
 
Jump to post

Re: Building installer to deploy x86/x64 drivers

I found a post from a couple of years ago which indicates that Advanced Installer only supports separate .INF files for each driver in the Drivers Page. Is it not possible to install a driver for multiple platforms using one INF file?

http://www.advancedinstaller.com/forums/viewtopic.php?f=2&t ...
by bmt22033
Mon Aug 12, 2013 6:37 pm
Forum: Building Installers
Topic: Building installer to deploy x86/x64 drivers
Replies: 6
Views: 8252
 
Jump to post

Building installer to deploy x86/x64 drivers

I need to build an installer that does nothing but deploy a driver (the win32 port of libusb which can be found at http://sourceforge.net/apps/trac/libusb-win32/wiki). The INF file (see below) specifies files for the x86 and x64 platforms. Presumably, the package type will need to be "Mixed 32/64 ...
by bmt22033
Mon May 20, 2013 2:13 pm
Forum: Building Installers
Topic: Setting version number as build event?
Replies: 1
Views: 2437
 
Jump to post

Setting version number as build event?

Is it possible to set all or part of the version number of our installer as a build event? We use a command line tool called SubWCRev.exe (part of TortoiseSVN) to stamp the SVN revision number into the version number of our application assembly and we'd like to do something similar for the installer ...

Go to advanced search