Search found 27 matches

Go to advanced search

by gallyjh
Fri Nov 11, 2016 10:42 pm
Forum: Common Problems
Topic: Upgrading when versioning system has changed.
Replies: 3
Views: 2105
 
Jump to post

Re: Upgrading when versioning system has changed.

Hi Dan,

This still poses the issue where 6.5.8.1234 (new version) is viewed less than 6.5.1234 (old version). This does not appear to fix that issue, no?
by gallyjh
Fri Nov 11, 2016 4:34 pm
Forum: Common Problems
Topic: Upgrading when versioning system has changed.
Replies: 3
Views: 2105
 
Jump to post

Upgrading when versioning system has changed.

Hi, Recently ran into an issue where we were on a versioning system where we only used the first 3 octets for versioning. For example 6.5.1234. We've now changed that system to utilize the 4th octet and so now I versioning looks like 6.5.8.1234. The problem now is that when trying to upgrade 6.5.123...
by gallyjh
Tue Sep 16, 2014 8:43 pm
Forum: Common Problems
Topic: Capture the version you are upgrading from
Replies: 1
Views: 1542
 
Jump to post

Capture the version you are upgrading from

Hi,

Is there a way to capture the version of the software you are upgrading from? I'd like to pass this as a variable to a custom action script.

Thanks!
by gallyjh
Mon Sep 15, 2014 4:35 pm
Forum: Common Problems
Topic: Script not running after files are installed to the system
Replies: 7
Views: 4631
 
Jump to post

Re: Script not running after files are installed to the syst

Nevermind, I figured it out. I followed what this guy posted:

http://www.advancedinstaller.com/forums ... =2&t=12009

For future reference, basically 'Action Data:' is copied in as a string to the

Code: Select all

Session.Property("CustomActionData")
by gallyjh
Mon Sep 15, 2014 3:55 pm
Forum: Common Problems
Topic: Script not running after files are installed to the system
Replies: 7
Views: 4631
 
Jump to post

Re: Script not running after files are installed to the syst

Hi Dan,

I went through the article you posted. It seems to show a c# example, do you have any sample project that would show how to do this with a VBS script file? Thanks.
by gallyjh
Mon Sep 15, 2014 3:49 pm
Forum: Common Problems
Topic: Script not running after files are installed to the system
Replies: 7
Views: 4631
 
Jump to post

Re: Script not running after files are installed to the syst

Hi Dan, Thanks for the feedback. I'll try that along with the CusomActionData, as I need the install path variable. But don't you think that's counter-intuitive about what the options make you think they will do? If I have a custom action after the 'Add Resources' stage, as a user, I would automatic...
by gallyjh
Mon Sep 15, 2014 3:32 pm
Forum: Common Problems
Topic: Script not running after files are installed to the system
Replies: 7
Views: 4631
 
Jump to post

Re: Script not running after files are installed to the syst

Unfortunately, this still hasn't fixed the issue.
by gallyjh
Mon Sep 15, 2014 3:28 pm
Forum: Common Problems
Topic: Script not running after files are installed to the system
Replies: 7
Views: 4631
 
Jump to post

Re: Script not running after files are installed to the syst

Going to try upgrading from 10.9.1 to the 11.4.1 in hopes that may be it fix my issue. Will report back.
by gallyjh
Fri Sep 12, 2014 6:24 pm
Forum: Common Problems
Topic: Script not running after files are installed to the system
Replies: 7
Views: 4631
 
Jump to post

Re: Script not running after files are installed to the syst

So I thought I'd add a timer to the script to make it check every second for 2 minutes to see if the file exists and then run the script: i = 0 Const MAX_ITER = 120 Do Until i > MAX_ITER If fso.FileExists(scriptFile) Then '<RUNNING MY COMMAND> Exit Do Else i = i + 1 REM Don't use wscript.sleep as Ad...
by gallyjh
Fri Sep 12, 2014 5:45 pm
Forum: Common Problems
Topic: Script not running after files are installed to the system
Replies: 7
Views: 4631
 
Jump to post

Script not running after files are installed to the system

I have a custom action that is a vbs script. In this script i use the Session Property to get the APPDIR variable, and it requires a file that is installed to be ran. Thus I need this script to run after the files have been placed on the system. I placed the script here: http://i.imgur.com/JtqD0f0.j...
by gallyjh
Thu Aug 14, 2014 4:41 pm
Forum: Building Installers
Topic: Installing Prerequisites of a suite application.
Replies: 3
Views: 4066
 
Jump to post

Re: Installing Prerequisites of a suite application.

So I got it working. My problem was that prereq's where in the feature-based folder. I moved them to Pre-install folder instead, and that seems to have fixed it. I guess my next question for you Dave, is there a way to show some indicator to the user that prereq's are being installed, otherwise the ...
by gallyjh
Wed Aug 13, 2014 7:09 pm
Forum: Building Installers
Topic: Starting a Windows service via VBscript
Replies: 6
Views: 5540
 
Jump to post

Re: Starting a Windows service via VBscript

Hi Eusebiu,

I think I did try this route as well. But I think there was an issue with timing and sequence. For example I needed the MongoDB service to be started for my Application Service to be started, and it doesn't seem you can choose your sequence.
by gallyjh
Wed Aug 13, 2014 7:03 pm
Forum: Building Installers
Topic: Installing Prerequisites of a suite application.
Replies: 3
Views: 4066
 
Jump to post

Installing Prerequisites of a suite application.

Hi, I'm currently using AI to build Application A and Application B. Application A and Application B have their own prerequisites like MongoDB, etc that are silently installed. When I run Application A installer normally (using the UI), everything installs fine including their prerequisites. I then ...
by gallyjh
Tue Aug 12, 2014 9:26 pm
Forum: Building Installers
Topic: Starting a Windows service via VBscript
Replies: 6
Views: 5540
 
Jump to post

Re: Starting a Windows service via VBscript

Alright, hopefully last follow-up. I replaced the Wscript.Sleep 30000 with:

Code: Select all

Dim dteWait
dteWait = DateAdd("s", 10, Now())
Do Until (Now() > dteWait)
Loop
and I have no MsgBox's for interaction. This seems to be working...
by gallyjh
Tue Aug 12, 2014 9:12 pm
Forum: Building Installers
Topic: Starting a Windows service via VBscript
Replies: 6
Views: 5540
 
Jump to post

Re: Starting a Windows service via VBscript

OK, nevermind, once I removed some 'PAUSE' statements it stopped working again. I'm not sure what's going on here. So I threw the previous statements back into VBS, and added MsgBox just before the statements where it starts the service, and guess what? It worked! Once I removed the MsgBox, it stopp...

Go to advanced search