We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Search found 20 matches

Go to advanced search

by markphip
Sat Jul 25, 2015 6:51 pm
Forum: Common Problems
Topic: disk1.cab Problem
Replies: 4
Views: 11271
 
Jump to post

Re: disk1.cab Problem

I am using 11.8 and I have this problem. I think it has to do with using a sha2 certificate. I suspect there is some hotfix needed since the installer works on Win2K8 and Win7. It fails on Win2K3.

I made a trivial example that shows the problem. This was just a new installer with a few files added ...
by markphip
Fri Jan 23, 2015 3:37 pm
Forum: Common Problems
Topic: Problem building signed installer via script
Replies: 2
Views: 3707
 
Jump to post

Re: Problem building signed installer via script

Daniel,

Thanks. I sent you the aip file in a zip.

Mark
by markphip
Wed Jan 21, 2015 10:04 pm
Forum: Common Problems
Topic: Problem building signed installer via script
Replies: 2
Views: 3707
 
Jump to post

Problem building signed installer via script

I've been using version 7.7 for a long time and just recently am upgrading to the very latest version. I have updated my setup.aip to latest version and I can successfully build it via the GUI and it all works fine.

I have a build script I have used for years that packages my app and builds the ...
by markphip
Wed Nov 10, 2010 10:18 pm
Forum: Common Problems
Topic: How does Upgrade work?
Replies: 1
Views: 6980
 
Jump to post

How does Upgrade work?

I have an app that I currently distribute using AI installer. However, the application downloads and updates itself over the internet using custom technology we developed. A handful of customers need to run the software on servers not connected to the Internet. So I would like to enable the ability ...
by markphip
Wed Nov 10, 2010 10:15 pm
Forum: Common Problems
Topic: Check if program is on PATH
Replies: 1
Views: 7416
 
Jump to post

Check if program is on PATH

I am installing a service that relies on java.exe being on PATH, which it normally is if the Sun/Oracle JVM is installed. I already check the registry for the version and set the JAVA_HOME environment variable based on what I find if it is not already set. However, on a handful of installations ...
by markphip
Fri Jun 04, 2010 1:28 pm
Forum: Common Problems
Topic: Changing APPDIR via command line
Replies: 7
Views: 7306
 
Jump to post

Re: Changing APPDIR via command line


This is not a bug. There is no way for us to know the file has moved. We can not tell that a file that has disappeared from a folder and has reappeared in another is one and the same.


I think it is an exaggeration to say there is "no way" to know what the user intends here. If I add a ...
by markphip
Thu Jun 03, 2010 8:01 pm
Forum: Common Problems
Topic: Batch files run from 64-bit installer use 32-bit cmd.exe
Replies: 9
Views: 16864
 
Jump to post

Re: Batch files run from 64-bit installer use 32-bit cmd.exe

I solved the problem by passing JAVA_HOME property into my script so that it does not need to access the java in System and is therefore not subject to the redirection.

Before doing this, I tried to use VBScript to run the batch file. I wrote a script that worked fine when I tested it, but whenever ...
by markphip
Thu Jun 03, 2010 7:58 pm
Forum: Common Problems
Topic: Cannot create service
Replies: 4
Views: 6135
 
Jump to post

Re: Cannot create service

Thanks for the suggestion, but I do not want to introduce the risk of having another piece to test and maintain. Ideally, I would like to see a future release that opened up the ability to create services so that the main program did not have to be a file that was installed.

Mark
by markphip
Thu Jun 03, 2010 7:26 pm
Forum: Common Problems
Topic: Changing APPDIR via command line
Replies: 7
Views: 7306
 
Jump to post

Re: Changing APPDIR via command line

Following up on this issue.

The previous suggestion that I thought worked did not work quite as well as I realized. The problem is that any files from Synched folders that are referenced in the installer do not get pointed to the new location when I reset. IOW, imagine I have an EXE that I am ...
by markphip
Wed Jun 02, 2010 4:20 pm
Forum: Common Problems
Topic: Batch files run from 64-bit installer use 32-bit cmd.exe
Replies: 9
Views: 16864
 
Jump to post

Re: Batch files run from 64-bit installer use 32-bit cmd.exe


Indeed the problem is caused because the fact that "viewer.exe" from our application is a 32 bits file. The only solution you have is to create new custom action (exe or DLL) of 64 bits
that will launch your batch file.

This way the files will always run as 64 bits ones, without being redirected ...
by markphip
Wed Jun 02, 2010 2:47 pm
Forum: Common Problems
Topic: Batch files run from 64-bit installer use 32-bit cmd.exe
Replies: 9
Views: 16864
 
Jump to post

Re: Batch files run from 64-bit installer use 32-bit cmd.exe

Hi Mark,

This is correct, it doesn't matter on which OS (32 or 64 bits) you are running Advanced Installer to create a 64 bit package, the package should be correctly
created on all machines.

If the package is a 64 bit one then the custom action should be launched as a 64 bit process and not get ...
by markphip
Wed Jun 02, 2010 1:28 pm
Forum: Common Problems
Topic: Batch files run from 64-bit installer use 32-bit cmd.exe
Replies: 9
Views: 16864
 
Jump to post

Re: Batch files run from 64-bit installer use 32-bit cmd.exe


When you run a batch file from a custom action, it uses viewer.exe. I believe the problem is that this is a 32-bit application and launches a 32-bit cmd.exe.

I should add that I am running AdvancedInstaller on a 32-bit Windows machine. Nothing in the documentation states it needs to be run from ...
by markphip
Wed Jun 02, 2010 1:27 pm
Forum: Common Problems
Topic: Cannot create service
Replies: 4
Views: 6135
 
Jump to post

Re: Cannot create service


You can do the following:
- create a new java product from Advanced Installer for your jar
- set the application type to "Console" or "Win32 Service", try them both to see which one works
- on the Virtual Machine tab, click the "..." button to the right of the JVM Parameters field and tick the ...
by markphip
Wed Jun 02, 2010 1:22 pm
Forum: Common Problems
Topic: Batch files run from 64-bit installer use 32-bit cmd.exe
Replies: 9
Views: 16864
 
Jump to post

Re: Batch files run from 64-bit installer use 32-bit cmd.exe


Please make sure the following are true:
- your package is marked as 64bit from the Install Parameters page
- your custom action is marked as 64bit if applicable.


Yes it is a 64-bit package.

The action has the 64-bit option grayed out. I believe this only controls whether or not it runs though ...
by markphip
Tue Jun 01, 2010 8:47 pm
Forum: Common Problems
Topic: Cannot create service
Replies: 4
Views: 6135
 
Jump to post

Cannot create service

I have a java app that runs as a Windows service via the "Yet Another Java Service Wrapper" (YAJSW) product. I cannot create this service using the Services feature because the program that is defined to the service is "java", and this is not a file from my app. The UI does not seem to allow you to ...

Go to advanced search