RInno icon indicating copy to clipboard operation
RInno copied to clipboard

Unsupported 16-bit application?

Open RicPorteousNSWIS opened this issue 5 years ago • 10 comments

I'm trying to run install_inno() - during the set up phase I get an error message

...\AppData\Local\Temp\Rtmp4INzrb\github.com is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.

Has any one else experience this?

RicPorteousNSWIS avatar Feb 01 '19 08:02 RicPorteousNSWIS

Yes. I've encountered the same error when running RInno::install_inno().

System: Windows 10 x64, R v3.5.2

fdaugs avatar Feb 03 '19 14:02 fdaugs

@fdaugs - did you managed to overcome this in the end? I'm a little bit stuck here.

RicPorteousNSWIS avatar Feb 03 '19 21:02 RicPorteousNSWIS

I managed to get it working by using installr to install Inno first. After that you can skip running RInno::install_inno().

# Install Inno Setup
install.packages('installr')
require(installr)
install.inno(quick_start_pack = TRUE) # I'm not sure wether the quick start pack is required, but I installed it anyway...

# ... Follow the installation process ...

# Install RInno from CRAN
install.packages("RInno")
require(RInno)

# Run the example app
example_app(app_dir = "app") 
create_app(app_name = "myapp", app_dir = "app")
compile_iss()

fdaugs avatar Feb 03 '19 22:02 fdaugs

I'm working on a package right now and had the same issue. It turned out that utils::download.file() needed the additional argument mode = "wb"

If someone has time to test and setup a PR, Your relevant lines: https://github.com/ficonsulting/RInno/blob/df87985b85218a61029fc4e44136da3f3a8f5484/R/install_inno.R#L44

But it would have to be changed in the installR package: https://github.com/talgalili/installr/blob/56c51a8350ed7cfba2b52868db1dee0fb0bc17bd/R/install.inno.R#L52

Relevant discussion: https://github.com/HenrikBengtsson/Wishlist-for-R/issues/30

chasemc avatar Feb 09 '19 14:02 chasemc

@Dripdrop12 I still had to bypass and hack around this step as I'm on a deadline. I think it's on the RInno side as Installr now works (https://github.com/talgalili/installr/issues/125), but Rinno is pulling from github. I was also getting a temp download file Temp\Rtmp4INzrb\github.com... I don't see the the .exe on the Inno github and think that the download script below should be adjusted:

https://github.com/ficonsulting/RInno/blob/df87985b85218a61029fc4e44136da3f3a8f5484/R/install_inno.R#L31-L42

chasemc avatar Feb 16 '19 15:02 chasemc

I am sorry if my question is irrelevant to this post. For using created Shiny app on desktop, is it possible to use the app offline?

NinaOmani avatar Feb 19 '19 17:02 NinaOmani

It is caused by the change of installer filename. The download script should be adjusted as follows.

stringr::str_extract("/jrsoftware.*innosetup-qsp-[1-9]\\.[0-9]+\\.[0-9]+.exe") 

CinnamonJP avatar Mar 28 '19 23:03 CinnamonJP

That worked for me. Because of 64bit windows, I had to do: install.packages("installr") require(installr) install.inno()

Whatever version of Inno it installs, in my RInno create_app function, I needed to set privilege = "admin" as "high" would throw an error.

petbadger avatar May 07 '19 03:05 petbadger

Hello, I'm a newbee in learning R, am trying to install RInno on my machine so I can test shiny with a local server setting. Followed petbadger and fdaugs (my PC is Windows 10 64-bit), packages have been installed OK, but when I enter after "compile_iss(), I get error message "The system cannot find the file specified". Anyone experiencing same? Any advice is welcome! Attaching error message and what are in "app" folder. compile_iss_cannotfindfile appdrive_content

nkconroy avatar Sep 28 '19 17:09 nkconroy

I had the same issue and I downgraded R to match the version of RInno. In my case I had R 4.0 running and I downgraded it to R 3.6. It seems to be working better.

joe-chelladurai avatar Jul 17 '20 22:07 joe-chelladurai