Cache setup source

Got a problem you cannot solve? Try here.
SITL
Posts: 116
Joined: Tue Sep 27, 2016 12:31 am

Cache setup source

Postby SITL » Wed Feb 15, 2017 4:28 am

Dear Francisco,

Thanks for all the support, Great !

I have few Questions.
1. How do specify the directory for caching setup sources ?
We want to keep it in a specified directory, say C:\XYZInstallerCache
2. How to detect the path of Excel.exe ?
Means how to find where excel is installed ?

3. In the Maintenance dialog, We want to Select appropriate Radio button.
( Modify, Remove & Repair)
For example, If the product is installed, we want to select Remove button by default.

Appreciate your help.
Regards
SITL

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Cache setup source

Postby FrancescoT » Thu Feb 16, 2017 9:52 am

Dear SITL,

1- you may use the OVERRIDECACHE pre-defined script variable for that.
https://www.installaware.com/forums/viewtopic.php?f=2&t=10651&p=40781&hilit=OVERRIDECACHE#p40560

2- you should post this question on a Microsoft forum or to have a look at the Excel documentation. I suppose the Excel installer defines some Registry Key on the target machine to keep track of the installed application. However, I am not an Excel expert.

3- please have look at the following link.
https://www.installaware.com/forums/viewtopic.php?f=2&t=10863&hilit=Radio

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

mikKummerfeld
Posts: 252
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany
Contact:

Re: Cache setup source

Postby mikKummerfeld » Mon Feb 20, 2017 12:34 pm

HI SITL,

I already have a Excel find script - I search and post it

Heiko
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant

SITL
Posts: 116
Joined: Tue Sep 27, 2016 12:31 am

Re: Cache setup source

Postby SITL » Tue Feb 21, 2017 5:51 am

Dear Francisco,

Thanks for your help.

Regarding my second question, Excel, I'm using Read Registry key and getting the path, Fine no issues here.
But there is some permission issue, Actually I want to copy a file there :wink: I'm not able to do so.
We have some template.xla file to be copied to the path where MS Excel is installed.

I will try this :)
Very happy for your support.
Regards
SITL

SITL
Posts: 116
Joined: Tue Sep 27, 2016 12:31 am

Re: Cache setup source

Postby SITL » Thu Feb 23, 2017 2:14 am

Dear Francesco,

Thanks for your help.
In Design\User Interface\EULA and Readme we have an option to load the license agreement text from .rtf or .txt file.
I have saved my license agreement from .rtf file, but the problem is some lines were in BOLD, All the bold words are shown as regular text.

How do we display bold characters in licesnse agreement?

Regards
SITL

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Cache setup source

Postby FrancescoT » Thu Feb 23, 2017 11:25 am

Dear SITl,

honestly I don't see that problem...I just imported a RTF document into an IA project.
eula.png
eula.png (41.48 KiB) Viewed 7306 times


Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

SITL
Posts: 116
Joined: Tue Sep 27, 2016 12:31 am

Re: Cache setup source

Postby SITL » Fri Feb 24, 2017 4:38 am

thanks,
I cleared EULA and again loaded from .rtf
it works.

Regards
SITL

SITL
Posts: 116
Joined: Tue Sep 27, 2016 12:31 am

Re: Cache setup source

Postby SITL » Tue Feb 28, 2017 4:18 am

SITL wrote:Dear Francisco,

Thanks for your help.

Regarding my second question, Excel, I'm using Read Registry key and getting the path, Fine no issues here.
But there is some permission issue, Actually I want to copy a file there :wink: I'm not able to do so.
We have some template.xla file to be copied to the path where MS Excel is installed.

I will try this :)
Very happy for your support.
Regards
SITL

Dear Francesco,
I'm NOT able to copy a file to the path where MS Excel is installed.
I have to copy one template file there. Is this allowed ?
Do you have any idea ?
Please share your thoughts.
Thanks.
SITL

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Cache setup source

Postby FrancescoT » Tue Feb 28, 2017 11:53 am

Dear SITL,

you may use the "Set Access Control" to change your target folder permissions.
https://www.installaware.com/forums/viewtopic.php?f=2&t=10724

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

SITL
Posts: 116
Joined: Tue Sep 27, 2016 12:31 am

Re: Cache setup source

Postby SITL » Tue Mar 07, 2017 6:54 am

Dear Francesco,

Thanks for your help.
Hey...I'm surprised to see that Read registry key command returns TRUE or FALSE.
~InstallAware Clipboard Data~
~Read Registry~
~{7BA5D7C2-AFEE-40A8-AED0-F00B29B108B4}~
~INSTALLED_EXCEL|~
~2~
~SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\excel.exe~
~Path~

Is there a way to get the installed path ?

Regards
SITL

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Cache setup source

Postby FrancescoT » Tue Mar 07, 2017 11:21 am

Dear SITL,

I don't have an Excell installation that can be used to test your "Read Registry" call.

However, I just used the following one to get the path of Acrobat Reader v.10 ... and this returns the Path value as expected.

Code: Select all

~InstallAware Clipboard Data~
~Read Registry~
~{506527A3-FCF5-437A-AAB9-F7F8130246EF}~
~ACRO_PATH|~
~2~
~SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AcroRd32.exe~
~Path~
~Set Variable~
~{BE4A979B-FC94-45F8-9CD8-E27DE1EFA869}~
~ACRO_PATH$MYAH$MYAH$FALSE~
~~


NOTE!
By default on a X64 OS, the above code will return the value stored under the "Wow6432Node" of the HKLM\SOFTWARE root.
https://www.installaware.com/forums/viewtopic.php?f=2&t=10339

!!!IMPORTANT!!!
Please start new topics where appropriate, rather than adding new questions to a thread originally started for a different discussion.
Thanks!


Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

SITL
Posts: 116
Joined: Tue Sep 27, 2016 12:31 am

Re: Cache setup source

Postby SITL » Wed Mar 08, 2017 12:47 am

Sorry, I understand !
- SITL


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 54 guests