ficonsulting / ficonsulting/RInno

File not found in run.wsf

Abierto
#42 22 comentarios 0 reacciones 0 asignados Ver en GitHub
bug help wanted irreproducible
Lenguaje dominante
HTML
Estrellas
313
Forks
66
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

After creating an app with `compile_iss` I can't get the `.bat`-file to run. The problem seems to be with the `run.wsf`-script where a file is not found. I get a javascript runtime error on line 25, with code "800A0035" and message "file not found".

![image](https://user-images.githubusercontent.com/8194990/34482404-1385d708-efb8-11e7-9d0a-20e8444f094e.png)

I got the same error message when I tried with the Cran-version of RInno (0.1.2), so this migth not be a specific problem for RInno 0.2.0. It could also be that I have done something else wrong.

The app on itselft runs fine (from RStudio).

Any idea what the issue migth be?

I'm running R-version 3.4.3 on a Windows 7 x64 computer. Script below.

**EDIT:** After checking the `run.js`-script I'm guessing the problem is related to the loading of the registry paths (line 25 tries to open/read `utils/regpaths.json`). There is no such file in my app's `utils`-folder. I found [this](https://github.com/ficonsulting/RInno/issues/23) previous issue, but not sure if it is related to mine. It could of course be a problem with finding the path to Chrome, Firefox etc., but I wonder why the file isn't created in the first place.

My operating system and browser is btw in norwegian. If that could be a problem?

```# Use install_github to get RInno
require(devtools)
devtools::install_github("ficonsulting/RInno", build_vignettes = TRUE, force = TRUE)

# Require Package
require(RInno)

# Use RInno to get Inno Setup
RInno::install_inno()

# Example app included with RInno package
setwd("C:/Users/username/Documents/Test")
example_app(wd = getwd())

# Build an installer
create_app(app_name = "Your appname", app_dir = "app")
compile_iss()```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.